Enter revenue & COGS
Your total sales and the direct cost of the goods you sold. These two lines give your gross profit and gross margin.
All three P&L margins stacked in one view, with markup conversion — any currency.
Updated Reviewed by Sajid Hussain· Editor
A profit margin calculator is a free tool that converts your P&L numbers — revenue, cost of goods, operating expenses, and other costs — into the three margins that matter: gross, operating, and net. Most free tools compute only the gross line and lock you into one currency. This one stacks all three in one view, converts markup to margin inline, and works in any currency — so you can see exactly where money leaks between the top line and the bottom line.
Three margins, three questions. Gross margin asks "do my products make money?" — revenue minus the cost of the goods, over revenue. Operating margin asks "does the business make money once overheads are paid?" — it removes salaries, software, rent, ads, and fees from gross profit. Net margin asks "what do I actually keep?" — it takes out everything else, including tax and interest. By definition the three step down in order: gross ≥ operating ≥ net. Seeing them together shows whether a profit problem lives in your pricing (gross), your overheads (operating), or below the line (net).
Markup vs margin — they're not the same. Markup is profit as a percentage of cost; margin is profit as a percentage of price. A product that costs 50 and sells for 100 has a 100% markup but only a 50% margin. Quote the wrong one to a supplier or a partner and the math falls apart. This calculator shows the markup-on-cost equivalent of your gross line right next to the margin, so the two are never confused.
Margin analysis, not pricing. Enter what already happened — your actual revenue, COGS, operating expenses, and below-the-line costs — and read back where the profit leaks. To work forwards from a cost to a price that hits a target margin, use our Selling Price Calculator instead. The two are complementary: one explains your results, the other sets your prices.
Sales tax / VAT correctly excluded. You collect those from the buyer and remit them to the government — they were never your money and they aren't a cost. Including them distorts every margin. Income tax, however, is a real cost and belongs in the "taxes, interest & other" line that steps you from operating profit to net.
Quick facts
Four short steps — paste your numbers, read the full margin stack.
Your total sales and the direct cost of the goods you sold. These two lines give your gross profit and gross margin.
Salaries, software, rent, ads, marketplace fees. Subtracting these from gross profit gives your operating profit and margin.
Income tax, interest, depreciation, one-offs. The last subtraction gives your true net profit and net margin.
See gross ≥ operating ≥ net side by side, the markup-on-cost equivalent, and a verdict on whether your net margin is thin, healthy, or strong.
Steps to use the Profit Margin Calculator: Enter revenue & COGS, Add operating expenses, Add taxes & other costs, Read the stack.
No black boxes — every margin and the markup conversion, in plain algebra.
Revenue minus the cost of the goods sold, as a percentage of revenue. Measures product-level profitability before any overhead. If revenue is 0 the margin is reported as 0 (you can't divide by nothing).
Takes overheads — salaries, rent, software, ads, fees — out of gross profit. This is the profit from running the core business, before tax and interest. Always sits between gross and net.
The bottom line: everything below the operating line removed. This is what you actually keep, as a percentage of revenue. By construction, net ≤ operating ≤ gross.
The gross profit expressed as a percentage of COST instead of price. A cost of 50 sold for 100 is a 100% markup but a 50% margin. If COGS is 0 (a pure-service business) markup is reported as 0.
The exact conversion between the two, in fractions. A 100% markup (1.0) is a 1 ÷ (1 + 1) = 50% margin. A 50% margin (0.5) needs a 0.5 ÷ (1 − 0.5) = 100% markup. The calculator does this so you never quote the wrong number.
Watch the three margins step down as each layer of cost comes off.
Scenario
A store does $100,000.00 in sales. The goods cost $55,000.00, overheads run $25,000.00, and tax plus interest come to $6,000.00. What are the three margins?
Revenue $100,000.00 − COGS $55,000.00 = $45,000.00 gross profit. As a share of revenue that's $45,000.00 ÷ $100,000.00 = 45% gross margin.
Gross profit $45,000.00 · margin 45%
Take out operating expenses: $45,000.00 − $25,000.00 = $20,000.00 operating profit. That's $20,000.00 ÷ $100,000.00 = 20% operating margin.
Operating profit $20,000.00 · margin 20%
Take out tax and interest: $20,000.00 − $6,000.00 = $14,000.00 net profit. That's $14,000.00 ÷ $100,000.00 = 14% net margin — the true bottom line.
Net profit $14,000.00 · margin 14%
The gross line is a 45% margin — but expressed on cost it's $45,000.00 ÷ $55,000.00 = 82% markup. Same profit, different base. Never quote one when you mean the other.
45% margin = 82% markup
The takeaway
The 45%→20%→14% cascade shows overheads as the bigger drain (−25 pts vs −6 pts below-the-line), and confirms 45% gross margin equals 82% markup on cost.
Rough bands by line. Net margins are thinner than people expect — much of the gross margin is eaten by overheads and ads.
| Metric | Poor | Average | Good | Excellent |
|---|---|---|---|---|
Net profit margin TrueProfit Ecommerce Benchmark Report 2026 | < 5% | 5–10% | 10–20% | 20%+ |
Operating margin Eightx SEC 10-K Ecommerce KPI Report 2026 | < 8% | 8–15% | 15–25% | 25%+ |
Gross profit margin TrueProfit 5,000-Store Analysis 2026 | < 30% | 30–45% | 45–60% | 60%+ |
Markup on cost (gross) Derived from gross margin bands above | < 43% | 43–82% | 82–150% | 150%+ |
Opex as % of revenue Eightx Ecommerce Margin Report 2026 | > 35% | 25–35% | 15–25% | < 15% |
Generic head-term tools do the gross line only and assume a single currency. We stack all three margins, convert markup, and work in any currency.
| Feature | Calcrux | Omni Calculator | Spreadsheet |
|---|---|---|---|
| Gross, operating AND net margin | Gross only | Manual | |
| Markup ↔ margin conversion | Rare / confused | Manual | |
| Profit AND margin % for each line | One or the other | Manual | |
| Ecommerce benchmark bands | |||
| Loss-making / thin-margin warnings | Manual | ||
| Sales tax / VAT correctly excluded | Often included wrongly | Manual | |
| Works in any currency | Mostly single-currency | ||
| Free, no signup | Most |
Why it matters
A 50% markup is only a 33% margin; a 50% margin needs a 100% markup. Quoting one when you mean the other over- or under-states profitability badly, and trips up supplier and partner conversations.
Fix
Use the markup-on-cost output next to the gross margin. We compute both from the same figures so they always reconcile.
Why it matters
A healthy 50% gross margin can become a 3% net margin once ads, salaries, fees, and tax come off. Celebrating the gross number hides whether the business actually makes money.
Fix
Read the full stack — gross, operating, net. The drop between them shows exactly which cost layer is eating your profit.
Why it matters
You collect VAT/GST/sales tax from the buyer and remit it — it was never your money. Including it on either side inflates the numbers and distorts every margin.
Fix
Enter revenue NET of sales tax, and don't list collected tax as a cost. (Income tax is different — that's a real cost and goes in the "other" line.)
Why it matters
Lumping salaries or office rent into cost of goods sold deflates your gross margin and makes the gross-to-operating step meaningless — you can't tell a pricing problem from an overhead problem.
Fix
Keep COGS to direct, per-unit product costs. Salaries, rent, software, and ads belong in operating expenses.
Why it matters
Loan interest, income tax, and depreciation sit below operating profit. Ignoring them makes your "net" margin actually an operating margin — optimistic by several points.
Fix
Use the "taxes, interest & other" line so the net figure is genuinely the bottom line.
Why it matters
A 5% net margin is normal for grocery but alarming for software. Judging your ecommerce store against a SaaS benchmark leads to the wrong conclusions.
Fix
Compare against the ecommerce bands shown here, and track your own margin trend over time rather than chasing a foreign benchmark.
A wide gap between gross and net margin means overheads are heavy. A narrow gap with a low gross margin means it's a pricing or sourcing problem. The shape tells you where to act.
If gross margin is fine but net is thin, cutting COGS won't help — attack opex or ads. Always work on the layer where the margin actually drops.
Judge the business on net margin, but when talking to suppliers translate to markup. The calculator gives you both so you're never caught out.
A single period's margin means little. Run this monthly and watch the direction — a falling net margin at flat revenue means costs are creeping.
A net margin under 5% has almost no cushion. A spike in returns or ad costs can flip it negative, so build a buffer into pricing.
This explains the results you already have. To set prices that hit a target margin after marketplace fees, use the Selling Price Calculator first.
The Profit Margin Calculator works across every stage of the workflow.
Drop in revenue, COGS, opex, and other costs to see all three margins and spot whether profit is slipping at the gross, operating, or net line.
Quote gross, operating, and net margin correctly — and the markup equivalent — so the unit economics hold up under scrutiny.
Convert your target margin into the markup you need on cost, so you know exactly what landed cost keeps you profitable.
Compare your margins against the ecommerce bands to judge whether a category is worth entering before committing inventory.
A healthy gross margin but negative net tells you the problem is overheads, not pricing — the stack points straight to the culprit.
Show a teammate why a 100% markup is only a 50% margin, with their own numbers, so the confusion never costs you again.
Every important term you'll encounter in this calculator and the broader topic.
Everything you need to know about how the Profit Margin Calculator works.
Profit margin = profit ÷ revenue × 100. Gross margin removes only COGS; operating margin also removes overheads (salaries, ads, rent); net margin removes everything, including tax and interest. This calculator computes all three at once so you see how each cost layer reduces margin from the top line to the bottom.
They strip out costs in stages. Gross margin removes only COGS. Operating margin also removes overheads (salaries, rent, software, ads). Net margin removes everything, including tax and interest — what you actually keep. By design they always step down in order: gross ≥ operating ≥ net.
Markup is profit as a % of COST; margin is a % of PRICE. Same profit, different base — never the same number. A cost of 50 sold for 100 = 100% markup but only 50% margin. The conversion: margin = markup ÷ (1 + markup). This calculator shows both side by side so you never quote the wrong one.
Use the identities: margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin), both as fractions. A 100% markup = 50% margin; a 50% margin needs a 100% markup. The calculator does this automatically from your revenue and COGS, so you never need the algebra.
5–10% net margin is the typical ecommerce range; under 5% is razor-thin, 10–20% is healthy, and 20%+ is strong. Gross margins run higher — 30–45% average, 45–60% good — because ads and overheads eat most of the spread. What counts as "good" varies by category, so track your own trend over time rather than chasing one number.
No. Sales tax, VAT, and GST are collected from the buyer and remitted to the government — that money was never yours, so it is neither revenue nor a cost. Including it on either side distorts every margin. Enter your revenue net of sales tax and do not list collected tax as a cost. Income tax is different: it is a genuine cost of being profitable, so it belongs in the "taxes, interest and other" line that takes you from operating profit to net profit.
Because gross margin only deducts COGS. Everything in between — salaries, rent, software, ads, fees, tax, interest — reduces it to net. A 50% gross margin can shrink to a single-digit net margin. A wide gross-to-net gap = heavy overheads; a low gross margin = pricing or sourcing problem.
COGS = direct per-unit cost: goods, freight, packaging, fulfilment. Operating expenses = business overhead regardless of volume: salaries, rent, ads, fees. Keep them separate — mixing overheads into COGS deflates gross margin and hides whether a profit problem is in pricing or overhead.
Yes. If your costs exceed your revenue, the net profit shows as negative and the net margin as a negative percentage, and the tool flags whether the loss is at the gross line (selling below cost) or below it (overheads). If you leave revenue at zero, every margin is reported as 0% rather than an error — you can't divide by zero — and a warning reminds you to enter your sales. No input ever produces a NaN or infinite result.
Yes. The calculator is currency-agnostic. All your monetary inputs — revenue, COGS, operating expenses, other costs — are read in your own currency, and the margins, profit figures, and markup are universal ratios that don't depend on the currency at all. Outputs and any money in the warnings are formatted in your region's currency automatically, so it works the same whichever currency you sell in.
It is a margin analysis tool. You enter what already happened — your actual revenue and costs — and it reads back your gross, operating, and net margins so you can see where profit leaks. If you instead want to work forwards from a cost to the price that hits a target margin (with marketplace and payment fees grossed up), use our Selling Price Calculator. The two are complementary: one explains your results, the other sets your prices.
They are essentially the same thing. Operating profit is also called EBIT — Earnings Before Interest and Taxes — so the operating margin in this calculator is the EBIT margin: gross profit minus operating expenses, divided by revenue. The next line down, net margin, is what you get after interest and taxes are also removed. If you only have an operating-profit figure and no below-the-line costs, leave the "taxes, interest and other" field at zero and the net margin will equal the operating margin.
Keep exploring
Pick your channel, set your target margin — get the exact price that nets it after real marketplace fees.
Calculate your true Amazon FBA profit, margin, and ROI in seconds.
Your GMROI, the ~3.2 retail benchmark verdict, and both levers that move it.
Inventory turnover, DSI, and supply weeks — with a benchmark verdict.
Category
Ecommerce Seller Operations
Subcategory
financial profitability
Availability
Global · 9 markets
Price
Free forever
Topics
Calculators, simulators, and decision tools for every stage of business operations.
Results update in real time as you type — no submit needed.
Your numbers
Results
Results appear as you type
No submit button needed
Decision lab
Knowing your net margin is 14% is only half the job. See what it would take to reach a healthier margin, how the numbers hold up if sales dip or costs rise, and which line on your P&L actually moves the bottom line.
Enter your revenue and costs above to unlock the decision tools
Why trust this calculator
Last updated
June 17, 2026
Coverage
9 markets · 8 currencies
Privacy
Calculated in-browser · no data stored
Pricing
Free forever · no sign-up
Your honest feedback shapes what we build next. Takes 30 seconds, fully anonymous — we don't ask for your name or email.