Home / Margin to markup converter
Margin to markup converter
Updated December 2, 2026
Enter a margin or a markup and get the other one, plus the selling price if you know the cost. It shows why a 50% markup is only a 33.3% margin.
The formulas
- Margin = (price − cost) ÷ price. It tells you how many cents of every dollar of sales are profit.
- Markup = (price − cost) ÷ cost. It tells you how much you added on top of what the item cost.
- Markup from margin = margin ÷ (1 − margin). Margin from markup = markup ÷ (1 + markup).
- Price from cost and markup = cost × (1 + markup). Price from cost and margin = cost ÷ (1 − margin).
Worked example
An item costs $60 and sells for $100. Profit is $40. Margin is 40 ÷ 100 = 40%. Markup is 40 ÷ 60 = 66.7%. Both describe the same $40; they only differ in what they divide by. Because the price is always bigger than the cost, a margin is always a smaller number than the markup for the same sale.
More on the difference, with a full chart, in markup vs margin and the markup to margin chart. To set a price from a target margin, use the selling price calculator.
Questions
Is margin or markup the better number to track?
Neither is better; they answer different questions. Margin tells you how much of sales you keep, so it is the number to compare with fees that are a percentage of the price. Markup is handy when you set prices by adding a percentage to cost. Pick one and use it consistently.
Can a margin be 100%?
No. A 100% margin would mean the item cost nothing. Margin always stays below 100%, while a markup can be any size.
What markup gives a 50% margin?
A 100% markup. A $50 cost sold at $100 leaves $50 of profit, which is 50% of the price and 100% of the cost.
Related
Selling price calculator
Work out the selling price that gives your target margin or markup after fees, with .99 rounding and a check of what adding a percentage to cost earns.
Discount and markdown margin calculator
See what a discount or markdown does to your margin and how many extra sales you need to earn the same total profit, with a table of percent-off scenarios.
Markup vs margin: what is the difference?
Markup and margin both describe profit but divide by different numbers. See the formulas, a worked example, the common mistake and a conversion chart.