E-commerce Profit Calculator

Revenue Is Not Profit — Five Line Items Stand Between Them

A sale that looks profitable on the invoice can quietly lose money once every cost is accounted for. Online sellers routinely underestimate how much payment processing fees, packaging and shipping, and paid acquisition together eat into a sale — often more than the product cost itself. This calculator forces all five cost categories onto the table at once, so the real profit (or loss) on a sale is never a surprise.

The Formula

Profit = Revenue − COGS − Fees − Shipping − Ad Spend
Profit Margin = (Profit ÷ Revenue) × 100

COGS is the cost of goods sold — what the product itself cost to make or source. Fees covers payment processing and marketplace commissions. Shipping and ad spend are entered separately so each can be tracked and optimized on its own.

Where This Matters

  • Pricing decisions — before setting or changing a price, sellers need to see how much of each dollar actually survives to the bottom line.
  • Channel comparison — the same product sold through a marketplace, a paid ad campaign, and organic traffic can have wildly different profit margins once fees and ad spend are factored in separately.
  • Spotting loss leaders — a product can have healthy revenue and still lose money after shipping and advertising costs; this calculator surfaces that immediately instead of after the books close.

Same $50 Sale, Three Cost Structures

Profit and margin on a $50 sale under different cost scenarios
COGSFeesShippingAd SpendProfitMargin
$15.00$2.50$4.00$8.00$20.5041.00%
$20.00$3.00$5.00$10.00$12.0024.00%
$25.00$3.50$6.00$12.00$3.507.00%

All figures computed directly from the calculator's own formula on a fixed $50 revenue base — note how margin compresses sharply as ad spend rises relative to price.

How to Use This Calculator

  1. Enter Total Revenue for the sale or period.
  2. Enter Cost of Goods Sold (COGS).
  3. Enter Payment/Platform Fees.
  4. Enter Shipping Cost.
  5. Enter Ad Spend.
  6. Select Calculate to see profit, profit margin, and status (profit, loss, or break-even).

Related Calculations

Track the underlying per-unit economics with the Product Margin Calculator, or find the sales volume needed to cover fixed costs with the Break-Even Sales Calculator.

Principles of E-Commerce Unit Economics and Net Profit Modeling

An e-commerce profit calculator models the unit economics, net operating margins, and contribution profit for Direct-to-Consumer (DTC) brands and marketplace sellers (Amazon FBA, Shopify, Walmart, Etsy). In digital retail finance, analyzing gross margins against payment gateway fees, marketplace referral cuts, customer acquisition ad spend (CAC), shipping fulfillment, and return allowances reveals true bottom-line profitability.

The Comprehensive E-Commerce Unit Economics Waterfall

Gross Merchandise Value (GMV) / Retail Price ($)
- Less: Promotional Discounts & Coupons
= Net Sales Revenue
- Less: Landed Product Cost of Goods Sold (COGS)
- Less: Merchant Payment Gateway Fees (e.g., Stripe 2.9% + $0.30)
- Less: Marketplace Referral Commission (e.g., Amazon 15%)
- Less: Pick, Pack & Ship Fulfillment Cost (FBA / 3PL)
- Less: Blended Customer Acquisition Ad Spend (CAC / Blended ROAS)
- Less: Return & Refund Loss Allowance (e.g., 5% to 15% of sales)
= Net Contribution Profit per Unit ($)

Contribution Margin (CM %) and Breakeven ROAS

Contribution Margin (%) = [ Net Contribution Profit ($) / Retail Price ($) ] × 100%
Breakeven ROAS = 1 / [ Gross Margin % before Ad Spend ]

Step-by-Step Worked Calculation Example

Example: Unit Economics for an Amazon FBA Private Label Product

Problem: An e-commerce seller retails a consumer product on Amazon for $50.00. Cost breakdown: (1) Landed manufacturing COGS = $12.00; (2) Amazon Referral Commission = 15.0% of retail price ($7.50); (3) Amazon FBA Pick/Pack/Weight fee = $5.50; (4) Paid advertising (PPC) ad spend per unit sold = $10.00; (5) Return rate is 6.0% (unsellable return loss cost = $1.50 per unit). Calculate: (1) Total unit cost; (2) Net profit per unit; (3) Net Profit Margin %; and (4) Monthly net profit across 1,500 units sold.

Step 1: Sum all unit variable costs:

COGS = $12.00

Amazon 15% Referral = $7.50

FBA Fulfillment = $5.50

Advertising Ad Spend = $10.00

Return Provision = $1.50

Total Variable Cost = 12.00 + 7.50 + 5.50 + 10.00 + 1.50 = $36.50 per unit

Step 2: Calculate Net Profit per Unit:

Net Profit = $50.00 Retail Price - $36.50 Total Cost = $13.50 per unit

Step 3: Calculate Net Profit Margin %:

Profit Margin = ( $13.50 / $50.00 ) × 100% = 27.00%

Step 4: Compute Monthly Bottom-Line Net Profit for 1,500 units:

Monthly Profit = 1,500 units × $13.50 / unit = $20,250.00 / month

Conclusion: The product delivers a healthy 27.0% net margin generating $20,250 monthly net profit.

Customer Lifetime Value (LTV) to CAC Health Ratios

DTC subscription and repeat consumable brands benchmark financial scalability using the LTV:CAC Ratio: healthy e-commerce businesses maintain LTV:CAC ≥ 3.0 with a CAC payback period under 6 to 9 months.

Advertising Cost of Sales (ACoS) vs. Total ACoS (TACoS)

Marketplace e-commerce sellers on Amazon and Walmart track advertising efficiency across two vital metrics:

  • ACoS (Advertising Cost of Sales): Directly measures PPC ad campaign efficiency:
    ACoS (%) = [ Ad Spend ($) / Direct Ad-Attributed Revenue ($) ] × 100%
  • TACoS (Total Advertising Cost of Sales — True Brand Health): Measures ad spend against TOTAL revenue (including organic sales driven by boosted keyword ranking):
    TACoS (%) = [ Total Ad Spend ($) / Total Brand Revenue ($) ] × 100%
    A declining TACoS (< 10% to 15%) proves that paid advertising is successfully lifting organic search velocity and customer repeat purchases.

Chargeback Fees and Payment Fraud Reserves

Online merchants must allocate 1.0% to 2.0% of gross transaction revenue toward payment gateway fraud reserves, chargeback dispute defense fees ($15 to $25 per unreturned customer dispute), and friendly fraud mitigation.

Cash Conversion Cycle (CCC) in E-Commerce Finance

The working capital health of an e-commerce brand is measured by the Cash Conversion Cycle (CCC):

Cash Conversion Cycle (Days) = Days Inventory Outstanding (DIO) + Days Sales Outstanding (DSO) - Days Payable Outstanding (DPO)

DTC brands with fast credit card payment capture (DSO ≈ 2 days), tight inventory turns (DIO ≈ 45 days), and favorable 60-day supplier payment terms (DPO = 60 days) achieve a negative Cash Conversion Cycle (-13 days), funding exponential business growth entirely through supplier working capital.

Subscription Churn Rate and Recurring MRR Economics

DTC subscription brands evaluate recurring business value through Monthly Recurring Revenue (MRR) and Monthly Churn Rate:

Customer Lifetime (Months) = 1 / Monthly Churn Rate

Reducing monthly subscriber churn from 8% down to 4% doubles customer lifetime and doubles total enterprise valuation.

Post-Purchase Upsells and Average Order Value (AOV) Expansion

Integrating one-click post-purchase checkout upsells and bundle discounts increases Average Order Value (AOV) by 15% to 25%, allowing e-commerce brands to absorb higher customer acquisition ad costs while expanding bottom-line net profit margins.

Affiliate Marketing Commission Structuring

E-commerce brands leverage performance-based affiliate partner networks, paying 8% to 15% revenue commissions strictly upon verified sales delivery, eliminating upfront advertising capital risk.

Dynamic Pricing Algorithms

Automated algorithmic repricers adjust marketplace product pricing in real time based on competitor stock levels and Buy Box winning percentages, maximizing gross profit margins.