Margin, markup and selling price

Margin uses selling price as its basis; markup uses cost. Enter a target rate without the % sign.

Choose whether the percentage is based on selling price or cost

The difference is selling price − cost. Margin is 100 × difference / selling price; markup is 100 × difference / cost. A zero denominator makes that rate undefined.

To find selling price, a target margin uses cost / (1 − margin / 100), while a target markup uses cost × (1 + markup / 100). A 100% target margin cannot be inverted. These calculations use only the cost and price you enter.

Worked example: cost 80 and selling price 100

The difference is 20. Margin is 100×20/100=20%; markup is 100×20/80=25%. Starting from cost 80, either a 20% margin or a 25% markup gives selling price 100.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.