Finance

Sales Tax Calculator

Add or remove GST, HST, PST or QST for any Canadian province, or a US or custom rate, with each tax shown separately and reverse results that are exact to the cent.

Price and tax
Results update as you type.

HST 13% is 5% federal plus 8% provincial.

$
Total including tax
$113.00
$100.00 + $13.00 tax
Price before tax
$100.00
Total tax
$13.00
13% combined
Breakdown
Price before tax
$100.00
HST (13%)Harmonized sales tax (federal 5% plus the provincial part)
$13.00
Total including tax
$113.00

About this tool

The Sales Tax Calculator works out sales tax both ways as you type. Add tax to a price before tax, or take it out of a total that already includes tax, for every Canadian province and territory: HST in Ontario (13%), Nova Scotia (14% since April 1, 2025), New Brunswick, Newfoundland and Labrador and PEI (15%); GST plus QST in Quebec; GST plus PST in British Columbia and Saskatchewan; GST plus RST in Manitoba; and GST alone in Alberta and the territories. Each tax is shown on its own line and rounded to the cent separately, the way a receipt shows it, and the calculator tells you when that rounding makes the total a cent different from applying the combined rate in one step. For the US, enter your combined state and local rate, or set up to four custom taxes. Reverse results are exact: the price before tax, taxed forward, gives back your total to the cent, and when no price can (some totals are skipped by rounding) it says so and shows the nearest prices. Quantity times unit price is built in, and everything is calculated in your browser.

How to use the Sales Tax Calculator

  1. Choose Add tax to a price, or Remove tax from a total.
  2. Pick your province or territory, or choose United States or Custom and enter the rate.
  3. Type the price before tax (or the quantity and unit price), or the total including tax.
  4. Read the price before tax, each tax and the total, and copy any amount with its copy button.

Use it from your code

The Sales Tax Calculator is also a REST API endpoint. Create a free API key and call it from your own scripts and apps.

# Add Ontario HST to a price
curl -X POST https://opentools.ca/api/v1/tools/sales-tax-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "mode": "add",
  "amount": 100,
  "region": "ON"
}'

# Remove a US combined rate from a total
curl -X POST https://opentools.ca/api/v1/tools/sales-tax-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "mode": "remove",
  "amount": 108.25,
  "rates": [
    {
      "name": "Sales tax",
      "rate": 8.25
    }
  ]
}'

Give us your feedback

Help us improve Sales Tax Calculator!

Frequently asked questions

What are the current sales tax rates in Canada?

GST is 5% everywhere. HST replaces it at 13% in Ontario, 14% in Nova Scotia (since April 1, 2025) and 15% in New Brunswick, Newfoundland and Labrador and PEI. Quebec adds QST of 9.975%, British Columbia PST of 7%, Manitoba RST of 7% and Saskatchewan PST of 6%. Alberta and the territories charge GST only. Rates were last checked in November 2026; some goods and services are exempt or taxed differently.

How do I work out the price before tax from a total?

Choose Remove tax from a total and enter the amount you paid. The calculator finds the price before tax that, with each tax rounded to the cent, gives exactly that total, and shows the tax portion.

Why does it say no price gives my total?

Because tax is rounded to the cent, one more cent of price can add two cents to the total, so some totals are skipped. For example, with 13% HST, $8.88 comes to $10.03 and $8.89 to $10.05, so no price gives $10.04. The calculator then shows the two nearest prices and the usual split; the receipt probably rounded per item or used a different rate.

Why is my Quebec or BC tax a cent different from 14.975% or 12%?

Receipts round each tax separately: GST to the cent, then QST or PST to the cent. Adding two rounded amounts can differ by a cent from rounding the combined rate once. The calculator follows the receipt and tells you when the two differ.

Why is there no list of US state rates?

Most US sales tax is a state rate plus county, city and special district rates that change by address, so there are thousands of combinations. Enter the combined rate from your receipt or your state's rate lookup.

Is anything I enter sent anywhere?

No. All the maths runs in your browser. Only your chosen region and custom rates are remembered, in this browser's local storage.

Sales Tax Calculator screenshot