{
    "name": "Sales Tax Calculator",
    "url": "https://calculators.geekmidst.com/calculators/sales-tax-calculator",
    "markdown": "https://calculators.geekmidst.com/calculators/sales-tax-calculator.md",
    "category": "Business & tax",
    "description": "Add sales tax to a price or work back from a tax-inclusive total to the price before tax, using the sales tax rate that applies to you.",
    "summary": "Sales tax is a percentage of the pre-tax price. Add it to get the total, or divide a total by 1 plus the rate to strip it out.",
    "also_called": [
        "Reverse sales tax calculator"
    ],
    "applies_to": "Worldwide",
    "last_updated": "2026-10-29",
    "computation": "Results are computed in the visitor’s browser on the HTML page. This API describes the calculator; it does not compute results.",
    "inputs": [
        {
            "name": "mode",
            "label": "I have",
            "type": "segmented",
            "default": "add",
            "options": {
                "add": "Price before tax",
                "remove": "Total including tax"
            }
        },
        {
            "name": "amount",
            "label": "Amount",
            "type": "number",
            "default": "100"
        },
        {
            "name": "rate",
            "label": "Sales tax rate",
            "type": "number",
            "default": "8.25",
            "unit": "%"
        },
        {
            "name": "currency",
            "label": "Currency",
            "type": "currency",
            "default": "USD"
        }
    ],
    "outputs": [
        {
            "key": "tax",
            "label": "Sales tax",
            "format": "currency"
        },
        {
            "key": "before",
            "label": "Price before tax",
            "format": "currency"
        },
        {
            "key": "total",
            "label": "Total including tax",
            "format": "currency"
        }
    ],
    "formula": {
        "text": "Adding: Tax = Price × Rate;  Total = Price + Tax.  Removing: Price = Total ÷ (1 + Rate);  Tax = Total − Price",
        "variables": {
            "Rate": "sales tax rate as a decimal (8.25% = 0.0825)"
        }
    },
    "worked_example": {
        "inputs": {
            "mode": "add",
            "amount": "100",
            "rate": "8.25",
            "currency": "USD"
        },
        "steps": [
            "Tax = 100 × 0.0825 = $8.25.",
            "Total = 100 + 8.25 = $108.25.",
            "Check in reverse: 108.25 ÷ 1.0825 = $100."
        ],
        "result": "An 8.25% sales tax on $100 is $8.25, for a total of $108.25."
    },
    "interpretation": "To remove tax, divide; do not subtract the rate from the total. Taking 8.25% off $108.25 gives $99.32, not the $100 pre-tax price.",
    "assumptions": [
        "A single combined rate applies to the whole amount; you supply the rate."
    ],
    "limitations": [
        "No rates are built in: rates vary by state, county and city, and some goods are exempt or taxed differently.",
        "Tax is calculated on the total, so per-item rounding at the till can differ by a cent."
    ],
    "rules": null,
    "faqs": [
        {
            "question": "Where do I find my sales tax rate?",
            "answer": "Your state revenue department publishes state and local rates. The combined rate is often printed on receipts."
        },
        {
            "question": "Is VAT or GST the same calculation?",
            "answer": "Yes, adding or removing a percentage tax works the same way. For Indian GST use the GST Calculator, which handles CGST and SGST."
        }
    ],
    "sources": [],
    "related": [
        {
            "name": "GST Calculator (India)",
            "url": "https://calculators.geekmidst.com/calculators/gst-calculator"
        },
        {
            "name": "Percentage Calculator",
            "url": "https://calculators.geekmidst.com/calculators/percentage-calculator"
        },
        {
            "name": "Discount Calculator",
            "url": "https://calculators.geekmidst.com/calculators/discount-calculator"
        },
        {
            "name": "Tip Calculator",
            "url": "https://calculators.geekmidst.com/calculators/tip-calculator"
        }
    ],
    "disclaimer": null,
    "publisher": "GM¹X CalcVerse"
}