How to Calculate Tax from Total Amount: Formula and Examples
When you know the total price of a product or service but need to find out how much tax is included in that amount, you can calculate it using a simple formula. This is useful when checking receipts, reviewing invoices, comparing prices, or understanding the tax portion of a purchase.
The calculation depends on whether the total amount already includes tax or whether tax must be added to the original price. These are two different calculations, and using the wrong formula can give you an incorrect result.
In this guide, you will learn how to calculate tax from a total amount, find the original price before tax, and work through examples using different tax rates.
How to Calculate Tax from Total Amount
If the total amount already includes sales tax, divide the total by one plus the tax rate expressed as a decimal. Then subtract the original price from the total to find the tax amount.
Formula to find the price before tax:
Pre-tax Amount = Total Amount ÷ (1 + Tax Rate ÷ 100)
Formula to find the included tax:
Tax Amount = Total Amount − Pre-tax Amount
For example, if the total price is $1,180 and the tax rate is 18%, the original price before tax is $1,000, and the tax included in the total is $180.
Step-by-Step Example: Finding 18% Tax from a Total Amount
Suppose you paid $1,180 for an item, and the total price includes 18% sales tax. You want to know the original price and the amount of tax.
Step 1: Identify the total amount and tax rate
Total amount: $1,180
Tax rate: 18%
Step 2: Convert the tax rate into a decimal
Divide the tax rate by 100:
18 ÷ 100 = 0.18
Step 3: Add 1 to the decimal tax rate
1 + 0.18 = 1.18
Step 4: Calculate the price before tax
$1,180 ÷ 1.18 = $1,000
Step 5: Calculate the included tax
$1,180 − $1,000 = $180
The final breakdown is:
Original price before tax: $1,000
Included tax: $180
Total amount paid: $1,180
This method works because the total price represents 118% of the original price when an 18% tax has been added.
Quick Formula for Different Tax Rates
You can use the same formula for different tax rates. Divide the tax-inclusive total by the relevant multiplier to find the original price.
| Tax rate | Divide total by | Example total | Tax included |
|---|---|---|---|
| 5% | 1.05 | $105.00 | $5.00 |
| 10% | 1.10 | $110.00 | $10.00 |
| 15% | 1.15 | $115.00 | $15.00 |
| 18% | 1.18 | $118.00 | $18.00 |
| 20% | 1.20 | $120.00 | $20.00 |
These examples use totals chosen to make the calculations easy to follow. Your result will depend on the actual total amount and applicable tax rate.
How to Calculate 10% Tax from a Total Amount
Suppose a receipt shows a total of $220, including 10% tax.
First, find the original price:
$220 ÷ 1.10 = $200
Next, subtract the original price from the total:
$220 − $200 = $20
Therefore, the pre-tax price is $200, and the included tax is $20.
Notice that the tax is not calculated by taking 10% of $220. That would give $22, which is incorrect when you are extracting tax from a tax-inclusive total.
How to Calculate 5% Tax from a Total Amount
Suppose the total amount is $210, and it includes 5% tax.
Pre-tax amount:
$210 ÷ 1.05 = $200
Tax amount:
$210 − $200 = $10
The original price is $200, the included tax is $10, and the final amount is $210.
What If Tax Needs to Be Added to the Original Price?
The calculation changes when the original price does not include tax.
For example, suppose an item costs $1,000 before tax, and the tax rate is 18%.
First, calculate the tax:
Tax = $1,000 × 18 ÷ 100 = $180
Then add the tax to the original price:
Total Amount = $1,000 + $180 = $1,180
The formulas for adding tax are:
Tax Amount = Original Price × Tax Rate ÷ 100
Total Amount = Original Price + Tax Amount
Use these formulas when tax is added to a pre-tax price. Use the tax-inclusive formula when you already know the final total and want to extract the tax portion.
How to Calculate the Tax Percentage from a Total Amount
Sometimes you know the original price and the final price but do not know the tax rate.
You can calculate the tax percentage using this formula:
Tax Rate (%) = (Tax Amount ÷ Original Price) × 100
First, find the tax amount:
Tax Amount = Total Amount − Original Price
For example, suppose the original price is $500 and the total price is $575.
Tax amount:
$575 − $500 = $75
Tax rate:
($75 ÷ $500) × 100 = 15%
The tax rate is 15%.
This calculation assumes that the difference between the original and final prices represents tax only, with no additional fees or discounts.
Common Mistakes When Calculating Tax
A few common errors can lead to incorrect results.
1. Calculating the tax directly from the final total
If the final total already includes tax, multiplying it directly by the tax percentage usually overstates the tax amount. Use the tax-inclusive formula instead.
2. Confusing tax-inclusive and tax-exclusive prices
A tax-inclusive price already contains tax. A tax-exclusive price does not. Confirm which type of price you have before choosing a formula.
3. Using the wrong tax rate
The applicable rate can vary by location, product, service, and transaction type. Check the rate that applies to your purchase rather than assuming every item uses the same percentage.
4. Ignoring rounding rules
Calculations may produce fractions of a cent or paisa. The final amount shown on a receipt may differ slightly because of rounding rules or the way tax is calculated across multiple items.
5. Assuming every price difference is tax
Shipping fees, service charges, discounts, and other adjustments may affect the final amount. If these are included, identify them separately before calculating the tax.
Frequently Asked Questions
How do I calculate tax from a total amount?
If the total already includes tax, divide it by 1 plus the tax rate divided by 100. Subtract the resulting pre-tax amount from the total to find the included tax.
How do I remove 18% tax from a total price?
Divide the tax-inclusive total by 1.18 to find the original price. Subtract that result from the total to calculate the tax amount.
For example, a total of $1,180 includes $180 in tax at an 18% rate.
Is tax calculated on the original price or the final price?
When tax is added to a purchase, it is generally calculated on the applicable taxable price before tax. When you extract tax from a final, tax-inclusive amount, you must use the tax-inclusive formula instead.
Can I use this formula for any tax percentage?
Yes, the mathematical formula works for any non-negative percentage rate when the total includes tax applied at that rate. However, actual tax rules, exemptions, multiple rates, and rounding requirements may affect real invoices.
How do I calculate sales tax on a calculator?
For a tax-inclusive total, divide the total amount by the sum of 1 and the tax rate expressed as a decimal. Subtract the result from the original total. For tax added to an original price, multiply the original price by the tax rate divided by 100.
Is sales tax the same as income tax?
No. Sales tax is generally charged on taxable goods or services, while income tax is based on taxable income under the applicable tax rules. Salary or annual income tax requires a different calculation.
Final Thoughts
Calculating tax from a total amount is straightforward once you know whether the price already includes tax. For a tax-inclusive total, divide by one plus the tax rate expressed as a decimal to find the original price, then subtract that price from the total to find the tax.
For prices before tax, calculate the tax by multiplying the original price by the applicable rate and adding the result to the original price.
Always confirm the correct tax rate and any applicable local rules before using the result for accounting, invoices, or tax reporting.
