Free tool
Markup Calculator & Margin Converter
Find markup and margin from cost and price, set a price from a target margin, or convert between the two, with a quick reference table and the formulas shown.
- Markup (profit ÷ cost)
- –
- Margin (profit ÷ selling price)
- –
- Selling price
- –
- Profit per unit
- –
- Markup (profit ÷ cost)
- –
- Margin (profit ÷ selling price)
- –
Assumptions
These are estimates from your own inputs, not a forecast or a promise of results. No vendor prices or industry averages are built in: every number comes from you.
- Profit = selling price − cost.
- Markup % = profit ÷ cost × 100. Margin % = profit ÷ selling price × 100.
- Selling price from markup = cost × (1 + markup ÷ 100). Selling price from margin = cost ÷ (1 − margin ÷ 100).
- Margin = markup ÷ (100 + markup) × 100, and markup = margin ÷ (100 − margin) × 100.
- Costs here are the unit cost you enter. Overheads, discounts, fees and taxes are not included unless you add them to the cost.
Results are arithmetic on the numbers you enter. They are not a pricing recommendation.
Runs entirely in your browser. Nothing you type or upload is sent to our servers.
Markup vs margin in one minute
Markup answers "how much did I add on top of cost?" Margin answers "how much of the selling price is profit?" Because margin divides by the larger number, a given profit always produces a smaller margin than markup, and confusing them is a common way to under-price.
Worked example 1: from cost and price
You buy an item for $60 and sell it for $100. Profit = 100 − 60 = $40. Markup = 40 ÷ 60 = 66.67%. Margin = 40 ÷ 100 = 40%.
Worked example 2: price for a target margin
Your cost is $80 and you want a 30% margin. Price = 80 ÷ (1 − 0.30) = $114.29. The profit is $34.29, which is 42.86% of cost, so the equivalent markup is 42.86%. Applying a 30% markup instead gives $104.00 and only a 23.08% margin.
Markup to margin conversion table
| Markup | Margin |
|---|---|
| 10% | 9.09% |
| 20% | 16.67% |
| 25% | 20% |
| 30% | 23.08% |
| 40% | 28.57% |
| 50% | 33.33% |
| 60% | 37.5% |
| 75% | 42.86% |
| 100% | 50% |
| 150% | 60% |
| 200% | 66.67% |
Tips for using the numbers
- Put every cost you want covered into the cost field: purchase price, shipping in, packaging and payment fees.
- Check that a supplier's "margin" is really margin and not markup before comparing quotes.
- Remember that discounts reduce margin faster than they reduce price, because the cost does not change.
Related tools
Add or remove sales tax with the Sales Tax Calculator. Checking what a customer is worth against what you spend to win them? Use the LTV Calculator. Preparing a customer bill? Try the Invoice Generator.
Frequently asked questions
What is the difference between markup and margin?
Both describe profit, but they divide by different numbers. Markup divides profit by cost, and margin divides profit by the selling price. An item that costs $60 and sells for $100 has $40 of profit, a markup of 66.67% and a margin of 40%. Margin is always the smaller figure, and it can never reach 100%.
How do I calculate markup?
Subtract the cost from the selling price to get profit, divide the profit by the cost, and multiply by 100. For a $60 cost and $100 price, the profit is $40, 40 ÷ 60 = 0.6667, so the markup is 66.67%. To go the other way, multiply the cost by one plus the markup as a decimal.
How do I find the price for a target margin?
Divide the cost by one minus the margin as a decimal. For a $80 cost and a 30% margin, 80 ÷ 0.70 = $114.29. Adding 30% to the cost instead ($104.00) would give only a 23.08% margin, which is why using the wrong formula leaves money on the table.
Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $100 cost gives a $150 price and a 33.33% margin. A 50% margin on a $100 cost needs a $200 price, which is a 100% markup. The conversion table on this page shows the matching margin for common markups.
Which one should I use to set prices?
Either works if you use it consistently. Retailers and wholesalers often quote markup because it is easy to apply to a cost list. Financial statements and many owners track margin because it shows how much of each sale dollar is profit. Know which one a supplier or report means before comparing numbers.
Does this include overheads, fees or taxes?
Only what you put in the cost field. The calculator treats cost as a single unit cost, so add shipping, payment fees or packaging to it if you want them reflected in the profit. It does not add sales tax; use the Sales Tax Calculator for that.
Is my data saved or sent anywhere?
No. The math runs in your browser, nothing is stored and nothing you enter is sent to our servers. Analytics record only that the tool was used, never the numbers you type, and you do not need an account to use it.
Link to this tool
Found it useful? Copy a link for your page, newsletter or documentation.
Get new tools and guides by email
Optional. The tool above works without signing up.
More free tools
Browse all business & productivity or the full list of free tools.
- LTV Calculator with CAC, CPM, CPC & ROASCalculate customer lifetime value, CAC payback, CPM, CPC, conversion rate and ROAS from your own numbers, with the formulas and worked examples shown.
- Profit Margin Calculator with Break-EvenCalculate gross and net profit margin, compare margin with markup, set a price for a target margin and find your break-even units, with the formulas shown.
- Placeholder Text GeneratorGenerate dummy placeholder text by paragraphs, sentences or words, starting with the classic Latin opening line, with optional HTML tags. Runs in your browser.
- Email Signature GeneratorBuild an HTML email signature with your name, contact details, links and optional image, then copy it as rich text or HTML. Nothing is uploaded or stored.
- Dividend Calculator: Income, Yield & DRIPEstimate dividend income and yield, project growth with dividends reinvested, and work out stock profit after fees. Every assumption is yours and stated.
- Percent Change Calculator & Percentage CalculatorCalculate percent change, percent of a number, what percent X is of Y, increases, decreases and reverse percentages, with the working shown.