Markup Calculator
Two denominators, one endless argument
Every business that buys and sells lives between two percentages that describe the same profit. Markup looks backward at the cost; margin looks forward at the price. They are convertible — margin = markup ÷ (1 + markup) — but they are never equal (except at zero), and the gap widens exactly where businesses can least afford confusion, at high percentages. This calculator works in all three directions: price from a markup, price from a target margin (the mode that prevents the classic under-pricing slip), and analysis of an existing cost/price pair. Every result states both percentages, so whichever language your counterpart speaks, the translation is on the page. If you run a whole catalogue rather than one product, apply the margin mode category by category: the blended margin across everything you sell is the number your accounts will report at year end, and it is set here, one honest price at a time, long before the accountant sees it.
The conversion ladder
| If your margin is… | Your markup is | If your markup is… | Your margin is |
|---|---|---|---|
| 10% | 11.1% | 25% | 20% |
| 20% | 25% | 50% | 33.3% |
| 25% | 33.3% | 100% | 50% |
| 40% | 66.7% | 200% | 66.7% |
| 50% | 100% | 900% | 90% |
Worked examples
Markup mode: cost $80, markup 25% → price $100, profit $20, margin 20%.
Margin mode: cost $60, target margin 40% → price = 60 ÷ 0.60 = $100 (a 66.67% markup). Adding 40% to the cost would have priced it at $84 and quietly delivered a 28.6% margin.
Analysis mode: cost $45, price $60 → profit $15, markup 33.33%, margin 25%.
Frequently asked questions
What is the difference between markup and margin?
They divide the same profit by different things. Markup divides profit by the cost: buy at 80, sell at 100, and the 20 of profit is 25% of the 80 you paid — a 25% markup. Margin divides profit by the selling price: the same 20 is 20% of the 100 the customer paid — a 20% margin. Markup is the buyer's view (what you added to your cost); margin is the accountant's view (what share of revenue survives as gross profit, the number that appears in financial statements). Margin can never reach 100% — that would require zero cost — while markup is unbounded: a 900% markup is a margin of 90%. Every pricing conversation that goes wrong between a shop and its accountant goes wrong right here, at the choice of denominator.
How do I set a price for a target margin?
Divide the cost by what remains after the margin: price = cost ÷ (1 − margin). For a 40% margin on a cost of 60, that is 60 ÷ 0.60 = 100. The intuitive method — adding 40% to the cost — gives 84, whose margin is only 28.6%, and the shortfall is invisible until the accounts are done. This is the single most expensive arithmetic slip in small-business pricing: a firm that prices everything at 'cost plus the margin it wants' systematically under-prices by the gap between markup and margin, which at a 40% target is nearly 12 points of margin surrendered on every sale. This calculator's margin mode exists to kill that slip: enter cost and target margin, and it returns the price — plus the markup that price represents, so both languages are on the table.
What markup gives a 50% margin?
100% — you must double the cost. The conversion ladder is worth memorising: a 20% margin needs a 25% markup; 25% margin needs 33.3%; 33.3% margin needs 50%; 50% margin needs 100%; 75% margin needs 300%. The general bridge is markup = margin ÷ (1 − margin), and its mirror, margin = markup ÷ (1 + markup). Notice the asymmetry: margin compresses as it grows (each further point is harder), while markup accelerates. Industries pick their native tongue — retail and distribution tend to quote markup or its cousin 'margin on cost', software and services quote gross margin — and converting fluently between the two, as this page does in both directions, is the whole skill.
Should my markup cover more than the product cost?
The margin it produces has to. Gross margin is what pays for everything that is not the product: rent, staff, marketing, delivery, payment fees, returns, shrinkage and tax — and then, with luck, profit. A 40% gross margin in a business whose operating costs run at 35% of revenue is a 5% net margin wearing a healthy disguise. So the pricing question is never just 'what markup on this item' but 'what margin does the whole business need, and can this category carry it' — which is why categories differ: staples with fast turnover survive on thin margins, slow or risky stock must earn thick ones. The calculator handles the item-level arithmetic; the category strategy is the judgement you bring to it. One discipline helps: always price from full cost (product plus freight, packaging and fees per unit), not the invoice cost alone.
How do discounts interact with markup and margin?
A discount comes straight out of margin, point for point and then some. Sell at 100 with a cost of 80 (20% margin) and offer 10% off: the price becomes 90, the profit halves from 20 to 10, and the margin falls from 20% to 11.1% — a tenth off the price cost half the profit. Thin margins cannot afford thick discounts, and the break point is exact: a discount equal to your margin percentage wipes the profit out entirely (20% off a 20%-margin item leaves zero, since the discounted price lands exactly on cost). Before any promotion, run the discounted price through this calculator's cost-and-price mode and read the new margin — it is the number the promotion is really spending.
Related tools
Definitions and worked examples last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.