When to use this calculator
Markup measures the difference between selling price and cost relative to cost. Use the selling price mode to set a price from a target markup, or the rate mode to evaluate an existing price. Keep all amounts in the same currency.
Worked example
A product costs 80. Add a 25% markup: 80 × 1.25 = 100. Gross profit is 20; gross margin is 20%.
Formulas and examples
Price from markup
Cost × (1 + markup ÷ 100)Example: Cost: 80, Markup (%): 25 → 100
Cost and markup must be nonnegative. Markup is based on cost, not selling price.
Markup from selling price
(Selling price − cost) ÷ cost × 100Example: Cost: 80, Selling price: 100 → 25 %
Cost > 0; selling price ≥ 0. Markup is based on cost.
Translate a margin target into a markup
With a cost of 75 and a 25% gross margin target, the price must be 75 ÷ 0.75 = 100. The required markup is 25 ÷ 75 × 100, about 33.33%. Enter the cost and price in the markup rate mode to check; a 25% markup would not meet that margin target.
Frequently asked questions
How do I calculate markup from a selling price?
Subtract cost from price, divide by cost, then multiply by 100. The cost must be positive.
What is the difference between markup and margin?
Markup divides profit by cost; margin divides profit by selling price. They use different bases.