{
  "id": "v20-ca-sales-tax",
  "version": "20.16.0",
  "name": "Sales Tax Calculator — Canada",
  "shortName": "Sales Tax",
  "description": "Add or extract general retail tax with dated Canadian rates or a US state/base reference plus your separately verified local component. A population-weighted state average is never used as a transaction rate. CAD planning view; stated limitations apply.",
  "category": "Finance",
  "categorySlug": "finance",
  "keywords": [
    "sales-tax",
    "ca",
    "tax-authority"
  ],
  "status": "live",
  "workStatus": "pending",
  "reviewStatus": "pending",
  "migrationStatus": "new",
  "engine": "native",
  "creator": null,
  "reviewer": null,
  "quality": {
    "availability": "live",
    "technicalReviewRecord": "/reviews/v20-ca-sales-tax.json",
    "qualifiedReview": "pending",
    "qualifiedReviewer": null,
    "qualifiedReviewDate": null,
    "formulaVersion": "20.16.0",
    "referenceCoverage": "references-listed",
    "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
    "historicalMetadataDate": "",
    "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
  },
  "notice": "Illustrative defaults are not local quotes or verified legal rules. Dated reference components and user-entered assumptions are explicitly distinguished. Professional review is pending.",
  "urls": {
    "page": "/ca/sales-tax/",
    "definition": "/ca/sales-tax/definition.json",
    "schema": "/ca/sales-tax/schema.json",
    "llms": "/ca/sales-tax/llms.txt",
    "legacyDefinition": "/ca/sales-tax/definition.json"
  },
  "queryExample": "https://askcalculators.com/ca/sales-tax/?amount=100&direction=exclusive&province=ON",
  "queryParameters": {
    "amount": {
      "label": "Amount",
      "type": "money",
      "required": true,
      "default": 100
    },
    "direction": {
      "label": "Amount includes tax?",
      "type": "select",
      "required": true,
      "default": "exclusive"
    },
    "province": {
      "label": "Canadian province/territory",
      "type": "select",
      "required": true,
      "default": "ON"
    }
  },
  "inputs": [
    {
      "id": "amount",
      "label": "Amount",
      "type": "money",
      "defaultValue": 100,
      "required": true,
      "min": 0,
      "max": 1000000000000,
      "step": 0.01,
      "prefix": "CAD",
      "help": "Illustrative starting value; replace with your own evidence."
    },
    {
      "id": "direction",
      "label": "Amount includes tax?",
      "type": "select",
      "required": true,
      "defaultValue": "exclusive",
      "options": [
        {
          "value": "exclusive",
          "label": "Add tax to price"
        },
        {
          "value": "inclusive",
          "label": "Extract tax from total"
        }
      ]
    },
    {
      "id": "province",
      "label": "Canadian province/territory",
      "type": "select",
      "required": true,
      "defaultValue": "ON",
      "options": [
        {
          "value": "NL",
          "label": "Newfoundland and Labrador"
        },
        {
          "value": "PE",
          "label": "Prince Edward Island"
        },
        {
          "value": "NS",
          "label": "Nova Scotia"
        },
        {
          "value": "NB",
          "label": "New Brunswick"
        },
        {
          "value": "QC",
          "label": "Quebec"
        },
        {
          "value": "ON",
          "label": "Ontario"
        },
        {
          "value": "MB",
          "label": "Manitoba"
        },
        {
          "value": "SK",
          "label": "Saskatchewan"
        },
        {
          "value": "AB",
          "label": "Alberta"
        },
        {
          "value": "BC",
          "label": "British Columbia"
        },
        {
          "value": "YT",
          "label": "Yukon"
        },
        {
          "value": "NT",
          "label": "Northwest Territories"
        },
        {
          "value": "NU",
          "label": "Nunavut"
        }
      ]
    }
  ],
  "outputs": [
    {
      "id": "before",
      "label": "Price before tax",
      "format": "currency",
      "digits": 2,
      "currency": "CAD"
    },
    {
      "id": "ratePercent",
      "label": "Combined rate used, %",
      "format": "number",
      "digits": 2
    },
    {
      "id": "tax",
      "label": "Sales tax",
      "format": "currency",
      "digits": 2,
      "currency": "CAD"
    },
    {
      "id": "total",
      "label": "Total including tax",
      "format": "currency",
      "digits": 2,
      "primary": true,
      "currency": "CAD"
    }
  ],
  "formula": {
    "expression": "Exclusive tax = price × combined rate. Inclusive pretax price = total / (1 + combined rate).",
    "note": "Inputs are converted to canonical units before evaluating this stated formula."
  },
  "examples": [
    {
      "label": "Illustrative defaults; required verification checks remain unconfirmed",
      "inputs": {
        "unitSystem": "metric",
        "amount": 100,
        "direction": "exclusive",
        "province": "ON"
      }
    }
  ],
  "sources": [
    {
      "label": "CA income authority",
      "url": "https://www.canada.ca/en/revenue-agency/services/tax/individuals/tax-rates-brackets/current-year.html"
    },
    {
      "label": "CRA general GST/HST/PST rates",
      "url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
    }
  ],
  "publicSlug": "sales-tax",
  "namespace": "ca",
  "countries": [
    "us",
    "ca"
  ]
}
