Home › Calculators & Converters › Discount and Markup Calculator

Discount and Markup Calculator

Work out a sale price and the amount saved after a discount, or convert between cost, price, markup and margin. Results are exact until the final step, and money is shown to the cent.

Enter the numbers.
--
--
--
Everything runs in your browser, and this page needs JavaScript. No amounts or percentages are sent, stored or shared. Amounts have no currency symbol, so use the same unit for every money value.

How it works

Sale price after a discount. Sale price = price × (1 − discount ÷ 100). The amount saved = price − sale price. For example, 80 with 25% off is 80 × 0.75 = 60.00, and you save 20.00.

Markup is the profit as a percentage of cost: markup % = (price − cost) ÷ cost × 100. Margin is the profit as a percentage of the selling price: margin % = (price − cost) ÷ price × 100. They use the same profit but a different base, so they are never equal unless the profit is zero. Cost 40 sold at 50 gives a markup of 25% and a margin of 20%.

Price from cost and markup is price = cost × (1 + markup ÷ 100). Price from cost and margin is price = cost ÷ (1 − margin ÷ 100), so a margin of 100% or more cannot give a price. Cost from price and margin is cost = price × (1 − margin ÷ 100).

A negative markup or margin means the item is sold below cost. Cost or price of 0 is refused only where a division needs it, for example markup needs a cost above 0.

Rounding. Every step is worked out exactly, with no rounding in between. Only the final amounts and percentages are rounded, to 2 decimal places, round half up: 10.004 shows as 10.00 and 10.005 shows as 10.01. A negative value rounds the same way, away from zero. These figures are before tax, shipping and any other deductions.