WorkCalc

Search calculators

Search by name, category, or keyword

Sales Tax Calculator

Add sales tax to a price, or back out the pre-tax price from a tax-included total.

Updated Aug 10, 2026Formula and worked examples belowHow we check the math

Total with tax

$107.00

Tax amount
$7.00
Price before tax
$100.00

How it is calculated

To add tax to a price, multiply by 1 plus the tax rate as a decimal. To go the other way, work backward from a receipt total that already includes tax, divide by 1 plus the tax rate to recover the pre-tax price, then the tax amount is the difference between the two.

Formula

Total = Price Before Tax × (1 + Tax Rate ÷ 100). Price Before Tax = Total ÷ (1 + Tax Rate ÷ 100).

Worked examples

Each one is run through this calculator's code before it's published.

  1. $100.00 before tax, 7% sales tax

    $107.00 total ($7.00 tax)

  2. $107.00 total (tax included), 7% sales tax

    $100.00 before tax ($7.00 tax)

Questions people ask