FormulaCraft

How to calculate sales tax in Excel and Google Sheets

Topic:Finance basics
Excel & Google Sheets
=A2*B2

Verified example

Computed by a real spreadsheet engine on the sample data below.

Pre-Tax PriceTax RateTax Amount
1000.08
2500.1
500.07
12000.09

=A2*B28

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Set up two columns: Pre-Tax Price (A) and Tax Rate as a decimal (B, e.g., 0.08 for 8%).
  2. 2In the Tax Amount column, enter =A2*B2 to calculate the tax amount.
  3. 3In a Total Price column, enter =A2*(1+B2) to get the pre-tax price plus sales tax in one step.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I calculate the tax from a total that already includes tax?

Use =A2-(A2/(1+B2)) where A2 is the tax-inclusive price and B2 is the tax rate.

Can I apply different tax rates to different items?

Yes. Put the tax rate in a column next to each item and multiply: =A2*B2. This automatically applies each item's own rate.

More on Finance basics

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: