Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Sales Calculator
Sales Calculators

Sales Calculator

Published onSeptember 1, 2025 Updated onOctober 25, 2026 7:22 am

A sale price on a tag is not what leaves your wallet. Quantity, a discount, and sales tax all land in between, and the order they apply in changes the total. This calculator runs the full register tape in one pass: unit price times quantity, minus a percentage or flat-dollar discount, plus tax on the discounted amount, with a per-unit sale price and an optional reverse solver that finds the unit price behind any target total.

$
Sales Calculator
Unit price, quantity, discount and tax in, full register tape out

Tax is applied after the discount, the way most US states charge it. The target field is a reverse solver: it finds the unit price that totals that amount.

Enter valid non-negative numbers for price, quantity, discount, and tax.

Quick Answer

Total = (unit price × quantity − discount) × (1 + tax rate ÷ 100), with tax charged on the discounted price. For the pre-filled sale, 2 units at $100 with 10% off and 8% tax, the total is $194.40: subtotal $200.00, discount $20.00, price after discount $180.00, per-unit sale price $90.00, tax $14.40. Against full price plus full tax ($216.00) the real saving is $21.60.

Key takeaways

  • Discount first, tax second. Tax is charged on what you actually pay, so a discount saves you tax money as well as price money.
  • Percentage and flat-dollar discounts are compared on one scale: the effective discount percentage, discount amount ÷ subtotal × 100.
  • A flat discount can never exceed the subtotal, and a percentage discount above 100% is capped at the subtotal. Totals never go negative.
  • The optional target field runs the tape backwards: give it an all-in total and it returns the unit list price that produces it.
On this page
  • Quick Answer
  • How to use the sales calculator
  • The sales formula: discount first, then tax
  • Worked example: two units, 10% off, 8% tax
  • Percent discount vs flat-dollar discount
  • Reverse solver: work backwards from a target total
  • How much you really saved
  • What competing calculators miss
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

How to use the sales calculator

Fill in the register tape from the top: price, quantity, discount, tax. Results stay hidden until you click Calculate.

  1. Enter the unit sale price and quantity. The pre-filled example is $100 and 2 units. Fractional quantities work too, so 2.5 is fine for weighed or cut goods.
  2. Enter the discount and pick its type. Percent (%) for offers like 10% off, flat dollars ($) for coupons like $30 off. The result restates either style as an effective percentage.
  3. Enter the tax rate. Use your combined state and local rate. The Tax Foundation sales tax rate tables list the combined state and average local rates if you do not know yours.
  4. Optionally, enter a target total. The reverse solver then adds a line naming the unit list price that lands exactly on that all-in total.
  5. Click Calculate. You get the headline total, a savings line measured against full price plus full tax, and the full breakdown. Copy or share it from the results box.

Blank, non-numeric, or negative entries in price, quantity, discount, or tax are rejected with the message “Enter valid non-negative numbers for price, quantity, discount, and tax.” The target field is the one exception: it is optional, it is never validated, and a blank or non-numeric target simply switches the solver off. If you only need the percentage a price drop represents, the discount percent calculator works that single step on its own.

The sales formula: discount first, then tax

The whole calculation is five lines, and the order is the part people get wrong. The discount comes off the subtotal first, and tax is then charged on the reduced amount.

Subtotal = unit price × quantity
Discount amount = subtotal × (discount % ÷ 100), or the flat dollar amount capped at the subtotal
Price after discount = subtotal − discount amount
Tax = price after discount × (tax rate ÷ 100)
Total = price after discount + tax
Per-unit sale price = price after discount ÷ quantity
1. Price × quantity → subtotal→ 2. Subtract the discount→ 3. Tax the discounted price→ 4. Add tax → total

Taxing the discounted price matches how most US states administer the tax: states collect it on the amount the customer actually pays, which is why both the Texas Comptroller’s sales tax guidance and Washington’s Department of Revenue retail sales tax pages describe the tax as applying to the selling price of the transaction. Manufacturer coupons and third-party reimbursements can be treated differently in some states, because the seller still receives the full price from someone. Store discounts, the kind this calculator models, reduce the taxable amount in the standard treatment. If your receipt shows tax on the pre-discount price, your state or the coupon type is the reason, not an arithmetic error.

Worked example: two units, 10% off, 8% tax

Two units at $100 each, a 10% discount, and 8% tax. Those values are pre-filled in the calculator, and every line below is what it prints.

LineWorkingAmount
Subtotal$100 × 2$200.00
Discount (10.00%)$200.00 × 10%−$20.00
After discount$200.00 − $20.00$180.00
Per-unit sale price$180.00 ÷ 2$90.00
Tax$180.00 × 8%+$14.40
Total$180.00 + $14.40$194.40

The savings line reads “You saved $21.60 vs full price + tax ($216.00).” That $21.60 is the $20 discount plus $1.60 of tax you never pay because the taxable amount dropped. Four more runs of the same tool, each typed in exactly as shown:

ScenarioInputsAfter discountTotal
Flat coupon beats 10% off$100 × 2, $30 flat off, 8% tax$170.00$183.60
No discount, no tax$50 × 3, 0% off, 0% tax$150.00$150.00
Coupon larger than the order$100 × 2, $999 flat off, 8% tax$0.00$0.00
Bulk order$25 × 4, 20% off, 5% tax$80.00$84.00

Percent discount vs flat-dollar discount

A percentage discount scales with the order; a flat discount does not. On a $200 subtotal, 10% off ($20) loses to a $30 coupon, and on a $2,000 subtotal the same 10% ($200) buries it.

QuestionPercent (%)Flat dollars ($)
How it is readA share of the subtotal: 10% of $200 is $20A fixed amount off: $30 off is $30 at any subtotal
Cap behaviourEntries above 100% are treated as 100%; the label still shows what you typed, so 150% prints as “Discount (150.00%)” while the amount caps at the subtotal and the effective rate reads 100.00%Capped at the subtotal: $999 off a $200 order deducts $200.00
Best forStorewide sales and tiered offers where the saving should grow with the basketCoupons, promo codes, and threshold offers such as $30 off $150

The bridge between the two styles is the effective discount percentage in every result: discount amount ÷ subtotal × 100. The $30 coupon on a $200 order reports an effective 15.00%, which is how you know it beats the 10% offer before tax even enters the picture. Sellers working the other direction, setting a price from cost, need a different tool: the markup percent calculator covers cost-to-price, and the final sale price calculator covers a single discounted item without quantity or tax.

Reverse solver: work backwards from a target total

Give the calculator an all-in total and it returns the unit list price that produces it. With 2 units, 10% off, and 8% tax, a $194.40 target returns “list price $100.00 per unit”, the worked example run backwards.

The solver strips the tax first (target ÷ (1 + tax rate)), then undoes the discount. The two discount styles undo differently: a percentage discount divides by the share you keep (1 − discount ÷ 100), while a flat discount adds the coupon back before dividing by quantity. A $183.60 target with a $30 flat coupon, 2 units, and 8% tax also returns $100.00 per unit, because $170.00 after the coupon plus $30 is the $200.00 subtotal. Two honest limits: with a 100% percentage discount no positive target is reachable, and the solver says so outright; and with quantity zero there is no per-unit price to find, so it reports the same “No valid unit price” line. Planning the revenue side of a sale rather than the price side is a different question, and the sales multiplier calculator handles it by scaling a base sales figure forward, backwards, or to a target.

How much you really saved

Your real saving is the discount plus the tax the discount removes. In the worked example that is $21.60, not the $20.00 on the discount line.

The savings line compares your total against the same order at full list price with tax charged on all of it: $200.00 × 1.08 = $216.00. Every dollar of discount therefore saves you $1.08 at an 8% rate, a point most receipt math hides. When no discount is applied the line changes its wording to “No discount applied: total equals full price + tax”, including the zero-quantity and zero-price cases where the whole tape is $0.00. One display note: the savings and reverse lines are shown in the results box but are not part of the copied text. Copy and Share carry the headline total plus the six-line breakdown only.

What competing calculators miss

Most tools split this one register tape across several pages, or quietly drop lines from it:

  • CalculatorSoup: the discount calculator and the sales tax calculator are separate pages, so you carry a number from one into the other by hand. Its page actually named “Sales Calculator” solves a different problem entirely (cost, revenue, profit, markup, and margin from two known values), which confuses anyone who just wants a sale total.
  • Savvy Calculator’s sales volume and total sales tools: percentage discounts only, with no flat-dollar mode and no effective-percentage comparison. The total sales version adds a shipping field this tool does not model, but it prints only a subtotal and a total, with no per-unit price, no savings line, and no reverse solver.
  • CalcChamp’s revenue calculator: built for sellers, adding cost per unit, gross profit, and margin. Useful for margin work, wrong shape for a shopper or a cashier checking a receipt, and it still offers no target-total solver.
  • CSGNetwork’s sales markdown tool: an early-web page with separate calculate buttons per step, and no quantity, tax, or per-unit read-out at all.
  • The gap this page fills: quantity, both discount styles with an effective-percentage bridge, tax on the discounted price, a per-unit sale price, a savings line measured against full price plus full tax, and a reverse solver for a target total, in one pass.

Frequently asked questions

Yes: enter the target total including tax and the calculator works backwards through discount and tax to the unit price. With 2 units, 10% off, and 8% tax, a $194.40 target means a $100.00 list price per unit.

After, in most US states. Tax is computed on the price you actually pay, so the calculator discounts first and then applies tax to the discounted amount.

Subtract the flat amount from the subtotal, never below zero: discount amount equals the smaller of the flat dollars and the subtotal. A $30 coupon on a $200 order gives a $170.00 price after discount, an effective 15.00% discount.

Effective discount percent equals discount amount divided by subtotal times 100. It puts percentage and flat-dollar discounts on the same scale.

The discount is capped at the subtotal, so the price after discount floors at $0.00 and the total is $0.00. Totals can never go negative.

The calculator treats it as 100% for the amount, so the discount equals the subtotal and the total is $0.00. The breakdown label still shows the percentage you typed, for example Discount (150.00%), while the effective rate reads 100.00%.

Per-unit sale price equals the price after discount divided by quantity. For two $100 units at 10% off, that is $180.00 divided by 2, or $90.00 per unit before tax.

It adds tax on top of the discounted price, the way a store receipt works. It does not do reverse tax math.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. Tax Foundation. Sales Tax Rates: State and Local Sales Tax Rates (combined state and average local rates, the source for finding the tax rate to enter). Accessed October 24, 2026.
  2. Texas Comptroller of Public Accounts. Sales Tax (state administration of sales tax on the selling price of a transaction). Accessed October 24, 2026.
  3. Washington State Department of Revenue. Retail Sales Tax (how retail sales tax applies to the selling price, including discount treatment). Accessed October 24, 2026.
  4. U.S. Small Business Administration. Understand Your Federal, State, and Local Tax Obligations (seller obligations for collecting and remitting sales tax). Accessed October 24, 2026.
  5. Internal Revenue Service. Topic No. 503, Deductible Taxes (when sales tax paid can matter on a tax return, including the sales tax deduction election). Accessed October 24, 2026.

Related calculators

Sales CalculatorsAttainment Percentage CalculatorQuota attainment is the language sales teams speak: the percentage of target actually achieved, the number that decides commissions, rankings, and sometimes jobs.Sales CalculatorsSales Multiplier CalculatorA sales multiplier compresses growth into one number: 1.5x means sales grew to one and a half times the base, 0.8x means they shrank to four fifths of it.Sales CalculatorsSales Rate Calculator“Sales rate” means two different things, and mixing them up is the most common mistake on this topic.Sales Calculators60/40 Commission CalculatorMost people who search for a 60/40 split do not actually have a commission figure yet.Sales CalculatorsFinder’s Fee CalculatorA finder's fee is the payment owed to the person who introduced the parties to a deal, and this calculator...Sales CalculatorsSales Per Labor Hour CalculatorLabor is usually the biggest cost a manager can actually control, and sales per labor hour (SPLH) is the...

We use cookies to analyze traffic. You can accept or decline cookies below. Learn more

calculatorzilo

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy Affiliate Disclosure FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search