Back to the blog

Calculators

Margin and markup: two percentages of the same profit.

Work out profit, margin and markup from a cost and a price, or the price for a target margin, in your browser with the steps. Nothing is uploaded or sent.

By 4 min read

The question what is 20% of 85, the answer 17, and a ten by ten grid with twenty squares filled

Bought for 80, sold for 100: is that 20% or 25%? Both, depending on what the profit is compared with. Here is each, and the way back to a price from the one you want.

One profit, two percentages.

The profit is the price take away the cost: 100 − 80 = 20. The margin compares it with the price: 20 ÷ 100 = 20%. The markup compares it with the cost: 20 ÷ 80 = 25%. The Margin calculator shows the profit, the margin and the markup side by side, with each step on your own numbers.

The markup is always the larger of the two on a sale that makes a profit, because the cost is smaller than the price. When the price is below the cost, the profit is a loss, and both percentages are below 0.

The price for a margin you want.

A 25% margin means the cost is the other 75% of the price, so divide the cost by 0.75: 80 ÷ 0.75 = 106.67. Choose Price for a margin on the page, type the cost and the margin, and it does that sum, saying the answer is rounded when it is.

Adding 25% to the cost instead gives 100, which is a 25% markup but only a 20% margin. This is the most common slip, and the page says what adding the percentage would have given. It is the same sum as finding a price before a percentage was taken off.

The price for a markup.

A markup is added to the cost: 80 with a 25% markup is 80 × 1.25 = 100. Choose Price for a markup, and the page gives the price, the profit and the margin that markup comes to.

A margin can never reach 100%, since the cost is part of the price; the page refuses one that would. A markup has no ceiling: selling for three times the cost is a 200% markup, a 66.67% margin.

Worked out exactly.

Every sum is done as an exact fraction, so a markup of a third stays a third until it is shown, rounded to two places unless you choose more under More options. Nothing you type is sent anywhere or kept.

The page works out the arithmetic of one sale. What counts as cost (the goods alone, or delivery, fees and wages too) is your choice, and changes the margin.

Further reading

Topics: margin calculator · markup calculator · profit margin calculator · margin vs markup · how to calculate profit margin · selling price from margin · gross margin formula

A little less theory. A little more doing.

Try it on your own terms, with a free browser tool.

Try the tool