Margin and markup converter
Translate a cost-based markup into a selling-price margin, or start with the margin you need. Use both percentages to make pricing instructions unambiguous.
Your numbers
Try a quick example
Illustrative numbers in your selected currency. Replace them with your own.
Your currency choice is remembered on this device. No exchange-rate conversion.
Your result
How to use this calculator
Choose whether your percentage is a margin or a markup. Enter a positive cost and a percentage. Margin must be below 100%; markup may exceed 100%.
Formula and example
Margin = profit ÷ selling price × 100. Markup = profit ÷ cost × 100. A cost of 90 and a 25% margin gives a price of 120, profit of 30 and markup of 33.3333%.
Choose the right cost
Include costs attributable to the item. The result is a gross calculation before any omitted overhead, taxes or percentage-based platform fees.
Read the full worked-example guide
Calculations run in your browser. No account needed. Money is displayed to two decimal places; percentage conversions are approximate when rounded.
Work through a decision
Example: why adding 25% misses a 25% margin
With cost 80, choose markup and enter 25: price = 80 × 1.25 = 100 and profit = 20. Margin = 20 ÷ 100 × 100 = 20%. Switch to margin with the same cost and percentage: price = 80 ÷ 0.75 = 106.6666…, displayed as 106.67, and markup is approximately 33.3333%.
Write down the denominator
Margin % = profit ÷ price × 100; markup % = profit ÷ cost × 100. To convert directly, margin % = markup % ÷ (100 + markup %) × 100, and markup % = margin % ÷ (100 − margin %) × 100. Ask a supplier which denominator they mean by “profit percentage” before agreeing to a quote.
Cost must be positive; the percentage can be zero. Margin must stay below 100%, while markup can exceed 100%: cost 80 with 150% markup gives price 200 and margin 60%. Money displays two decimals and percentages up to four. A rounded selling price changes the actual percentages; see the conversion guide for checking a quote after rounding.
Put your result to work
How a discount changes your profit per item
Calculate remaining profit after a discount and the extra sales needed to recover it.