How to Calculate Profit Margins Correctly
Profit margin and markup get confused constantly — and mixing them up leads to pricing mistakes that quietly eat into profitability. This guide covers the actual formulas, the gross-vs-net distinction, and the margin-vs-markup mix-up that trips up more business owners than any other pricing concept.
The Profit Margin Formula
Margin is expressed as a percentage of your selling price, not your cost — this distinction is exactly where markup confusion starts.
Gross Margin vs. Net Margin
These answer different questions:
- Gross margin — revenue minus only the direct cost of producing the good or service (cost of goods sold). Shows production efficiency.
- Net margin — revenue minus all expenses: production cost, operating costs, taxes, interest, overhead. Shows what you actually keep.
A business can have a healthy gross margin and a thin (or negative) net margin if overhead and operating costs are high — gross margin alone doesn't tell the full profitability story.
Worked Example
Product sells for: $100
Cost of goods: $60
Gross Margin = (100 − 60) ÷ 100 × 100 = 40%
40 cents of every dollar in revenue is gross profit, before accounting for overhead, marketing, and other operating costs.
Margin vs. Markup: The Mistake That Costs Money
This is where a lot of pricing goes wrong. Markup is profit as a percentage of cost, not selling price:
| Metric | Formula base | Same $100 sale / $60 cost |
|---|---|---|
| Margin | ÷ Revenue | 40% |
| Markup | ÷ Cost | 66.7% |
Same transaction, two very different-looking numbers. If you price a product assuming "50% markup means 50% margin," you'll consistently underprice — a 50% markup on a $60 cost gives a $90 price, which is only a 33.3% margin, not 50%.
What's a Healthy Margin?
There's no universal number — it depends entirely on the industry:
- Software / digital products: often 70-90% gross margin
- E-commerce / retail: often 20-50% gross margin, much thinner net margin
- Restaurants: often 5-15% net margin, notoriously thin
- Freelance / service businesses: highly variable based on how time is priced
Compare your margin to your specific industry's norms, not to a generic "good margin" figure — a 15% margin might be excellent in one industry and alarming in another.
Common Mistakes
- Confusing margin and markup — the single most common pricing error, and it directly underprices products.
- Only tracking gross margin — a healthy gross margin can hide a struggling net margin if overhead is high.
- Ignoring hidden costs — payment processing fees, returns, and shipping quietly erode margin even when reported revenue looks strong.
- Comparing margin across unrelated industries — a "good" margin varies enormously by business type.
Calculate your own margin instantly
Open the Profit Margin Calculator →Frequently Asked Questions
What's the difference between gross margin and net margin?
Gross margin only subtracts direct production cost. Net margin subtracts all business expenses, giving the full profitability picture.
What's the difference between margin and markup?
Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost — the same transaction produces two different numbers.
What's a healthy profit margin?
It varies enormously by industry — compare to your specific sector's norms rather than a generic benchmark.
Why is my margin lower than expected even though sales are strong?
Rising costs, discounting, payment fees, shipping, and returns can quietly erode margin even when revenue looks healthy.
Should I price based on margin or markup?
Margin is generally more useful since it directly reflects what percentage of the sale price is actual profit.
Related Calculators & Guides
This article is for informational purposes only and is not financial or business advice. Consult a qualified professional for decisions specific to your business.