{"id":67153,"date":"2026-10-20T09:51:55","date_gmt":"2026-10-20T06:51:55","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=67153"},"modified":"2026-10-26T10:00:33","modified_gmt":"2026-10-26T07:00:33","slug":"sales-tax-calculator","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/finance\/sales-tax-calculator\/","title":{"rendered":"Sales Tax Calculator \u2013 Add or Reverse Sales Tax"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Add or Reverse US Sales Tax<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"67153\" data-favorite-title=\"Sales Tax\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/finance\/sales-tax-calculator\/\" data-favorite-excerpt=\"Add US sales tax to a price or reverse a tax-included price. Enter the price per item, quantity, and applicable state and local tax rates.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-finance\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/finance\/sales-tax-calculator\/\" method=\"POST\" class=\"calculator\" id=\"calculator-67153\" data-post=\"67153\"><fieldset class=\"fieldset-input is-2\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field is-single\" id=\"input-1\"><label for=\"field-1\">Calculation mode<\/label><div class=\"grid grid-cols-1\"><select id=\"field-1\" name=\"calculation_mode\"><option value=\"add\" selected>Add tax<\/option><option value=\"reverse\">Reverse (tax included)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-2\"><label for=\"field-2\">Price before tax, per item<\/label><input type=\"text\" name=\"price_before_tax_per_item\" id=\"field-2\" aria-describedby=\"calc-unit-2\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"100\"\/><div class=\"unit\" id=\"calc-unit-2\">$<\/div><\/div><div class=\"field\" id=\"input-3\" hidden><label for=\"field-3\">Price paid, per item<\/label><input type=\"text\" name=\"price_paid_per_item\" id=\"field-3\" aria-describedby=\"calc-unit-3 calc-info-3\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"108\"\/><div class=\"unit\" id=\"calc-unit-3\">$<\/div><small id=\"calc-info-3\">Enter the tax-included price of one item.<\/small><\/div><div class=\"field\" id=\"input-4\"><label for=\"field-4\">Quantity<\/label><input type=\"text\" name=\"quantity\" id=\"field-4\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"1\" max=\"1000000\" value=\"1\"\/><\/div><div class=\"field\" id=\"input-5\"><label for=\"field-5\">State tax rate<\/label><input type=\"text\" name=\"state_tax_rate\" id=\"field-5\" aria-describedby=\"calc-unit-5 calc-info-5\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" max=\"100\" value=\"6.25\"\/><div class=\"unit\" id=\"calc-unit-5\">%<\/div><small id=\"calc-info-5\">Enter the applicable rate yourself; no state rates are looked up.<\/small><\/div><div class=\"field\" id=\"input-6\"><label for=\"field-6\">County tax rate<\/label><input type=\"text\" name=\"county_tax_rate\" id=\"field-6\" aria-describedby=\"calc-unit-6 calc-info-6\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" max=\"100\" value=\"1\"\/><div class=\"unit\" id=\"calc-unit-6\">%<\/div><small id=\"calc-info-6\">Optional; leave blank or enter 0 if none applies.<\/small><\/div><div class=\"field\" id=\"input-7\"><label for=\"field-7\">City tax rate<\/label><input type=\"text\" name=\"city_tax_rate\" id=\"field-7\" aria-describedby=\"calc-unit-7 calc-info-7\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" max=\"100\" value=\"0.5\"\/><div class=\"unit\" id=\"calc-unit-7\">%<\/div><small id=\"calc-info-7\">Optional; leave blank or enter 0 if none applies.<\/small><\/div><div class=\"field\" id=\"input-8\"><label for=\"field-8\">Special district tax rate<\/label><input type=\"text\" name=\"special_district_tax_rate\" id=\"field-8\" aria-describedby=\"calc-unit-8 calc-info-8\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" max=\"100\" value=\"0.25\"\/><div class=\"unit\" id=\"calc-unit-8\">%<\/div><small id=\"calc-info-8\">Optional; leave blank or enter 0 if none applies.<\/small><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"67153\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Sales Tax Breakdown<\/h3><div class=\"result-box\"><div class=\"field-result\" id=\"output-1\"><span class=\"field-title\"><span>Price before tax (order)<\/span><\/span><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-2\"><span class=\"field-title\"><span>Sales tax (order)<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-3\"><span class=\"field-title\"><span>Total price (order)<\/span><\/span><span class=\"field-value\" id=\"result-3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-4\"><span class=\"field-title\"><span>Combined sales tax rate<\/span><\/span><span class=\"field-value\" id=\"result-4\" data-unit=\"%\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"67153\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Sales Tax Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ r=r_s+r_c+r_{\\mathrm{city}}+r_d,\\qquad A=qP \\]\n\\[ \\begin{aligned} \\text{Add tax:}\\quad B&amp;=\\operatorname{round}_2(A), &amp; T&amp;=\\operatorname{round}_2(Br\/100), &amp; S&amp;=B+T; \\\\ \\text{Reverse:}\\quad S&amp;=\\operatorname{round}_2(A), &amp; B&amp;=\\operatorname{round}_2\\!\\left(\\frac{S}{1+r\/100}\\right), &amp; T&amp;=S-B. \\end{aligned} \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(P\\) \u2014 price per item before tax in Add tax mode, or price paid per item in Reverse mode ($).<\/li>\n<li>\\(q\\) \u2014 quantity of items.<\/li>\n<li>\\(r_s\\), \\(r_c\\), \\(r_{\\mathrm{city}}\\), and \\(r_d\\) \u2014 state, county, city, and special district tax rates (%).<\/li>\n<li>\\(r\\) \u2014 combined sales tax rate (%); \\(A\\) \u2014 entered price multiplied by quantity ($).<\/li>\n<li>\\(B\\) \u2014 order price before tax; \\(T\\) \u2014 order sales tax; \\(S\\) \u2014 total order price ($).<\/li>\n<li>\\(\\operatorname{round}_2\\) \u2014 round to two decimal places.<\/li>\n<\/ul>\n<p>Add tax mode calculates tax on the rounded order price before tax. Reverse mode starts with the rounded tax-included order total, then separates that total into a before-tax price and tax.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Sales Tax \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> In Add tax mode, buy one item priced at $100.00 before tax. The state rate is 6.25%, county rate is 1%, city rate is 0.5%, and special district rate is 0.25%.<\/p>\n<p>\\[ r=6.25\\%+1\\%+0.5\\%+0.25\\%=8\\% \\]<\/p>\n<p>\\[ B=1\\times\\$100.00=\\$100.00,\\qquad T=\\$100.00\\times0.08=\\$8.00 \\]<\/p>\n<p>\\[ S=\\$100.00+\\$8.00=\\$108.00 \\]<\/p>\n<p><strong>Result:<\/strong> the order price before tax is $100.00, sales tax is $8.00, and the total price is $108.00.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to use the calculator<\/h2>\n<ol>\n<li>Choose <strong>Calculation mode<\/strong>. Select <strong>Add tax<\/strong> to start with a price before tax, or <strong>Reverse (tax included)<\/strong> to start with an amount already paid.<\/li>\n<li>Enter <strong>Price before tax, per item<\/strong> in Add tax mode. In Reverse mode, enter <strong>Price paid, per item<\/strong> instead. The calculator shows the field relevant to your selection.<\/li>\n<li>Enter <strong>Quantity<\/strong> as a whole number from 1 to 1,000,000.<\/li>\n<li>Enter the applicable <strong>State tax rate<\/strong>, <strong>County tax rate<\/strong>, <strong>City tax rate<\/strong>, and <strong>Special district tax rate<\/strong> as percentages. Leave an unused rate blank or enter 0.<\/li>\n<li>Read <strong>Price before tax (order)<\/strong>, <strong>Sales tax (order)<\/strong>, <strong>Total price (order)<\/strong>, and <strong>Combined sales tax rate<\/strong> in the results.<\/li>\n<\/ol>\n<h2>Understanding the sales tax breakdown<\/h2>\n<p>US sales tax is commonly expressed as a percentage of a taxable sale. Depending on the location, state and local rates may apply together. This calculator adds the four rates you enter to obtain one combined rate; it does not identify your location or supply current rates. For the example above, the combined 8% rate means $8.00 of tax on a $100.00 taxable order price.<\/p>\n<p>In Add tax mode, the result shows how much to add to the before-tax order price. In Reverse mode, it estimates how much of a tax-included payment represents the original price and how much represents tax. With the default Reverse-mode price of $108.00 per item, quantity 1, and the default rates totaling 8%, the results are $100.00 before tax and $8.00 tax.<\/p>\n<p>The amounts are for the <strong>whole order<\/strong>, not for one item. For example, entering a $100.00 before-tax price and quantity 3 produces a $300.00 before-tax order price before tax is calculated. If you need to analyze a different type of consumption tax, the <a href=\"https:\/\/wpcalc.com\/en\/finance\/value-added-tax\/\">Value Added Tax (VAT) calculator<\/a> handles VAT calculations; VAT and US sales tax are not interchangeable tax systems.<\/p>\n<h2>Assumptions and practical limits<\/h2>\n<p>Enter rates that apply to the particular transaction and taxable item. Rates and taxability can vary by jurisdiction, product, customer, and transaction. Exemptions, discounts, shipping charges, and marketplace collection rules are not determined here. Check the applicable rules or your receipt rather than treating a calculated amount as an official tax determination.<\/p>\n<p>The calculator applies the combined rate to the order amount and rounds monetary results to cents. A seller that rounds tax separately for each item or tax component may produce a slightly different total. Reverse mode also assumes the entire entered payment includes tax at the rate you supplied; it cannot distinguish taxable charges from nontaxable charges bundled into one price.<\/p>\n<p>Each rate must be between 0% and 100%, and the combined rate cannot exceed 100%. The entered price must be non-negative, and the order amount cannot exceed $1 trillion. For a broader view of purchasing expenses beyond sales tax, use the <a href=\"https:\/\/wpcalc.com\/en\/finance\/total-inventory-cost\/\">Total Inventory Cost calculator<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add US sales tax to a price or reverse a tax-included price. Enter the price per item, quantity, and applicable state and local tax rates.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5],"tags":[100],"class_list":["post-67153","post","type-post","status-publish","format-standard","hentry","category-finance","tag-taxes-pay"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=67153"}],"version-history":[{"count":2,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67153\/revisions"}],"predecessor-version":[{"id":67563,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67153\/revisions\/67563"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=67153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=67153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=67153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}