Skip to calculator
Libre CalculatorThe universe in numbers

Discount calculator

Find the sale price after a percentage discount and how much you save, or work out the discount percentage from two prices.

Calculation

Answer

$90.00

Steps

$120 × 25% = $30 saved

$120 − $30 = $90

What you pay and what you save
Of the original price of $120.00, you pay $90.00 and save $30.00.

Watch the explainer

189 seconds · 8 chapters · captions included

0:00 / 3:0930% off, or 28%?

Explanation

How does a percentage discount work?

A discount of p% removes p hundredths of the original price. The amount saved is the original price times p ÷ 100, and the sale price is what remains after subtracting it. This calculator also works backwards: given an original price and a sale price, it finds the discount percentage.

Pick the question you are asking

Use “sale price” when a tag says something like 15% off and you want to know what you pay and what you save. Use “discount percentage” when you know the old and new price and want to compare deals. The percentage is always measured against the original price, not the sale price.

S = P − P × d ÷ 100

Variables
Poriginal price
ddiscount rate (percent (%))
Ssale price

d = (P − S) ÷ P × 100%

Variables
Poriginal price
Ssale price
ddiscount rate (percent (%))

15% off a price of 80

Original price80
Discount15
Result$68.00

$80 × 15% = $12 saved

$80 − $12 = $68

30% off a price of 19.99

Original price19.99
Discount30
Result$13.99

$19.99 × 30% = $5.997 saved

$19.99 − $5.997 = $13.993

A negative discount (a price rise)

Original price50
Discount-10
Result$55.00

$50 × -10% = $-5 saved

$50 − $-5 = $55

From 200 down to 150

Original price200
Sale price150
Result25%

$200 − $150 = $50 saved

$50 ÷ $200 × 100 = 25%

Diagram of this result

The original price split into the part you pay and the part you save.

A bar for the original price is divided into the sale price and the amount saved. When the new price is higher than the original, two bars compare the prices instead. The exact amounts are also stated in the answer and the steps.

Common mistakes

Do not subtract the percentage from the price directly: 15% off 80 is not 80 − 15. Take the percentage of the price first. Successive discounts do not add up: 20% off followed by 10% off is 28% off in total, not 30%, because the second discount applies to the already reduced price. To find the discount from two prices, divide by the original price, not the sale price.

Assumptions and numerical limits

Inputs are signed finite decimals with up to 30 significant digits, without grouping separators or exponent notation. Arithmetic uses 50 significant internal digits and nothing is rounded until it is displayed, so a real shop may round the final price to the nearest cent differently. Tax, shipping and coupons are not included. Discounts above 100% or below 0% are allowed and give a negative sale price or a price increase.

Do two discounts add together?

No. Each discount applies to the price left after the previous one. Run the calculator once per step, using the previous sale price as the next original price.

Why can the original price not be zero?

A discount percentage is a share of the original price, and dividing by zero is undefined. The sale price operation still works with an original price of zero.

What does a negative discount mean?

It is a price increase. For example, a discount of −10% on 50 gives a sale price of 55. The same applies in reverse when the sale price is above the original.

Sources and related topics

The formulas are elementary percent identities. For background, see OpenStax, Prealgebra 2e, section 6.4 “Solve Sales Tax, Commission, and Discount Applications”: https://openstax.org/books/prealgebra-2e/pages/6-4-solve-sales-tax-commission-and-discount-applications. The examples are authored here and checked against independent arithmetic fixtures. See also the percentage and percentage change calculators.