Key Takeaways
- Amazon FBA sellers pay an average of 34.2% of revenue in platform fees, fulfillment costs, and storage before touching product cost.
- Sellers who exclude return processing costs overstate gross margin by an average of 4 to 7 percentage points, costing thousands annually on a $500K revenue business.
- True ecommerce margin requires subtracting COGS, platform fees, payment processing, shipping, returns, ad spend, and chargebacks from gross revenue, then dividing by gross revenue.
- Tool: Run your ecommerce profit margin numbers now →
Stop Overpaying on Business TaxesSPONSORED
FreshBooks tracks every deductible expense automatically so you never miss a write-off.
Why Most Ecommerce Margin Calculations Are Wrong
The standard formula, gross revenue minus cost of goods divided by gross revenue, tells you almost nothing useful. It tells you what you made before the platform took its cut, before Stripe or PayPal collected their fee, before a customer returned a $90 item you can no longer resell, and before you spent $1,200 on Google Shopping ads to acquire those sales in the first place.
Sellers running at a reported 45% gross margin discover, after a proper accounting, that true net margin sits closer to 11%. That delta is not a rounding error. On $600,000 in annual revenue, it represents $204,000 in costs that were never tracked against the margin calculation.
The correct approach requires a complete fee stack model. Every cost that exists because a sale happened must appear in the margin formula.
The Complete Fee Stack for Ecommerce
Before calculating anything, you need to identify every cost category. Miss one and your margin figure is fiction.
Cost of Goods Sold (COGS)
This includes product cost, inbound freight, import duties, and any quality inspection fees. A product landed at $18.40 is not the same as a product manufactured at $14.00. Use the landed cost, not the factory price.
Platform and Marketplace Fees
Every channel charges differently.
- Amazon: Referral fees range from 6% to 45% depending on category. The average across most consumer goods categories sits at 15%. FBA fulfillment fees for a standard product weighing under 1 lb run $3.22 per unit as of 2025. Storage fees add $0.78 per cubic foot monthly, spiking to $2.40 from October through December.
- Shopify: Base plan costs $79/month. Payment processing via Shopify Payments charges 2.6% plus $0.10 per transaction. Third-party gateway users pay an additional 1% surcharge on top of gateway fees.
- eBay: Final value fees average 12.9% plus $0.30 per order for most categories.
- Etsy: Charges a 6.5% transaction fee plus a $0.20 listing fee per item plus 3% plus $0.25 for payment processing.
Payment Processing Fees
If you sell direct-to-consumer through your own store, Stripe charges 2.9% plus $0.30 per transaction. PayPal charges 3.49% plus $0.49 for standard checkout. On a $75 average order value, the difference between processors adds up to over $600 annually per 1,000 transactions.
Shipping and Fulfillment
Include both outbound shipping and any packaging material costs. If you offer free shipping, the full carrier cost hits your margin. USPS Ground Advantage for a 1 lb package averages $7.18. UPS Ground for the same package runs $9.44. Neither figure includes dimensional weight adjustments, which apply to packages exceeding a density threshold and can increase billed weight by 30 to 60%.
Returns and Refunds
Calculate your return rate by category, not as a blended average. Apparel return rates average 24.4% in ecommerce. Electronics average 11.2%. For every return, model three costs: the refund amount, the return shipping label cost, and the restocking or disposal cost. A product that originally sold for $65 with a $22 landed cost and a 22% return rate loses $6.82 per unit sold just in return-related costs.
Customer Acquisition Cost and Ad Spend
If you run paid ads, attribute that spend to the revenue it generates. A $4,800 monthly Google Ads budget producing $28,000 in ad-attributed revenue adds a 17.1% cost layer to every dollar of that revenue. Blending ad-attributed and organic revenue into a single margin calculation distorts both figures. Segment them.
Chargebacks and Payment Disputes
Chargeback rates above 0.9% trigger Visa and Mastercard monitoring programs with additional fees. Even at a modest 0.4% rate, a $500,000 revenue business loses $2,000 in disputed transactions annually, plus chargeback processing fees averaging $20 per dispute.
Worked Example 1: Amazon FBA Seller
A seller moves 800 units per month of a kitchen product priced at $34.99.
Gross Revenue: 800 x $34.99 = $27,992/month
Cost Stack:
- Landed COGS at $8.40/unit: $6,720
- Amazon referral fee at 15%: $4,199
- FBA fulfillment fee at $3.22/unit: $2,576
- FBA storage (2 cubic feet per unit, $0.78/cu ft): $1,248
- Return processing (8% return rate, $5.50/return): $352
- Sponsored Products ad spend (14% ACoS on $27,992): $3,919
- Inbound shipping to FBA: $480
Total Costs: $19,494
True Net Profit: $27,992 minus $19,494 = $8,498
True Net Margin: $8,498 / $27,992 = 30.4%
A seller tracking only COGS and referral fees would report a margin of 67.4%. The actual margin is 30.4%. The gap represents $10,264 in monthly costs that do not appear in a basic margin calculation.
Worked Example 2: Shopify DTC Brand
A direct-to-consumer brand sells a skincare product at $58.00 with an average monthly revenue of $41,600 (approximately 717 orders).
Cost Stack:
- Landed COGS at $11.20/unit: $8,030
- Shopify Payments at 2.6% + $0.10: $1,154
- Outbound shipping (free shipping offered, avg $6.80/order): $4,876
- Meta Ads (blended CAC of $18.40, 40% of orders ad-driven): $5,271
- Returns at 9.2% return rate, $7.50 processing cost per return: $495
- Shopify plan fee (prorated monthly): $79
- Chargeback losses at 0.3%: $125
Total Costs: $20,030
True Net Profit: $41,600 minus $20,030 = $21,570
True Net Margin: $21,570 / $41,600 = 51.8%
Without paid ad attribution and accurate shipping costs, this seller might report a margin above 70%. The correct figure is 51.8%. That distinction matters for any decision about pricing, scaling ad spend, or evaluating the business for sale.
The Correct Formula
True Ecommerce Profit Margin = (Gross Revenue minus COGS minus Platform Fees minus Payment Processing minus Shipping minus Returns minus Ad Spend minus Chargebacks) / Gross Revenue x 100
Apply this at the SKU level, not just at the account level. A product with a 48% true margin and a product with a 9% true margin can blend into a reported 28% average. Selling more of the 9% product while reducing inventory of the 48% product will destroy profitability while revenue grows. SKU-level margin analysis prevents that outcome.
Common Errors That Inflate Reported Margin
Using net revenue instead of gross revenue as the denominator. Some sellers subtract refunds from the top line before calculating margin. This masks the real cost of returns.
Excluding platform subscription fees. A $39.99 Amazon Professional Seller account fee, $79 Shopify plan, or $299 BigCommerce plan belongs in the cost structure. Small individually, but real costs at scale.
Ignoring dimensional weight pricing. Carriers bill on the greater of actual weight or dimensional weight. A lightweight but bulky product in a 12x10x8 inch box has a DIM weight of 5.33 lbs using UPS's 139 divisor. If the product weighs 1.2 lbs, you pay for 5.33 lbs.
Amortizing annual costs incorrectly. Annual software subscriptions, photography costs, and product compliance testing all belong in a per-unit cost model, divided by the number of units sold over the period those costs cover.
What a Correct Margin Model Enables
Accurate margin calculation does three things a revenue figure alone cannot.
First, it identifies which SKUs are consuming capital without producing returns. Cutting or repricing one underperforming product can reallocate margin equivalent to launching an entirely new product line.
Second, it sets a defensible floor for pricing decisions. A seller who knows true margin is 31.2% can evaluate a 10% price reduction as a 32% reduction in profit, not a 10% reduction. That framing changes the decision.
Third, it produces a credible number for business valuation. Ecommerce businesses sell at 2.5 to 4.5x annual net profit in today's acquisition market. A business reporting $180,000 in profit based on an inflated margin calculation may discover, under buyer due diligence, that actual profit is $94,000. That difference translates to a $387,000 gap in valuation at a 3.5x multiple.
Run the Numbers for Your Own Store
The calculations above require accurate inputs for every cost category. If any single line item is estimated or excluded, the output margin figure will not hold up under scrutiny.
The CalcMoney profit margin calculator accepts all the cost variables covered in this post and produces a true net margin figure at the SKU and store level. Use the actual fee rates from your platform dashboards, not category averages, and run the calculation against your last 90 days of data for the most reliable baseline.
You Might Also Like
- How to Calculate Gross Profit Margin (With Real Examples)
- Net Profit Margin: The One Number That Tells You If Your Business Is Actually Working
- How to Calculate Break-Even Point: The Formula 78% of Small Businesses Get Wrong
Put These Numbers to Work
Open a Fidelity brokerage account. $0 commissions, no account minimums, fractional shares available.
Run the Numbers →Related Guides
Free Tools
Run the actual numbers
Stop estimating. Plug in your numbers and get a precise answer in seconds. Free, no signup required.
Open Free Calculators


