{
  "id": "canadian-sales-tax",
  "version": "0b8deb356961",
  "status": "published",
  "name": "Canadian Sales Tax Calculator",
  "question": "What GST, HST, or PST do I pay?",
  "summary": "Adds GST, HST, and provincial sales tax to a price in any province or territory of Canada, or takes them out of a total that includes tax.",
  "category": "finance",
  "subcategory": "tax-and-pay",
  "url": "https://www.acalculator.org/finance/canadian-sales-tax-calculator",
  "markdown": "https://www.acalculator.org/finance/canadian-sales-tax-calculator.md",
  "kind": "function",
  "method": "Rate = GST or HST + PST or QST. Before tax: GST/HST = price × GST/HST rate ÷ 100, PST = price × PST rate ÷ 100, total = price + both. Including tax: price = total ÷ (1 + rate ÷ 100), then the same split.",
  "assumptions": [
    "Rates in force in 2026: GST 5% everywhere; HST 13% in Ontario, 14% in Nova Scotia (since April 1, 2025), 15% in New Brunswick, Newfoundland and Labrador, and Prince Edward Island; PST 7% in British Columbia, RST 7% in Manitoba, PST 6% in Saskatchewan, QST 9.975% in Quebec.",
    "Each tax is charged on the price before tax (Quebec has charged QST on the price without GST since 2013).",
    "Not modelled: zero-rated and exempt goods (basic groceries, prescription drugs), point-of-sale rebates, and special PST rates on items such as cars, liquor, or accommodation. Tax is not rounded until it is shown."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "mode": {
        "title": "The amount is",
        "description": "Whether the amount is the price before tax (add tax) or a total that includes tax (take tax out).",
        "type": "string",
        "enum": [
          "add",
          "remove"
        ]
      },
      "amount": {
        "title": "Amount",
        "description": "The price before tax, or the total with tax, in Canadian dollars, as chosen above.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0,
        "maximum": 1000000000
      },
      "prov": {
        "title": "Province or territory",
        "description": "Where the sale takes place; its GST or HST and provincial sales tax rates are used.",
        "type": "string",
        "enum": [
          "AB",
          "BC",
          "MB",
          "NB",
          "NL",
          "NT",
          "NS",
          "NU",
          "ON",
          "PE",
          "QC",
          "SK",
          "YT"
        ]
      }
    }
  },
  "outputs": {
    "tax": {
      "label": "Total sales tax",
      "description": "GST or HST plus any provincial sales tax.",
      "format": "money"
    },
    "total": {
      "label": "Total with tax",
      "description": "The price plus all sales tax.",
      "format": "money"
    },
    "price": {
      "label": "Price before tax",
      "description": "The price the taxes are charged on.",
      "format": "money"
    },
    "gstHst": {
      "label": "GST or HST",
      "description": "The federal GST (5%), or the harmonized sales tax in a province that has one.",
      "format": "money"
    },
    "pst": {
      "label": "PST or QST",
      "description": "The provincial sales tax (PST, RST, or QST); 0 where the province has none or charges HST.",
      "format": "money"
    },
    "rate": {
      "label": "Combined rate",
      "description": "GST or HST plus provincial sales tax, in percent.",
      "format": "percent"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "mode": "add",
      "amount": 100,
      "prov": "ON"
    },
    "outputs": {
      "tax": 13,
      "total": 113,
      "price": 100,
      "gstHst": 13,
      "pst": 0,
      "rate": 13
    },
    "text": "At 13% in total, the sales tax on $100.00 is $13.00, for $113.00 in all."
  },
  "examples": [
    {
      "given": {
        "mode": "add",
        "amount": 100,
        "prov": "ON"
      },
      "expect": {
        "rate": 13,
        "gstHst": 13,
        "pst": 0,
        "tax": 13,
        "total": 113
      },
      "source": "CRA GST/HST rates, https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html; hand calculation in content.mdx: Ontario HST 13%; Python 3: 100*13/100"
    },
    {
      "given": {
        "mode": "add",
        "amount": 250,
        "prov": "QC"
      },
      "expect": {
        "rate": 14.975,
        "gstHst": 12.5,
        "pst": 24.9375,
        "tax": 37.4375,
        "total": 287.4375
      },
      "source": "CRA GST/HST rates, https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html; hand calculation in content.mdx: GST 5% and QST 9.975%, both on the price; Python 3: 250*0.05, 250*0.09975"
    },
    {
      "given": {
        "mode": "remove",
        "amount": 112,
        "prov": "BC"
      },
      "expect": {
        "rate": 12,
        "price": 100,
        "gstHst": 5,
        "pst": 7,
        "tax": 12
      },
      "source": "CRA GST/HST rates, https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html; hand calculation in content.mdx: GST 5% and BC PST 7%; reverse: 112 ÷ 1.12; Python 3: 112/1.12"
    },
    {
      "given": {
        "mode": "add",
        "amount": 80,
        "prov": "AB"
      },
      "expect": {
        "rate": 5,
        "gstHst": 4,
        "pst": 0,
        "tax": 4,
        "total": 84
      },
      "source": "CRA GST/HST rates, https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html; hand calculation in content.mdx: Alberta charges GST only"
    },
    {
      "given": {
        "mode": "add",
        "amount": 100,
        "prov": "NS"
      },
      "expect": {
        "rate": 14,
        "tax": 14,
        "total": 114
      },
      "source": "CRA GST/HST rates, https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html; hand calculation in content.mdx: Nova Scotia HST 14% since April 1, 2025"
    }
  ],
  "sources": [
    "Canada Revenue Agency, GST/HST rates: which rate to charge (retrieved 2026-10-05). https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
  ],
  "related": [
    "sales-tax",
    "reverse-sales-tax",
    "canadian-mortgage"
  ],
  "changelog": []
}
