Markup vs Margin Calculator
Markup and margin sound similar but mean different things. This calculator shows both from the same cost-and-price inputs.
Profit per unit
$25
Markup %
50.00%
Profit ÷ cost — how much you added on top
Gross margin %
33.33%
Profit ÷ sale price — the share of revenue you keep
Rule of thumb: a 100% markup is a 50% margin. The two are closest at small numbers and pull apart as the markup grows — margin can never exceed 100%, while markup has no ceiling at all.
Analysis & insights
Your sale price is $75, based on the inputs above. Business metrics are early-warning systems. Track them monthly and watch the TREND, not the single point.
Quick estimate
This calculator uses just a few inputs. Adjust them to see how each variable shifts the answer.
Risk & benchmark gauge
Current band
Strong
Sale Price: $75
Industry benchmarks
- Cost$50
- Sale Price$75
- Profit$25
- Markup50
- Margin33.3%
Key insights
Track the trend, not the snapshot
Business metrics are most useful as month-over-month or year-over-year trends. A single calculation tells you less than 3-6 data points.
Sensitivity testing
Adjust each input by ±10% to find the most impactful variable — that's the one to focus your real-world decisions on.
Recommended actions(4)
Test the realistic range of each input
High priorityTry the lowest and highest realistic value for each input. The spread of results is the range you should actually plan for — point estimates lie.
Impact: Reveals which inputs matter most and where uncertainty hides.
Compare against published benchmarks
Medium priorityWhatever you're calculating, there's likely an industry benchmark for it. Google "[topic] average" or "[topic] median" to sanity-check the result.
Save or download a copy
Medium priorityFor calculators that offer it, use "Download report (PDF)" to keep a snapshot. Otherwise screenshot the inputs + result before navigating away.
Find the Best Personal Loan
* Partner links. CalcProLabs may earn a referral fee at no cost to you.
Related Calculators
This tool is for educational purposes only and does not constitute financial, tax, or investment advice. Consult a qualified financial professional for advice specific to your situation.
What is Markup and Margin?
Markup and margin are computed from the same two numbers and answer different questions. Markup is profit as a percentage of what the item cost you. Margin is profit as a percentage of what you sold it for.
Because the denominators differ, the same transaction produces two different percentages — and margin is always the smaller of the two. Buy for $50, sell for $75: that is a 50% markup and a 33.3% margin.
Confusing them is not a rounding error. A business that thinks it is running a 40% margin when it is actually running a 40% markup is operating on a 28.6% margin, and that difference is frequently the difference between profitable and not.
The convention worth adopting: price using markup, because you are working up from cost. Report using margin, because that is what your accounts and every benchmark use.
The formula — how to calculate Markup and Margin
- Cost
- = what the unit cost you to buy or make — the denominator for markup
- Price
- = what the customer pays — the denominator for margin
Margin can never reach 100%, because profit can never exceed the price it is measured against. Markup has no upper limit at all. This asymmetry is the whole reason the two diverge.
Step-by-step example
- 01A product costs $50 and sells for $75.
- 02Profit: $25. Markup: 25 ÷ 50 = 50%. Margin: 25 ÷ 75 = 33.3%.
- 03Now work backwards. You need a 40% margin on that $50 cost.
- 04Price = 50 ÷ (1 − 0.40) = 50 ÷ 0.60 = $83.33.
- 05Note what happens if you mistakenly apply 40% as a markup instead: $50 × 1.40 = $70, which is only a 28.6% margin. You would be underpricing by $13.33 a unit — 16% of the correct price — while believing you had hit your target.
- 06The gap widens as the numbers grow. A 100% markup is a 50% margin. A 300% markup is a 75% margin. A 900% markup is a 90% margin. The two never converge; markup runs away while margin creeps toward a ceiling it can never reach.
The conversion table worth memorising
The two are closest at the low end, where a 10% markup gives a 9.1% margin — a gap under a point. By the time markup reaches 400% the gap is 320 points.
Markup and the margin it produces
| Markup | Margin | Price on $100 cost |
|---|---|---|
| 10% | 9.1% | $110 |
| 25% | 20.0% | $125 |
| 50% | 33.3% | $150 |
| 66.7% | 40.0% | $167 |
| 100% | 50.0% | $200 |
| 150% | 60.0% | $250 |
| 233% | 70.0% | $333 |
| 400% | 80.0% | $500 |
Read it in whichever direction you need. To hit a 40% margin you apply a 66.7% markup — which is why "just add 40%" is such a persistent and expensive mistake.
Which one your industry speaks
Both conventions are in daily use, often in the same conversation, which is where the confusion comes from.
Retail generally thinks in markup, because buyers work up from a wholesale cost. The old "keystone" rule is a 100% markup — double the cost — which is a 50% margin.
Restaurants work in food cost percentage, which is margin inverted: a 30% food cost is a 70% gross margin, or a 233% markup.
Construction and trades quote markup on materials and labour, and this is where the error is most expensive because the numbers are large. A contractor adding 20% to a $200,000 job earns a 16.7% margin, not 20%, and on thin trade margins that difference matters.
Accounting, investor reporting and every published benchmark use margin. Gross margin, operating margin and net margin are all margins. If someone quotes an industry average, it is a margin unless they explicitly say otherwise.
So the practical rule: whenever a percentage is quoted, ask which denominator. It takes one sentence and prevents the whole class of error.
Discounting eats margin faster than it eats price
A 20% discount off a product carrying a 40% margin does not cut your profit by 20% — it cuts it by half. At $100 price and $60 cost you make $40; discount to $80 and you make $20. To earn the same total profit you now need to sell twice as many units. This is why volume rarely rescues a discount, and why margin is the number to watch when running a promotion.
What gross margin does not tell you
Gross margin is revenue minus the direct cost of what you sold. It stops well short of profit.
Below it sit the operating expenses: rent, salaries, software, marketing, insurance. A business with a healthy 45% gross margin and operating expenses of 50% of revenue is losing money on every sale it makes.
Contribution margin is the more useful figure for pricing decisions. It deducts all variable costs — including payment processing, shipping, packaging and returns — rather than just the cost of goods. For an ecommerce business those extras frequently consume 10 to 15 points of apparent margin.
Returns are the most underestimated. In apparel a 20% to 30% return rate is normal, and a returned item costs you the outbound shipping, the return shipping, the handling and often the resale value. A 45% gross margin can become a 25% contribution margin once returns are properly loaded in.
The test that matters: after every variable cost, does each additional sale leave money to cover the fixed costs? If not, more volume makes things worse rather than better.
- Gross margin —
- revenue minus cost of goods sold. The headline figure and the least complete.
- Contribution margin —
- revenue minus all variable costs. The right number for a pricing decision.
- Operating margin —
- after operating expenses too. What the business earns before interest and tax.
- Net margin —
- after everything. Typically single digits in retail and much higher in software.
- Keystone —
- retail shorthand for doubling the cost — a 100% markup, a 50% margin.
Setting the price rather than calculating it
Cost-plus pricing — take the cost, apply a markup — is simple and it is the weakest method available. It prices from your costs, which the customer does not care about, rather than from the value they receive, which is the only thing that determines what they will pay.
Its one real virtue is that it guarantees a margin on every sale, which is why it survives in trades and wholesale where costs vary per job.
Value-based pricing asks what the outcome is worth to the buyer. Software that saves a business $50,000 a year can be priced on that saving rather than on the cost of running it, which is why software margins look nothing like retail margins.
The most common pricing error in small business is not choosing the wrong method — it is being too cheap. Underpricing is difficult to reverse, attracts the most demanding customers, and leaves nothing to reinvest.
A useful discipline: raise your price by 10% on new customers and watch what actually happens. In most cases the volume loss is far smaller than the fear suggests, and a 10% price rise on a 40% margin is a 25% increase in profit.
Common mistakes to avoid
- Applying a target margin as if it were a markup. A 40% target needs a 66.7% markup, not 40%.
- Comparing your markup against an industry benchmark that is quoted as a margin.
- Treating gross margin as profit. Operating expenses come out afterwards.
- Leaving payment fees, shipping and returns out of the cost base.
- Discounting without recomputing the margin. A 20% discount on a 40% margin halves the profit.
- Pricing purely from cost, which ignores what the buyer values.
- Assuming a 100% margin is achievable. It is not, at any price.
Frequently asked questions
Sources & references
Written and fact-checked by the CalcProLabs Editorial Team. Read our calculation methodology and editorial policy.
Last updated