Markup and margin calculator: price, cost and profit
Markup is profit as a share of cost; margin is profit as a share of price. Choose which two numbers you know, enter them, and the tool gives cost, price, profit, markup and margin. It is not tax, legal or accounting advice, and it does not handle discounts, fees or several items at once.
What you know
Formulas for Markup and margin
profit = price − cost
markup = profit / cost × 100
margin = profit / price × 100
price = cost × (1 + markup / 100)
price = cost / (1 − margin / 100)
cost = price / (1 + markup / 100)
cost = price × (1 − margin / 100)
Where cost = what the item costs you; price = what you sell it for; profit = price minus cost; markup = profit as a percentage of cost; margin = profit as a percentage of price.
A 25% markup is a 20% margin, and a 50% markup is a 33.3% margin: margin is always smaller than markup for the same profit.
Only the two numbers you say you know are used; the others are ignored.
Checked examples for Markup and margin
Cost $60 and price $100 gives profit $40, a 66.67% markup and a 40.00% margin.
Cost $60 with a 40% margin needs a price of $100.00; the markup is 66.67%.
Price $150 with a 25% markup means a cost of $120.00; profit is $30.00 and the margin is 20.00%.
Limits of Markup and margin
Margin here is gross margin on one item: price minus cost, divided by price. The numbers you know must be above zero where they are divided by, and margin must be below 100%. Not for: discounts, coupons or sales tax; shipping, payment fees or landed cost; pricing several items or a bundle; accounting or tax advice.
Corporate Finance Institute: Markup and Corporate Finance Institute: Gross Margin.