How to Calculate Profit Margin
The profit margin formula looks simple on paper -- subtract cost from revenue, divide by revenue, multiply by 100 -- but the number of sellers who accidentally divide by cost instead of revenue and end up with markup is staggering. We built this calculator after watching the same question surface hundreds of times across seller forums: "I thought my margin was 40% but my accountant says it is 28.6%." That gap is almost always the margin-versus-markup mixup, and it silently eats into pricing strategies for months before anyone catches it.
Profit Margin Formula vs Markup Formula
Here is the honest math that trips up even experienced sellers. Margin and markup both start from the same profit number but express it against different bases. Sell a candle for $25 that cost you $10 to make and your profit is $15 either way. Divide that $15 by the $25 selling price and you get 60% margin. Divide the same $15 by the $10 cost and you get 150% markup. Neither number is wrong -- they answer different questions. Margin tells you what fraction of every revenue dollar is profit, and it is the number your accountant cares about. Markup tells you how much you added on top of cost, and it is the number you use when setting prices on a spreadsheet. Mixing them up on a single product costs you a few dollars, but mixing them up across an entire catalog can quietly compress margins by 10-15 points before anyone notices the books look off.
Average Profit Margins by Industry
Asking "is my margin good?" without industry context is like asking if running a mile in eight minutes is fast -- the answer depends entirely on who you are racing against. Aswath Damodaran at NYU Stern publishes sector-level profitability data every January and the latest update (January 2026) puts software and SaaS companies at roughly 25.5% net margin, which makes sense given their near-zero marginal cost per user. Restaurants come in around 9.4%, general retail at 5.6%, and construction sits near 5.9%. The discount calculator can help you model how promotional pricing eats into those thin retail margins, and our platform fee comparison shows exactly how much each payment processor takes before your profit margin even starts. If you are managing employee costs alongside product margins, the overtime calculator helps you factor labor expenses into the equation.
Margin vs Markup Conversion Table
| Margin | Markup | Cost $60 → Sell at | Profit |
|---|---|---|---|
| 10% | 11.1% | $66.67 | $6.67 |
| 20% | 25.0% | $75.00 | $15.00 |
| 30% | 42.9% | $85.71 | $25.71 |
| 40% | 66.7% | $100.00 | $40.00 |
| 50% | 100.0% | $120.00 | $60.00 |
Industry margin data from NYU Stern / Aswath Damodaran, updated January 2026. Covers publicly traded US firms.