What is an ecommerce profit margin calculator?
An ecommerce profit margin calculator turns the price of a product and its real costs into the only numbers that matter for a store: how much money you actually keep on each order, and what percentage of revenue that represents. The calculator above takes six inputs — selling price, product cost (COGS), shipping, payment and platform fees, ad spend per order, and your returns rate — and instantly returns your net profit per order, net margin %, gross profit, returns-adjusted profit, and the maximum you can spend on ads before an order stops being profitable. No spreadsheet, no signup, no waiting.
Most new founders track revenue and feel good when it climbs. But revenue is vanity; margin is sanity. A store doing $50,000 a month at a 4% net margin keeps $2,000 — less than a store doing $20,000 a month at an 18% margin. This tool exists to keep your attention on the second number.
The profit margin formula, explained
The math is simple once you separate the two layers of cost: the cost of making the sale and the cost of finding the customer.
Gross profit = Selling price − COGS − Shipping − (Selling price × Fee %). This is what's left after the direct cost of delivering one unit, including the cut your payment processor and platform take.
Net profit = Gross profit − Ad spend per order. Marketing is the cost of acquiring the customer, so it comes out after gross profit to reveal what the order is truly worth.
Net margin % = (Net profit ÷ Selling price) × 100. This is the headline percentage — your profit expressed as a share of revenue, which is what lets you compare a $19 product against a $200 one on equal footing.
Two extra figures make the picture honest. Your break-even ad spend simply equals your gross profit — spend more than that to win an order and you lose money on it. And your returns-adjusted profit reduces net profit by your returns rate, because returned orders still cost you acquisition and shipping while returning little or no revenue.
A worked example
Take the default numbers in the calculator: a $39.99 product that costs you $14 to source, $4 to ship, with 3% in payment and platform fees, $8 of ad spend per order, and a 5% returns rate.
- Fees = $39.99 × 3% = $1.20.
- Gross profit = $39.99 − $14 − $4 − $1.20 = $20.79.
- Net profit = $20.79 − $8.00 = $12.79 per order.
- Net margin = $12.79 ÷ $39.99 = 32.0%.
- Returns-adjusted profit = $12.79 × (1 − 0.05) = $12.15.
- Break-even ad spend = $20.79 — you could spend up to that per order and still not lose money.
That 32% net margin is strong. But watch what happens if ad costs rise: at $18 of ad spend per order instead of $8, net profit falls to $2.79 and margin collapses to about 7%. The single biggest lever on most stores' profitability isn't price — it's the cost of acquiring each customer.
Benchmarks — what is normal?
A healthy ecommerce net profit margin is generally 10–20%, with top operators clearing 20% or more. According to Onramp Funds' 2025 benchmark study, the average ecommerce net margin sits near 10%, while the best-performing stores reach 20%+. Margins vary sharply by channel: TrueProfit, analyzing thousands of stores, reports direct-to-consumer brands running roughly 15–25% net versus 8–15% for Amazon FBA sellers after fees. Skilled dropshippers tend to land in that 15–25% range because they carry no inventory.
On the gross side, most healthy stores need a gross margin of 50–75%; TrueProfit puts a “good” ecommerce gross margin at 60–70%, and notes that below 50% it becomes hard to fund ads and overhead and still profit. Order size matters too: the global average order value sits around $150 as of late 2025 per Speed Commerce, and a higher AOV gives you more gross profit to spend on acquisition before an order goes underwater.
These are reference points, not laws. A $19 impulse-buy product and a $400 considered purchase live in different worlds. Use the benchmarks to sanity-check your own number, not to panic if you're outside the band.
How to improve your profit margin
There are only four levers, and the calculator lets you test each one in seconds:
- Lower acquisition cost. This is usually the biggest lever. Better creative, tighter targeting, email and SMS flows, and repeat purchases all pull ad spend per order down and flow straight to net profit.
- Raise average order value. Bundles, upsells, and free-shipping thresholds spread one ad cost across more revenue, which lifts margin without raising prices.
- Cut COGS and shipping. Negotiate supplier pricing at volume, source closer to customers, or move to flat or regional shipping rates.
- Reduce returns. Accurate photos, detailed sizing, and honest copy lower your returns rate — and as the returns-adjusted figure shows, every avoided return is near-pure profit.
Price is the fifth lever, but use it carefully: a small price increase drops straight to the bottom line, yet it can also cut conversion. Test it, and watch net margin rather than revenue.
Assumptions this calculator makes
To stay simple and instant, the tool models per-order economics and treats fees as a flat percentage of the selling price. It does not include fixed monthly costs (software subscriptions, salaries, rent) or per-order pick-and-pack labor unless you fold those into your shipping or COGS inputs. The returns-adjusted figure is a conservative estimate that assumes a returned order yields no net revenue. For a full operating model, pair this with a complete plan.
Ecommerce profit margin FAQ
What is a good profit margin for an ecommerce store?
A healthy ecommerce net profit margin is roughly 10–20%, with the best operators clearing 20% or more. Skilled dropshippers often run 15–25% net because they hold no inventory, while marketplace sellers paying platform fees tend to land lower at 5–15%. Below 10% net you have very little room to absorb a bad ad week, a price increase from a supplier, or a spike in returns.
How do I calculate net profit per order?
Start with your selling price, then subtract product cost (COGS), shipping cost, and payment plus platform fees (a percentage of the price). That gives gross profit. Subtract your ad spend per order from gross profit and you have net profit per order. The calculator above does this live as you type so you can test different prices and ad budgets instantly.
What is the difference between gross margin and net margin?
Gross margin is what's left after the direct cost of selling the product — COGS, shipping, and transaction fees. Net margin goes further and subtracts the cost of acquiring the customer (ad spend) and other operating costs. Gross margin tells you if the product can make money; net margin tells you if the business does.
How much can I spend on ads per order and still break even?
Your break-even ad spend equals your gross profit per order — the money left after COGS, shipping, and fees but before marketing. Spend exactly that amount and you net zero on the order; spend less and you keep the difference as profit. The calculator shows this figure as 'Max ad spend to break even' so you know your ceiling before you launch a campaign.
Should I include returns when calculating profit?
Yes. Returns quietly erode margin because you often eat the shipping both ways, can't always resell the item, and still paid to acquire the customer. The calculator estimates a returns-adjusted profit by reducing your net profit by your returns rate, which is a simple, conservative way to see your true blended profit across all orders.
Why is my ecommerce profit margin so low?
The two most common culprits are a high cost of customer acquisition (ad spend eating most of your gross profit) and thin gross margins from underpricing or expensive sourcing. Watch the gross-profit and break-even-ad-spend figures in the calculator: if your ad spend per order is close to your gross profit, your net margin will be near zero no matter how much revenue you push.
Once the numbers work, keep going: build the full picture with the ecommerce business plan generator, pick a profitable category with the niche finder, and brush up on the underlying terms in the profit margin and customer acquisition cost glossary entries.