Store P&L · Free calculator

Ecommerce Net Margin Calculator

Stack COGS, fulfillment, marketplace fees, ad spend, returns, and overhead into one net margin figure for your store — with the price increase needed to hit target margin.

Short answer

Ecommerce Net Margin Calculator

18.57 : 1Net margin

Contribution margin is 48.0% ($20,160), and ads plus overhead consume $12,360 of it. You are $1,500 above your 15% target. Break-even revenue at these ratios is $16,000 a month.

How it's calculated: $42,000 revenue → $7,800 net profit (18.6%). Adjust the inputs below to recalculate for your own numbers.

Disclaimer: Educational estimate only — not financial or tax advice. Marketplace fee schedules, ad costs, shipping rates, and payment processing percentages change and vary by country, category, and seller plan. Verify current fees with the platform before pricing your products.

New here? Watch it work in 2 seconds — then tweak it for you.
$42,000
32%
11%
6%
18%
5%
$4,800
15%
Try it like this

Tap a scenario to load realistic numbers, then tweak the sliders.

Formula used

Ecommerce net margin

Gross margin flatters ecommerce because it ignores fulfillment, fees, returns, and acquisition. Contribution margin is the honest per-order number; net margin is the one that pays you. Most stores that feel busy but broke have healthy gross margin and negative net margin once ads and overhead land.

Net margin = (revenue − COGS − fulfillment − fees − returns − ads − overhead) ÷ revenue; contribution margin excludes ads and overhead
Median DTC net margin
5–12%
Healthy contribution margin
> 50%
Apparel return rate
15–30%
Use this elsewhere

Embed or cite it

Backlink-friendly embed

Embed this calculator

Free to embed on any site. Inputs preserved, link back to RevenueLab. Each format trades polish for SEO juice.

<script async src="https://www.revenuelab.fyi/embed.js"
  data-calculator="ecommerce-net-margin-calculator"
  data-title="Ecommerce Net Margin Calculator"
  data-query="revenue=42000&cogsPct=32&fulfillPct=11&feePct=6&adPct=18&returnPct=5&overhead=4800&targetMargin=15"></script>

Recommended — auto-resizes to fit, no scrollbars, and drops a crawlable link in your page.

Cite this calculator

Writing about this topic? Grab a citation — every link helps keep these tools free.

APA
RevenueLab. (2026). Ecommerce Net Margin Calculator. Retrieved from https://www.revenuelab.fyi/ecommerce-net-margin-calculator
HTML
<p>Source: <a href="https://www.revenuelab.fyi/ecommerce-net-margin-calculator" target="_blank" rel="noopener">Ecommerce Net Margin Calculator — RevenueLab</a> (2026).</p>
Markdown
Source: [Ecommerce Net Margin Calculator — RevenueLab](https://www.revenuelab.fyi/ecommerce-net-margin-calculator) (2026).

Worked example: a $42k/month Shopify brand

Revenue is $42,000. COGS at 32% is $13,440, fulfillment and shipping at 11% is $4,620, payment and platform fees at 6% is $2,520, and returns at 5% cost about $1,260 in unrecoverable product and shipping. Contribution margin is $20,160 — 48% of revenue. Then $7,560 of ads (18%) and $4,800 of overhead land on top, leaving $7,800 of net profit: an 18.6% net margin. Break-even revenue is roughly $16,000 a month, so the store has real headroom. Cut the ad ratio to 12% and net margin jumps past 20% — but only if revenue holds, which is the trade every DTC operator is actually making.

  • Contribution margin under 40% means ads and overhead have almost nowhere to live; fix pricing or COGS before scaling spend.
  • Returns are modeled at 60% recoverable here — you usually get the product back but lose both legs of shipping and some resale value.
  • Fixed overhead is the number founders underestimate: apps, 3PL minimums, contractors, and software creep 10–15% a year.

Gross vs contribution vs net margin

Gross margin is revenue minus COGS only — useful for comparing products, useless for judging a business. Contribution margin subtracts every variable cost of delivering the order (fulfillment, fees, returns) and tells you what each incremental sale contributes toward ads and fixed costs. Net margin subtracts those too. Investors and acquirers underwrite ecommerce on contribution margin first, because it shows whether the unit economics can ever support paid growth.

The three levers, ranked by impact

For most stores a 5% price increase adds more net profit than a 5% COGS reduction, because price flows straight to the bottom line while COGS savings are diluted by the other cost lines. The ranking is usually: (1) price and AOV, (2) ad efficiency, (3) COGS and freight. Run the target-margin input above to see the exact price lift your store needs — most operators are surprised that a 3–4% increase closes the gap.

  • AOV increases via bundles or free-shipping thresholds improve margin without touching unit prices.
  • Ad efficiency is the most volatile lever — do not build a plan that requires it to improve.
  • Renegotiate freight and 3PL rates annually; both drifted 20%+ between 2023 and 2026.

FAQ

What is a good net profit margin for ecommerce?

Median DTC brands run 5–12% net. Above 15% is strong, and 20%+ usually means either high-margin products (supplements, jewelry, digital-adjacent goods) or very efficient organic acquisition. Marketplace-heavy sellers typically run lower because referral and fulfillment fees stack.

What is the difference between contribution margin and net margin?

Contribution margin subtracts only variable per-order costs — COGS, fulfillment, fees, and returns. Net margin also subtracts ad spend and fixed overhead. Contribution margin tells you whether the unit economics work; net margin tells you whether the business does.

How do I account for returns in margin math?

Model them as a percentage of revenue where you recover most of the product but lose both shipping legs, restocking labor, and some resale value — roughly 50–70% of the order value is unrecoverable. Apparel at a 20% return rate can cost 6–8 points of net margin on its own.

Why is my store profitable on paper but out of cash?

Almost always inventory timing. Net margin is an accrual figure; cash is consumed by inventory purchased months before it sells, plus payment processor holds. Track cash conversion cycle alongside net margin.

How much should ad spend be as a percentage of revenue?

Established brands typically hold 10–20% of revenue in paid media. Above 25% you are usually buying growth rather than profit, which is only rational if repeat purchase rates make first-order losses recoverable.

How this calculator is built

Independently maintained

Written by Sam Doshi and the RevenueLab editorial team. We don't sell the data feeds this tool is built on.

Sourced from primary data

Benchmarks come from public AdSense / Stripe / IRS disclosures and reader-submitted data — never third-party "$X per view" claims. Full methodology.

Last editorial review

Reviewed on a rolling quarterly cycle. Dated reviews are published on the methodology record for each calculator.

Editorial standards

See our editorial policy and disclaimer. Results are estimates, not advice.

Helpful?