Skip to content
toolsdocks

Calculate margin or markup

Type any two values. The two you edited last stay fixed and the others are worked out, so you can go from cost and margin to price, or from cost and price to both percentages.

Runs on your device
Loading tool…

How to use

  1. Enter any two values.
  2. The others are calculated; the last two edited fields are kept fixed.

Worked example

Cost $60 with a 40% margin needs a price of $100.00 (markup 66.67%).

Supported formats and limits

InputAny two of cost, price, margin, markup
OutputThe other values
EngineDeterministic formulas

Limitations

  • Margins of 100% or more are impossible and are rejected.
  • Works per unit before tax; it does not include overhead or sales tax.

Questions

What is the difference between margin and markup?

Both use the same profit (price minus cost). Margin divides it by the price; markup divides it by the cost. A $60 cost with a 40% margin needs a $100 price, which is a 66.67% markup.

Why is a 100% margin rejected?

Price = cost ÷ (1 − margin), so a margin of 100% would need an infinite price. Markup has no upper limit, and markup is undefined when the cost is 0.

Guides

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

See the privacy policy for how toolsdocks handles data.