- There is no single good margin for every store: a good margin is one that pays for the costs below it and leaves the net profit you need.
- Judge four layers: gross margin after product costs, contribution margin after fulfillment, fees and marketing, operating margin after overheads, and net margin after interest and tax.
- Work backwards from the net margin you want: add your tax, overhead, marketing and fulfillment shares to find the gross margin you need.
- Published ecommerce averages mix different definitions and business models; compare yourself with your own past months and with primary data that states its method.
- Most margin gains come from product cost, pricing, product mix, fulfillment and ad efficiency, in that order of size for many stores.
A good profit margin for an online store is one that covers every layer of cost below it and still leaves the net profit you need to reinvest and carry risk. That is why no single percentage is right for every store. A dropshipping store with no staff and a brand with its own warehouse can both be healthy at very different gross margins, because their costs further down differ. The useful question is not "is 50% good?" but "is my gross margin high enough to pay for my fulfillment, my ads and my overheads, and leave a net margin I am happy with?"
This guide shows how to calculate each margin for your own store, how to judge it by working backwards from the net margin you want, which factors move each one, and how to improve them.
The four margins to know
| Margin | Formula | What it tells you |
|---|---|---|
| Gross margin | (revenue − product costs) ÷ revenue | Whether your prices are high enough against what the goods cost you |
| Contribution margin | (revenue − product costs − fulfillment, fees − marketing) ÷ revenue | Whether each sale, including the ads that brought it, adds money toward fixed costs |
| Operating margin | operating profit ÷ revenue: contribution minus overheads such as staff, rent and software | Whether the business as it runs today makes money |
| Net margin | net profit ÷ revenue: after interest, depreciation and income tax | What the owners keep from each dollar of revenue |
Each margin is a share of the same revenue, so each one is lower than the one above it. The gaps between them show where the money goes. Gross, operating and net profit goes deeper into the differences, and contribution margin vs gross margin explains the first two.
Calculate your own margins: a worked example
Here is one month of an example store. Take the same lines from your own books or your profit tool.
| Line | Amount | Margin |
|---|---|---|
| Revenue (without tax, after refunds) | $80,000 | 100% |
| Product costs (COGS) | −$30,400 | |
| Gross profit | $49,600 | 62.0% gross margin |
| Shipping, packaging, handling and payment fees | −$11,600 | |
| Ad spend and other marketing | −$20,000 | |
| Contribution | $18,000 | 22.5% contribution margin |
| Staff, software, rent and other overheads | −$11,200 | |
| Operating profit | $6,800 | 8.5% operating margin |
| Interest and income tax | −$1,700 | |
| Net profit | $5,100 | 6.4% net margin |
The line after fulfillment and fees, $47.50 of every $100 here, is what ROASaurus calls gross profit: it already takes off shipping, payment fees and handling. Your break-even ROAS comes from it: 1 ÷ 0.475 = 2.11.
How to judge whether your margin is good
Judge each margin by what it has to pay for. Start from the net margin you want, then add the share of revenue each cost layer takes. The total is the gross margin your products need.
- Target net margin
- What you want to keep, as a share of revenue. Pick it for your goals: reinvestment, a buffer for bad months, the owner's return.
- The other shares
- Each cost layer as a share of revenue, from your last three to six months.
Example store, target 10% net: 10% + 2.1% + 14.0% + 25.0% + 14.5% = 65.6%. The store has 62.0%, so it is 3.6 points short.
Now you know what a good gross margin means for this store: 65.6% or more at today's costs. You also know where the gap can close. It could come from 2 points less product cost, 1 point less marketing and 0.6 points less fulfillment, or from higher prices. The same check works for each layer:
- Gross margin is good when it covers fulfillment, marketing, overheads, tax and your target net margin together.
- Contribution margin is good when it is clearly larger than your overheads as a share of revenue. If it is smaller, the store loses money on every month of normal trading.
- Operating margin is good when it is positive in normal months and big enough to absorb a slow month or a write-off.
- Net margin is good when it meets the target you set, after interest and tax, and leaves cash to reinvest.
What published margin benchmarks can and cannot tell you
Many articles list average ecommerce margins by niche. Treat them with care. They rarely say what they subtract: some gross margins are after product costs only, some after shipping too. Their samples are often small or come from the tool's own customers. And they mix business models that work very differently.
Primary data that states its method is more useful as a rough reference. The margin dataset of Aswath Damodaran at NYU Stern, updated in January 2026, lists US listed companies by sector. For the general retail sector it shows a gross margin of about 33% and a net margin of about 5.6%; for specialty retail, about 35% and 5.2%. These are large companies with physical stores and their own definitions, not webshops, so use them only as a sense of scale: even large retailers keep a single-digit share of revenue as net profit. Your own history is the better benchmark. Compare each margin with the same month last year and with the average of your last six months.
How the business model shapes the margins
| Model | Gross margin | Costs below it | What to watch |
|---|---|---|---|
| Own brand, own stock | Usually high | Stock, warehouse or 3PL, ads, staff | Dead stock, cash tied up in inventory |
| Dropshipping | Usually lower | Ads take a large share; few fixed costs | Ad cost per order, refunds, supplier price changes |
| Reselling other brands | Lower, set by the brand's price | Fulfillment and ads; price competition | Price wars with other resellers |
| Print on demand | Lower per item | Base cost includes printing and shipping | Ad cost against a thin margin |
| Digital products | Very high | Mostly ads, platform fees and support | Refunds and copying |
For the dropshipping case in full, see dropshipping profit margin. If you are choosing what to sell, high-margin products applies the same checks per product.
Markup vs margin
Retail pricing often uses markup: how much you add on top of the cost. Margin is the share of the price you keep. They are easy to confuse, and the confusion costs money.
A product that costs $20 and sells for $30 has a 50% markup ($10 on $20) but a 33.3% margin ($10 of $30).
| Markup on cost | 50% | 100% | 150% | 200% | 300% |
|---|---|---|---|---|---|
| Gross margin | 33.3% | 50.0% | 60.0% | 66.7% | 75.0% |
What moves your margins
Gross margin
- Product cost and supplier pricing. The single largest cost for most stores. Larger orders, a second supplier quote and lower inbound freight all move it.
- Pricing. Prices set from cost plus a habit, or lowered by default discounts, leave margin on the table. See pricing strategies.
- Product mix. The same revenue from higher-margin products gives a higher store margin. Watch what you promote, not only what you stock.
Contribution margin
- Fulfillment, shipping and returns. Heavy products, small orders and high return rates eat margin per order.
- Ad spend and acquisition cost. The largest variable cost after the goods for most stores that buy traffic.
- Small percentage fees. Payment fees, marketplace and app fees per order, currency conversion. Each one looks small and together they can take several points.
Operating and net margin
- Fixed costs. Staff, rent and software set a floor every month. They decide how much revenue you need before you make any profit at all.
- Scalability. A cost base that grows slower than revenue raises operating margin as you grow; one that grows with every new order does not.
- Interest and taxes. Financing and income tax shape the last line. A business with expensive debt can have a healthy operating margin and a thin net margin.
How to improve each margin
| Margin | Levers | Example effect |
|---|---|---|
| Gross | Renegotiate product costs, raise prices where demand allows, stop default discounts, promote higher-margin products | 2 points less product cost on $80,000 revenue adds $1,600 a month |
| Contribution | Raise average order value with bundles and thresholds, cut ad spend that earns less than break-even, lower shipping per order, reduce returns | Moving $2,000 of ad spend from a losing campaign to a profitable one |
| Operating | Cut overheads that do not drive revenue, automate repeated work, review software | A software audit that removes $600 a month |
| Net | Refinance expensive debt, plan taxes with your accountant | Lower interest on a stock loan |
Improve in order of size: product cost and pricing first, then ad efficiency, then fulfillment, then overheads. A seasonal plan, such as Christmas marketing or the choice of Christmas products, should be checked against the same layers before the season starts.
When a falling ROAS is still profitable
A margin view also prevents the opposite mistake: cutting ads that still make money. Picture a store whose ROAS fell from 8.0 to 4.5 over a year. It looks like a collapse, and the owner wants to cut the budget. But with 47.5% left after product costs, fulfillment and fees, its break-even ROAS is 2.11. At 4.5, each $1 of ads brings $4.50 of revenue and $2.14 of gross profit, so $1.14 of profit after the ad. Cutting $5,000 of spend would remove about $22,500 of revenue and about $5,690 of profit after ads, if the cut spend performed like the average. Check the marginal return of the last part of the budget before you decide; see marginal analysis and what is a good ROAS.
How to track your margins
A margin is only as good as the costs behind it. A spreadsheet works if you fill it in every month with every cost: product costs per item, shipping per order, payment fees, ad spend from each platform, overheads, interest and tax. Most stores miss the small lines, and the margin looks better than it is. Whatever you use, track it monthly at least, per layer, and per product for gross and contribution margin. The guide to Shopify accounting covers the bookkeeping side, and the profit margin benchmarks report has reference data.
In ROASaurus, Profit › Overview shows each layer for the period you pick: revenue, gross profit with its gross margin, contribution margin with the share of revenue spent on ads and marketing, EBITDA with CM1 and CM2, and net profit with its net margin, next to blended ROAS, break-even ROAS and POAS. The numbers come from your orders, refunds, product costs, shipping rules and payment fees, synced ad spend and the fixed costs you add. Profit insights then marks each area as healthy, review or warning:

See profit analytics for how each layer is built, contribution margin in the glossary, or run your own numbers in the contribution margin calculator.
Sources
In ROASaurus
- Profit analytics in ROASaurus
- Contribution margin calculator
- Break-even ROAS calculator
- POAS calculator