tax
Sales Tax Calculator
Calculate before-tax price, sales tax rate, after-tax price, and tax amount from any two known values.
other calculator
The Discount Calculator models one arithmetic discount at a time. It can find the final price from an original price and discount, solve the discount from original and final prices, or reverse the selected formula to estimate the original price.
Your scenario
Working scenario
Not saved yet
Saved scenarios
Save this result, then use saved scenarios to switch between assumptions.
Use this calculator for percent-off markdowns, fixed-amount coupons, classroom percent problems, or quick checks of amount saved and effective discount percent. Use Sales Tax or VAT when a tax-rate estimate should be layered on later, Margin when the question is business markup or profit, Payment when a discounted price feeds a financing estimate, and ROI when the question is return from money invested.
For final-price percent mode, savings equal original price * discount / 100, and final price is max(0, original price - savings). For final-price fixed-amount mode, savings are the entered discount amount, final price is max(0, original price - discount amount), and effective discount percent is savings divided by original price. Discount-solve mode compares original price with final price and uses max(0, original price - final price) as savings. Original-price percent solve divides final price by max(0.000001, 1 - discount / 100). Original-price fixed-amount solve adds the fixed discount back to the final price.
This formula page covers the app's Discount Calculator: percent-off discounts, fixed-amount discounts, final sale price, amount saved, effective discount percent, discount-rate solves, and original-price reverse solves. It does not model sales tax, VAT, shipping, service fees, retailer rounding rules, stackable coupons, rebates, loyalty pricing, minimum-spend rules, or jurisdiction-specific consumer-pricing law.
percent mode: S = O * d; F = max(0, O - S); fixed mode: S = A; F = max(0, O - A); effective percent = S / O * 100; discount solve: S = max(0, O - F); original percent solve: O = F / max(0.000001, 1 - d); original fixed solve: O = F + A
The calculator either subtracts a percent of the original price, subtracts a fixed amount, compares original and final prices to solve the discount, or reverses the selected discount formula to estimate the original price.| Symbol | Meaning | How this page uses it |
|---|---|---|
| O | Original price | The price before discount, entered as Price before discount or solved from the final price. |
| F | Final price | The estimated price after the discount, before any tax, shipping, fees, or retailer-specific adjustments. |
| d | Percent-off rate | The entered discount percentage divided by 100, so 15 percent is used as 0.15 in percent mode. |
| A | Fixed discount amount | The entered currency amount subtracted from the original price in fixed-amount mode. |
| S | Savings amount | The discount amount reported as Discount amount and Amount saved. |
| p | Effective discount percent | The savings amount divided by original price, displayed as Discount percent and Savings rate. |
| R | Remaining price factor | One minus the percent-off rate. Original-price percent solve uses this value, with a tiny positive floor to avoid dividing by zero. |
The default final-price example uses a $59.99 original price and a 15 percent discount. The validation fixtures also cover a $20 fixed discount, a discount-rate solve, and an original-price reverse solve.
The calculator explains the arithmetic relationship between original price, discount, and final price. It does not prove what a retailer will charge at checkout once tax, fees, shipping, coupon stacking, and rounding policies are applied.
Geographic scope: works globally. The math is currency-agnostic, so enter amounts in your own currency; local taxes, fees, and product rules are not included.
Use the reverse solve. For a percent discount, original = final price ÷ (1 − rate ÷ 100): a $50.99 sale price at 15 percent off backs out to $59.99. For a fixed-amount discount it is simply final price plus the amount taken off. This is the mode to use when a tag shows only the sale price and you want to judge how good the deal actually is.
Not in one pass - it models a single discount at a time, because stacked percentages do not add. A 20 percent coupon on top of 30 percent off is 44 percent total, not 50, since the second percentage applies to the already-reduced price. To model stacking, run the calculator twice, feeding the first result in as the second run's starting price.
It is the pre-checkout arithmetic only. Sales tax, VAT, shipping, service or environmental fees, and retailer-specific rounding rules are all outside this calculator - tax in particular is often charged on the discounted price, which the Sales Tax Calculator on this site handles. The effective-percent output is still handy for comparing a fixed-amount coupon against a percentage deal on the same item.
This calculator is an original single-discount arithmetic model with percent and fixed-amount modes plus reverse solves for the discount rate and the original price, validated by deterministic fixtures, edge cases, and rounding policy tests. It is not copied from a single source.
Fixtures pin the $59.99-at-15-percent default, zero-floor clamping, and each reverse solve. The result remains an educational estimate, not a checkout total once tax, fees, or retailer rounding apply.
Formula version 2026.05.22-generic-discount. The version marks the calculation logic and validation fixture set used for this estimate.
Results are educational estimates, not advice. Read the full disclaimer.
tax
Calculate before-tax price, sales tax rate, after-tax price, and tax amount from any two known values.
tax
Calculate VAT-inclusive price, VAT-exclusive price, VAT rate, or tax amount from two known values.
other
Calculate profit margin, stock trading margin requirement, or currency exchange margin from clear business and trading inputs.
loan
Solve either the monthly payment for a fixed-term loan or the payoff time for a fixed monthly payment.
investment
Estimate return on investment, gain or loss, and annualized return from investment amounts and time held.