Discount Calculator

Calculate sale prices, savings, tax, and the final purchase total

01

Item and discount details

Enter the price, discount, and optional coupon amount

Amounts are calculated locally in your browser

02

Checkout summary

The percentage discount is applied first, then the coupon and tax are calculated

Original subtotal¥0.00
Discount savings−¥0.00
Coupon applied−¥0.00
Tax¥0.00
Final total¥0.00Per item $0.00

A discount calculator helps you find the final price after percentage discounts, fixed coupons, sales tax, and quantity. Whether you are comparing Black Friday deals, checking a checkout total, or planning a bulk purchase, a sale price calculator removes guesswork from the math.

The Yaya Tools discount calculator runs entirely in your browser. Enter the original price, discount percentage, coupon amount, tax rate, and quantity to see subtotal, savings, tax, final total, and per-item cost update instantly. No sign-up, no data upload—just fast, private arithmetic you can verify before you pay.

What is a discount calculator?

A discount calculator (also called a percent off calculator or sale price calculator) computes how much you pay after one or more price reductions. At minimum, it takes an original price and a discount rate, then returns the sale price and amount saved.

Real shopping carts are rarely that simple. Retailers stack percentage markdowns with dollar-off coupons, charge tax on a specific base amount, and sell items in multiples. A full-featured coupon calculator accounts for those layers so you can answer questions like:

  • What is 25% off $149.99 with 8% tax?
  • If I buy 4 items at $80 each with 15% off and a $20 coupon, what do I owe?
  • Does Offer A (30% off) beat Offer B (20% off plus a $15 coupon)?

The Yaya Tools calculator handles all of these in one place. It is designed for quick estimates during shopping, not as tax or legal advice—but the formulas are transparent, so you can compare the result against a receipt or checkout screen.

How the Yaya Tools discount calculator works

This tool applies discounts in a fixed, logical order that matches many online and in-store checkout flows:

  1. Subtotal = original price per item × quantity
  2. Discount savings = subtotal × discount percentage ÷ 100
  3. Amount after discount = subtotal − discount savings
  4. Coupon applied = the smaller of the coupon amount and the amount after discount
  5. Taxable amount = amount after discount − coupon applied
  6. Tax = taxable amount × tax rate ÷ 100
  7. Final total = taxable amount + tax

The page also shows per-item cost (final total ÷ quantity) and total savings (original subtotal minus the tax-inclusive final total).

Input fields explained

Field What it means Valid range
Original price Price per item before any discount Zero or positive
Discount (%) Percentage removed from the subtotal 0 to 100
Coupon amount Fixed dollar deduction after the percentage discount Zero or positive
Tax rate (%) Sales tax applied to the post-discount, post-coupon amount Zero or positive
Quantity Number of items purchased Whole number, at least 1

Negative values are rejected. The discount field represents percent off, not percent remaining—enter 20 for 20% off, not 80.

Default example values load automatically: $299 original price, 20% off, a $30 coupon, 0% tax, and quantity 1. Click Reset examples anytime to restore them.

Discount calculator formulas step by step

Understanding the formulas behind a percent off calculator makes it easier to spot errors on receipts and promotional pages.

Step 1: Calculate subtotal

Multiply the unit price by quantity:

Subtotal = price × quantity

Example: $80 × 3 = $240.00

Step 2: Apply the percentage discount

The discount savings equal a fraction of the subtotal:

Discount savings = subtotal × (discount ÷ 100)
Sale amount = subtotal − discount savings

Example: $240 × 15% = $36.00 saved; sale amount = $204.00

If you need to solve a standalone percentage problem—such as "what is 15% of 240?" or "what percent is 36 of 240?"—use the dedicated percentage calculator.

Step 3: Apply the coupon (capped)

Coupons reduce the sale amount by a fixed dollar value. This calculator treats the coupon as one order-level deduction, not per item. The applied coupon is capped so the merchandise total never goes below zero:

Coupon applied = min(coupon amount, sale amount)
Taxable amount = sale amount − coupon applied

Example: $204 − $20 coupon = $184.00 taxable

If the coupon exceeds the sale amount—say a $60 coupon on $40 of merchandise—the applied coupon is $40, the taxable amount is $0, and no cash back or store credit is modeled for the leftover $20.

Step 4: Calculate tax and final total

Tax is computed on the amount remaining after both the percentage discount and the coupon:

Tax = taxable amount × (tax rate ÷ 100)
Final total = taxable amount + tax

Example: $184 × 6% = $11.04 tax; final total = $195.04

Per-item cost: $195.04 ÷ 3 ≈ $65.01 each.

For deeper work on percentages and rates, try the percentage calculator.

How to use the online sale price calculator

Follow these three steps to get a result in seconds:

  1. Open the discount calculator and enter the original price and quantity.
  2. Fill in the discount percentage, coupon amount, and tax rate (use 0 if tax does not apply).
  3. Read the live breakdown: subtotal, discount savings, coupon deduction, tax, final total, per-item price, and total savings.

Results update on every keystroke, so you can tweak one variable—raising quantity, swapping the coupon, or testing a higher tax rate—and immediately see how the final total changes.

Tips for accurate estimates

  • Confirm percent off vs. percent of: "20% off" means enter 20. You pay 80% of the original subtotal.
  • Check whether the coupon stacks: Some stores apply coupons before discounts or exclude sale items. This tool assumes discount first, then coupon.
  • Verify the tax base: Not every jurisdiction taxes the post-coupon amount. Adjust inputs if your retailer uses a different rule.
  • Watch rounding: The calculator uses full precision internally and displays two decimal places. Summing individually rounded line items on a receipt can differ by a cent from the displayed per-item amount.

Worked examples with quantity, coupons, and tax

Example 1: Single item, no tax (default)

Original price $299, 20% off, $30 coupon, 0% tax, quantity 1:

Step Calculation Result
Subtotal $299 × 1 $299.00
Discount savings $299 × 20% −$59.80
After discount $299 − $59.80 $239.20
Coupon applied min($30, $239.20) −$30.00
Taxable amount $239.20 − $30 $209.20
Tax $209.20 × 0% $0.00
Final total $209.20 + $0 $209.20

You save $89.80 compared to the original subtotal ($299 − $209.20).

Example 2: Multiple items with tax

Each item costs $80, quantity 3, 15% off, $20 coupon, 6% tax:

Subtotal:     $80 × 3           = $240.00
Discount:     $240 × 15%        =  $36.00
After discount:                  = $204.00
Coupon:                          = −$20.00
Taxable:                         = $184.00
Tax:          $184 × 6%         =  $11.04
Final total:                     = $195.04
Per item:     $195.04 ÷ 3      ≈  $65.01

Example 3: Coupon larger than the sale amount

One item at $50, 10% off ($5 savings → $45 sale amount), $60 coupon:

  • Coupon applied: $45 (capped)
  • Taxable amount: $0
  • Tax and final total: $0

The extra $15 on the coupon does not convert to change or credit in this model. Real promotions may have different rules.

Why discount, coupon, and tax order matters

The same numbers can yield different totals depending on calculation order. This coupon calculator always applies the percentage discount first, subtracts the fixed coupon second, and calculates tax last.

Consider a $100 item with 20% off and a $10 coupon:

Order Steps Result before tax
Discount then coupon (this tool) $100 − 20% = $80; $80 − $10 $70.00
Coupon then discount $100 − $10 = $90; $90 − 20% $72.00

That $2 gap is why you should verify the retailer's stated promotion order, not just the headline "20% off plus $10 off."

Tax order matters too. Some retailers tax the pre-discount price; others tax only the post-coupon amount. This tool estimates tax on the amount after both discounts. If your receipt shows a different tax base, enter the rate that matches your jurisdiction, or reverse-check the percentage with the percentage calculator.

Compare two promotions with the percent off calculator

Do not compare headline percentages alone. Keep price, quantity, and tax rate constant while testing each offer.

Offer A — bigger percentage, no coupon

Enter product details, set a high discount (e.g., 30%), coupon to $0, note the final total.

Offer B — smaller percentage plus a coupon

Keep price, quantity, and tax the same. Lower the discount (e.g., 20%) and add a fixed coupon (e.g., $15). Compare final totals.

Fixed coupons often help more on smaller orders, but whether they stack with sale prices depends on store policy. A sale price calculator lets you test both scenarios side by side without re-entering everything.

For restaurant bills after a discounted meal, calculate the checkout total first, then use the tip calculator to add gratuity and split among diners. Keeping discount math and tip math separate makes each assumption easier to audit.

Shopping scenarios where this tool helps

Online checkout verification. Before you click "Place order," plug the listed price, promo code value, and estimated tax into the calculator. If the numbers diverge, check for minimum spend requirements, excluded categories, or shipping fees not modeled here.

Bulk or bundle pricing. Quantity multiplies the subtotal before the percentage discount, so buying more can amplify percent-off savings. Enter the per-item price and quantity to see whether a multi-buy deal beats a single-item coupon.

Price-match and competitor checks. When a competitor advertises "25% off plus free shipping," translate the offer into a comparable final total using the same tax rate and quantity you would pay locally.

Budget planning. Knowing the per-item cost after all discounts helps you compare unit economics across pack sizes—for example, a 12-pack at 10% off versus a 6-pack at 15% off.

Privacy and accuracy

All inputs and calculations stay in your current browser session. Nothing is sent to a server. That makes the tool safe for checking real prices on personal purchases.

The calculator is an estimate. Actual checkout totals may differ because of:

  • Minimum order requirements on coupons
  • Product-specific exclusions from sales
  • Loyalty rewards applied before or after tax
  • Rounding rules on individual line items
  • Shipping, handling, or environmental fees

Always treat the retailer's final screen as authoritative. Use this discount calculator to get close quickly and to understand why a total looks the way it does.

Sources and methodology

The percentage-discount and sales-tax arithmetic follows the standard formulas summarized by OpenStax Contemporary Mathematics: Discounts, Markups, and Sales Tax: discount equals original price times the decimal discount rate, and sale price equals original price minus discount. This calculator applies tax after the percentage discount and fixed coupon because that is its documented model.

Tax bases, coupon ordering, rounding, mandatory fees, and exemptions vary by seller and jurisdiction. The result is a checkout estimate, not a tax determination; the receipt and applicable tax authority control the actual amount.

Frequently asked questions

What is a discount calculator?

A discount calculator computes the final purchase price after percentage discounts, fixed coupons, sales tax, and quantity. It shows subtotal, savings, tax, total, and often per-item cost.

How do I calculate a sale price after a percentage discount?

Multiply the original subtotal (price × quantity) by the discount rate divided by 100 to get savings. Subtract savings from the subtotal. The result is the sale amount before coupons and tax.

For 20% off, should I enter 20 or 80?

Enter 20. The field means percent off—the share removed from the original price. Twenty percent off leaves you paying 80% of the original subtotal.

Does this sale price calculator handle coupons?

Yes. Enter a fixed coupon amount in dollars. It is subtracted after the percentage discount. The applied coupon is capped at the discounted merchandise total, so the amount never goes negative.

Does quantity multiply the coupon?

No. The coupon is one fixed deduction for the entire order. If a store offers one coupon per item, calculate the effective total coupon separately (coupon value × eligible items) and enter that combined amount.

How is tax calculated in this percent off calculator?

Tax equals the taxable amount multiplied by the tax rate divided by 100. The taxable amount is the subtotal minus discount savings minus the applied coupon.

Is tax always calculated after the coupon?

Not in every jurisdiction or store. This tool applies tax after both the percentage discount and the coupon. If your receipt uses a different tax base, adjust the rate or verify with local rules.

What happens when the coupon exceeds the sale amount?

The coupon is capped at the discounted merchandise total. Taxable amount, tax, and final total become zero. The unused portion of the coupon is not shown as cash back or store credit.

Why is "You save" not simply discount plus coupon?

Total savings equals the original subtotal minus the tax-inclusive final total. When tax is greater than zero, part of the discount and coupon benefit is offset by the tax added at checkout.

Can I use this as a coupon calculator for multiple codes?

This version accepts one coupon amount per calculation. To compare two coupon values, run the calculator twice with the same price, discount, tax, and quantity, changing only the coupon field.

Does the calculator support negative prices or discounts over 100%?

No. Price, coupon, and tax rate must be zero or positive. Discount must be between 0 and 100. Quantity must be a whole number of at least 1.

Why might my receipt differ by a penny?

Retailers sometimes round each line item before summing. This tool divides the full-precision total by quantity and then displays two decimal places, which can differ slightly from summing rounded per-line values.

Is my price data uploaded to a server?

No. All calculations run locally in your browser. Inputs are not transmitted or stored on Yaya Tools servers.

How is this different from the percentage calculator?

The percentage calculator solves general percentage problems—what percent one number is of another, percent increase or decrease, and "X% of Y." The discount calculator is built for checkout-style totals with coupons, tax, and quantity.

Can I calculate tip on a discounted restaurant bill?

Yes. First use this tool to find the discounted total (including tax if applicable). Then enter that amount in the tip calculator to add gratuity and split the bill among guests.

Does the tool include shipping or membership discounts?

No. It models item price, percentage discount, one coupon, tax, and quantity. Add shipping or membership savings separately when comparing final checkout costs.

Summary

The hardest part of a discounted total is usually the order of operations, not the arithmetic. Confirm how the retailer applies percentage markdowns, coupons, and tax, then run the numbers in one consistent sequence.

The Yaya Tools discount calculator gives you subtotal, discount savings, coupon deduction, tax, final total, per-item cost, and total savings—instantly and privately in your browser. Use it as a sale price calculator, percent off calculator, or coupon calculator whenever you need a clear answer before you buy.

For related math, explore the percentage calculator and tip calculator on Yaya Tools.