other
Discount Calculator
Calculate sale price, amount saved, discount rate, or original price for percent-off and fixed-amount discounts.
tax calculator
The Sales Tax Calculator models the arithmetic relationship between a before-tax price, an entered sales tax rate, the tax amount, and the after-tax price. It can add tax, remove tax from a tax-inclusive total, or estimate an effective entered rate from before-tax and after-tax prices.
Your scenario
Working scenario
Not saved yet
Saved scenarios
Save this result, then use saved scenarios to switch between assumptions.
Use this calculator when you already have a rate assumption and want to check checkout arithmetic, read a receipt, or compare a tax-exclusive price with a tax-inclusive total. Use Discount before Sales Tax when a markdown changes the taxable starting price, VAT when the question is a VAT-style net or gross price, Payment or Loan Payment when the tax-inclusive amount feeds a financing estimate, and official state, local, or tax authority tools when you need a current rate or rule.
For after-tax price, convert the entered rate to a decimal with r = sales tax rate / 100, calculate tax amount = before-tax price * r, and after-tax price = before-tax price + tax amount. For before-tax reverse solve, before-tax price = after-tax price / (1 + r), then tax amount is max(0, after-tax price - before-tax price). For rate solve, tax amount is max(0, after-tax price - before-tax price), and sales tax rate = tax amount / before-tax price * 100 when before-tax price is greater than 0; if before-tax price is 0, the app returns 0 percent instead of dividing by zero.
This formula page covers the app's Sales Tax Calculator: a generic three-value checkout model for before-tax price, user-entered sales tax rate, sales tax amount, and after-tax price. It can add tax, remove tax from a tax-inclusive total, or derive an effective rate from before-tax and after-tax prices. It does not look up state, county, city, district, product, exemption, use-tax, shipping, marketplace, filing, or deduction rules.
r = R / 100; T = B * r; A = B + T; reverse before-tax: B = A / (1 + r); effective rate: R = max(0, A - B) / B * 100 when B > 0, otherwise 0
The calculator converts the entered percentage to a decimal rate, adds tax to a before-tax price, reverses a tax-inclusive total by dividing by one plus the rate, or compares before-tax and after-tax prices to solve an effective entered rate.| Symbol | Meaning | How this page uses it |
|---|---|---|
| B | Before-tax price | The price before sales tax, entered as Before tax price or solved from the after-tax total. |
| R | Sales tax rate | The entered or solved percentage shown as Sales tax rate. This app treats it as a user-entered assumption, not an official lookup. |
| r | Decimal tax rate | The sales tax rate divided by 100, so 6.5 percent is used as 0.065. |
| T | Sales tax amount | The currency amount reported as Sales tax amount. |
| A | After-tax price | The checkout total after adding the modeled tax amount. |
| D | Price difference | The nonnegative difference between after-tax price and before-tax price when solving the effective tax rate. |
The default calculator inputs use a $100 before-tax price and a 6.5 percent entered rate. That 6.5 percent value is an example assumption, not a current official rate for any location.
The formula explains the arithmetic relationship between before-tax price, entered rate, tax amount, and after-tax total. It does not prove what a retailer, marketplace, receipt, tax return, or tax authority will use.
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.
Convert the rate to a decimal and multiply: tax = price × (rate ÷ 100), and the after-tax total is price + tax. With the calculator's default example, a $100.00 purchase at 6.5 percent produces $6.50 of tax and a $106.50 total. The full derivation, including the reverse and effective-rate forms, is documented in the formula section of this page.
Use the reverse solve: before-tax price = after-tax total ÷ (1 + rate ÷ 100). For example, a $106.50 receipt total at a 6.5 percent rate backs out to a $100.00 pre-tax price. This is the calculation to use when a receipt or listing shows only the tax-inclusive amount and you need the base price for expensing, bookkeeping, or price comparison.
No. You enter the rate, and the default 6.5 percent is an illustrative input, not an official rate for any jurisdiction. US sales tax is set by state, county, city, and special districts, and the combined rate depends on the delivery or purchase address and the product category. Look up your combined rate with your state's department of revenue, then enter it here.
Enter the before-tax price and the after-tax total, and the calculator derives the effective rate: (total − price) ÷ price × 100. This is useful for checking a receipt where multiple line items or a district surcharge make the rate unclear. If the derived rate looks wrong, part of the total may be a non-tax charge such as a deposit, fee, or tip, which this arithmetic cannot separate.
The arithmetic is the same three-value relationship, so it works as a generic estimate anywhere you know the rate. But VAT systems usually quote prices tax-inclusive and have their own invoicing rules, so use the dedicated VAT calculator on this site for net-price, gross-price, and VAT-amount solves - it is built around tax-inclusive pricing conventions.
This calculator is an original three-value model linking before-tax price, an entered rate, tax amount, and after-tax total, with add, remove, and effective-rate solves each pinned by deterministic fixtures and rounding policy tests. It is not copied from a single source.
Fixtures pin the $100-at-6.5-percent default and the reverse tax-inclusive solve. The result remains an educational estimate, not an official rate lookup or a tax-authority determination for any jurisdiction.
Formula version 2026.05.22-generic-sales-tax. The version marks the calculation logic and validation fixture set used for this estimate.
Results are educational estimates, not advice. Read the full disclaimer.
other
Calculate sale price, amount saved, discount rate, or original price for percent-off and fixed-amount discounts.
tax
Calculate VAT-inclusive price, VAT-exclusive price, VAT rate, or tax amount from two known values.
loan
Solve either the monthly payment for a fixed-term loan or the payoff time for a fixed monthly payment.
loan
Estimate monthly payment, total paid, and total interest for an amortizing loan at a fixed rate.
other
Calculate profit margin, stock trading margin requirement, or currency exchange margin from clear business and trading inputs.