Margin & Markup Calculator
Turn cost and revenue into profit, profit margin % and markup %, or work out the revenue needed to hit a target margin.
Cost & revenue → profit, margin, markup
Profit: 20 Margin %: 20 Markup %: 25
Show the working
- Profit = Revenue − Cost = 100 − 80 = 20
- Margin % = Profit ÷ Revenue × 100 = 20 ÷ 100 × 100 = 20
- Markup % = Profit ÷ Cost × 100 = 20 ÷ 80 × 100 = 25
Cost & target margin → required revenue
Required revenue: 100
Margin ↔ markup converter
= markup %: 25 = margin %: 20
Margin and markup side by side
| Margin % | Markup % |
|---|---|
| 10 | 11.11 |
| 20 | 25 |
| 25 | 33.33 |
| 33.33 | 50 |
| 40 | 66.67 |
| 50 | 100 |
| 60 | 150 |
| 75 | 300 |
| 80 | 400 |
| 90 | 900 |
Options
Selling fees → net margin
For one sale of the first section. Leave a box empty for none.
Quantity, fixed costs and break-even
For the sale in the first section. Fill either box, or both.
Compare products
One product per line: name, cost, price (commas or tabs). Up to 50 products.
Plain numbers unless you pick a currency — the symbol is a label, nothing is converted.
Margin and markup from cost and revenue
Enter a cost and a revenue and the tool instantly shows the profit, the profit margin and the markup. Margin measures profit against the selling price (profit ÷ revenue × 100), while markup measures profit against the cost (profit ÷ cost × 100), so the same sale of cost 80 and revenue 100 is a 20% margin but a 25% markup. Everything updates live and uses plain numbers unless you pick a Currency under Options, where the symbol is only a label and nothing is converted. Already know something other than cost and revenue? The Known figures selects take any two of cost, revenue, profit, margin % and markup % and work out the rest. Folded under the converter, “Margin and markup side by side” lists the markup that goes with common margins — 25%, 50% and the others people ask about — to read off without typing, rounded to the page's decimal places.
Price backwards from a target margin
Know your cost and the margin you want to earn? The second section solves for the selling price using revenue = cost ÷ (1 − margin ÷ 100). A 20% margin on a cost of 80 needs revenue of 100. Because a margin of 100% or more is mathematically impossible for a positive cost, the tool shows a short notice instead of a nonsensical number. Switch its Target to Desired markup % to solve the price from a markup instead.
Frequently asked questions
What is the difference between margin and markup?
Both measure the same profit but against different bases. Margin = profit ÷ revenue × 100 (share of the selling price that is profit). Markup = profit ÷ cost × 100 (how much you added on top of cost). A cost of 80 sold for 100 is a 20% margin and a 25% markup.
How do I find the revenue needed for a target margin?
Use the second section. Revenue = cost ÷ (1 − margin ÷ 100). For a 20% margin on a cost of 80, revenue = 80 ÷ 0.8 = 100. A target margin of 100% or more is impossible for a positive cost, so the tool flags it. The Target select there also solves the price from a desired markup.
Can it include tax, or round to a set number of decimals?
Yes, under Options. Tick Calculate with tax, VAT or GST and enter a Tax %: the answers gain a Tax line and a Price incl. tax line, worked out on the revenue. Decimal places is Auto by default, or a fixed count that pads the zeros, so 133.3 prints as 133.30 with two places.
Can it take selling fees, fixed costs or several products into account?
Yes. “Selling fees → net margin” adds shipping, platform and payment fees and other costs per sale to the sale in the first section, and gives the gross margin, the fees, the net profit and the net margin. In “Quantity, fixed costs and break-even”, a “Quantity sold” turns the sale into totals and an ROI, and “Fixed costs” gives the contribution per unit and the break-even units and revenue — or says that a sale which does not cover its own cost never breaks even. “Compare products” takes one product per line — name, cost, price, split on commas or tabs — and tables each one’s profit, margin and markup with the total profit and the best margin.
Is there a table of margins and their markups?
Yes. Open “Margin and markup side by side” under the converter: it lists margins from 10% to 90% — 25%, 33.33%, 50% and the others people ask about — beside the markup each one needs, rounded to the page's Decimal places. A 50% margin, for example, is a 100% markup.