The $25 Mistake That Costs Businesses Thousands
You buy a product for $75 and sell it for $100. Your profit is $25 — but is that a 25% margin or a 33.3% markup? Both. Margin divides profit by revenue ($25 ÷ $100 = 25%); markup divides by cost ($25 ÷ $75 = 33.3%). Confuse the two when setting prices — apply a 25% “margin” as a markup — and you’ve just priced for a 20% margin instead. On volume, that error quietly erases thousands.
This free margin calculator works in three directions: analyze cost + price into margin and markup, or start from a target margin/markup and get the exact selling price you need. No more spreadsheet guesswork.
Margin · markup · target pricing
Please enter valid numbers: cost above $0, and targets below 100%.
Profit margin
Share of revenue kept as profit
Margin ≠ markup. Margin divides profit by revenue; markup divides by cost. A 50% markup is only a 33.3% margin — mixing them up is the classic pricing mistake that quietly erases profit. Convert: markup = margin ÷ (1 − margin).
How to Use This Calculator
- Pick a mode: analyze an existing price, or price from a target margin/markup.
- Enter your cost — the all-in cost of one unit.
- Enter price (analyze mode) or your target % (pricing modes).
- Click Calculate — get profit, margin, markup, and the exact price you need.
The Margin & Markup Formulas
Markup = (Price − Cost) ÷ Cost × 100 (profit ÷ cost)
Price from margin: Price = Cost ÷ (1 − margin) | Price from markup: Price = Cost × (1 + markup)
Worked example
Cost $60, price $100:
- Profit: $100 − $60 = $40
- Margin: $40 ÷ $100 = 40%
- Markup: $40 ÷ $60 = 66.67%
- Target check: want 40% margin on a $60 cost? Price = $60 ÷ (1 − 0.40) = $100 √
Margin-to-Markup Conversion Table
| Margin | Markup | $75 cost → price |
|---|---|---|
| 10% | 11.1% | $83.33 |
| 20% | 25.0% | $93.75 |
| 30% | 42.9% | $107.14 |
| 40% | 66.7% | $125.00 |
| 50% | 100.0% | $150.00 |
Key insight: markup is always higher than margin for the same profit — and the gap widens as margins grow.
Who This Calculator Is For
- Retailers & e-commerce sellers setting prices that actually hit profit targets.
- Freelancers & agencies converting costs into quotes without underpricing.
- Restaurant & food businesses where a few margin points decide survival.
- Students learning the margin/markup distinction for accounting and finance courses.
Pricing tips
- Always work backward from margin targets using Price = Cost ÷ (1 − margin).
- Include all costs: shipping, packaging, payment fees, returns — not just the product cost.
- Re-check margins after any cost increase; a 10% cost bump can halve a thin margin.
- Compare against industry benchmarks — a “good” margin in groceries (2%) would be a disaster in software (80%+).
Gross, Operating and Net Margin Are Three Different Numbers
The margin above is a gross margin — it only subtracts the direct cost of the item sold. A business actually lives on two lower numbers. Follow one $100 sale with a $60 product cost through the income statement: gross profit is $40, a 40% gross margin. Subtract $25 of operating costs (rent, wages, software) and operating profit is $15 — a 15% operating margin. Subtract $5 more of interest and tax and net profit is $10 — a 10% net margin.
That ladder explains a common confusion: a store can honestly report a healthy 40% margin on every product and still finish the year near break-even, because gross margin never sees the overhead. Use this calculator to price each unit correctly at the gross level — then check the operating and net levels on your full accounts, where fixed costs belong.
Frequently Asked Questions
What is the difference between margin and markup?
Margin is profit as a percentage of revenue: (Price − Cost) ÷ Price. Markup is profit as a percentage of cost: (Price − Cost) ÷ Cost. The same $25 profit on a $75 cost / $100 price is a 25% margin but a 33.3% markup. They are not interchangeable.
How do I calculate profit margin?
Subtract cost from selling price to get profit, divide by the selling price, and multiply by 100. Example: ($100 − $60) ÷ $100 × 100 = 40% margin.
How do I price for a target margin?
Use Price = Cost ÷ (1 − margin). For a 40% margin on a $60 cost: $60 ÷ 0.60 = $100. Never just add the margin % to cost — that computes a markup, and you’ll underprice.
Can margin be more than 100%?
No — margin tops out just under 100% (profit can never exceed revenue). Markup, however, has no ceiling: a $10 cost sold for $100 is a 900% markup and a 90% margin.
What is a good profit margin?
It depends entirely on the industry: groceries run 1–3%, restaurants ~10%, retail 20–40%, software 70–90%. Compare yourself to direct competitors, not to headlines about tech giants.
What’s the formula to convert margin to markup?
Markup = Margin ÷ (1 − Margin). So 20% margin = 0.20 ÷ 0.80 = 25% markup. Reverse: Margin = Markup ÷ (1 + Markup).
Can profit margin be negative?
Yes. If the selling price is below cost, profit — and therefore margin — is negative. Sell a $60-cost item for $50 and the margin is ($50 − $60) ÷ $50 = −20%. Clearance sales and loss leaders run negative margins deliberately; doing it by accident is the problem.
What happens to my margin if I offer a 10% discount?
More than you would guess. Take a $60 cost and $100 price (40% margin, $40 profit). A 10% discount cuts the price to $90, so the margin falls to ($90 − $60) ÷ $90 = 33.3% — and profit per unit drops 25%, from $40 to $30. Discounts shrink profit much faster than they shrink price.
Is a 50% markup the same as a 50% margin?
No — a 50% markup is only a 33.3% margin, because markup divides by cost while margin divides by the (larger) price. A true 50% margin requires a 100% markup: double the cost. Retailers call that doubling “keystone” pricing.
Final Thoughts
Margin and markup describe the same profit from opposite ends — and pricing from the wrong end is one of the most expensive mistakes a business can make quietly. Use the calculator above to always price from your actual target.
Running a Business?
Price correctly with our sales tax calculator and control labor costs with our overtime calculator.