Pennsylvania Sales Tax Calculator (2026) β Add or Reverse Tax
Pennsylvania's combined sales tax rate is 6.34% (6.00% state + 0.34% average local). Use the calculator below to add Pennsylvania sales tax to a price, or reverse a tax-included total to find the pre-tax price and exact tax amount.
How to use this calculator:
- Adding tax β enter a pre-tax price, pick "Add tax to price," and the calculator applies the Pennsylvania rate to show the tax amount and final total.
- Reversing (extracting) tax β enter a total that already includes tax, pick "Extract tax from total," and the calculator divides by 1 + the rate to isolate the pre-tax price and the exact tax paid.
- Pick the rate that matches your situation: the average combined rate is a good statewide estimate, but the state-only or maximum-local rate is more precise if you know the exact city or county.
Understanding Pennsylvania Sales Tax
Pennsylvania's state sales tax rate is 6.00%, and local jurisdictions add an average of 0.34% on top, bringing the typical combined rate to 6.34%. Rates vary by city and county β the highest combined rate in Pennsylvania can reach 8.00%.
Pennsylvania also levies a state income tax, which shapes how much the state relies on sales tax revenue relative to other funding sources.
Groceries
Exempt from Pennsylvania state sales tax.
Largest city
Philadelphia
State income tax
Yes
Why Reverse Sales Tax Calculation Matters
Receipts, invoices, and marketplace payouts usually show only the tax-included total β not the pre-tax price. Reversing the calculation matters for bookkeeping (separating revenue from tax collected), expense reports (reimbursing only the pre-tax cost), and price comparisons (checking what an item actually costs before Pennsylvania's tax is applied). Because dividing by (1 + rate) is not the same as simply subtracting the rate from the total, doing this by hand is a common source of errors β the calculator above handles it exactly.
Pennsylvania Taxability at a Glance
π Groceries
Exempt
π Clothing
Exempt
π Prescription drugs
Exempt
History & Rate Breakdown
Pennsylvania adopted its general sales tax in 1953. Unlike most states, Pennsylvania never allowed broad local option adoption β instead, only two jurisdictions, Philadelphia and Allegheny County (Pittsburgh), were specifically authorized by the legislature to add their own local rate.
Pennsylvania's 6.34% average combined rate is nearly all state-level: the 6% state rate applies everywhere, with Philadelphia adding an extra 2% and Allegheny County adding an extra 1% β the only two local add-ons anywhere in the state, producing combined rates of 8% and 7% respectively.
Where the Money Goes
Because only Philadelphia and Allegheny County were carved out with local taxing authority, sales tax revenue in the rest of Pennsylvania flows entirely to the state, while those two jurisdictions retain some independent control over their own extra 1-2 percentage points.
Business Use Case: Registering & Collecting Pennsylvania Sales Tax
A retailer with locations in both Philadelphia (8% combined) and a small town in central Pennsylvania (6% state-only) must track two different rates for what is otherwise the same statewide tax β one of the few US states where local sales tax exists in only two specific places rather than being broadly available to any city or county.
Sales Tax Terms Glossary
Combined rate
The state sales tax rate plus any applicable local (city, county, or special district) rates β the actual rate charged at checkout in a given location.
Reverse sales tax
The process of working backward from a tax-included total to find the pre-tax price and the exact tax amount, using total Γ· (1 + rate) = pre-tax price.
Economic nexus
A sales threshold (in dollars, transaction count, or both) that obligates an out-of-state seller to collect and remit sales tax even without a physical presence in the state.
Marketplace facilitator
A platform (e.g. Amazon, Etsy, eBay) that collects and remits sales tax on behalf of third-party sellers under most statesβ marketplace facilitator laws.
Real-World Example
A $500.00 purchase in Pennsylvania at the average combined rate of 6.34%:
- Tax amount: $500.00 Γ 6.34% = $31.70
- Total price: $500.00 + $31.70 = $531.70
Pennsylvania Sales Tax Compliance for Sellers
Remote and online sellers establish economic nexus in Pennsylvania once they exceed $100,000.00 in annual sales (no separate transaction-count test). Once nexus is established, a seller must register with the state, collect Pennsylvania sales tax at checkout, and file returns on the state's required schedule. Marketplace facilitators (Amazon, Etsy, eBay, Walmart) generally collect and remit on behalf of third-party sellers automatically.
Frequently Asked Questions β Pennsylvania Sales Tax
What is the sales tax rate in Pennsylvania?βΎ
Does Pennsylvania tax groceries?βΎ
Does Pennsylvania have a state income tax?βΎ
When do online sellers need to collect Pennsylvania sales tax?βΎ
How do I calculate Pennsylvania sales tax on a purchase?βΎ
How do I reverse Pennsylvania sales tax to find the price before tax?βΎ
What is the formula to back out sales tax from a receipt in Pennsylvania?βΎ
References & Sources
Rates last verified January 2026. Pennsylvania sales tax rates and thresholds can change β always confirm current figures with the Pennsylvania Department of Revenue before filing or invoicing. This tool is for estimation and educational purposes only and is not tax, legal, or accounting advice.
Jordan Hayes
Verified AuthorLead Content Editor & Personal Finance Specialist
Jordan Hayes is a personal finance content strategist with 9+ years building educational finance and health resources. He has written and fact-checked over 200 personal finance guides covering mortgage amortization, retirement planning, tax strategy, and budgeting. His work applies IRS publications, Federal Reserve data, and peer-reviewed research to make complex calculations accessible.