Markup and margin calculator

Calculate markup or margin, or work backwards to a selling or cost price.

Calculation inputs

Margin

20%
Markup
25%
Selling price
$100.00
Cost price
$80.00
Profit per unit
$20.00
QR code

How the calculation works

Profit is selling price minus cost. Divide profit by selling price for margin or by cost for markup. To get price from margin, divide cost by 1 minus the margin as a fraction.

Example

A cost of 80 and a price of 100 yield 20% margin and 25% markup.

Percentage calculations — OpenStax

Method checked