Discount Amount Calculator Formula

Understand the math behind the discount amount calculator. Each variable explained with a worked example.

Formulas Used

You Save

savings = original_price * discount_pct / 100

Final Price

final_price = original_price * (1 - discount_pct / 100)

Variables

VariableDescriptionDefault
original_priceOriginal Price(USD)79.99
discount_pctDiscount Percentage(%)25

How It Works

How to Calculate a Discount

Multiply the original price by the discount percentage expressed as a decimal. Subtract that from the original price to get the sale price.

Formula

Savings = Original Price x (Discount % / 100)

Final Price = Original Price - Savings

Worked Example

A jacket originally priced at $79.99 is 25% off.

original_price = 79.99discount_pct = 25
  1. 01Discount decimal: 25 / 100 = 0.25
  2. 02Savings = $79.99 x 0.25 = $20.00
  3. 03Final price = $79.99 - $20.00 = $59.99

Ready to run the numbers?

Open Discount Amount Calculator