Pennsylvania's state sales tax rate is 6%. When city and county taxes are added, the average combined rate across the state is 6.34%, and rates can reach as high as 8% in some areas. Use the calculator above to find the exact tax and total for any purchase.
- State rate: 6% - average combined (state + local): 6.34%
- Groceries: Exempt | Prescription drugs: Exempt
- Pennsylvania is one of few states that fully exempts clothing. Philadelphia adds 2% for a combined 8%. Most of the state pays just 6% as local additions outside major cities are limited.
- The national average combined rate is 7% (Tax Foundation, 2026).
How to calculate Pennsylvania sales tax
Enter your ZIP code in the calculator above for the exact local rate at your address - the tool matches it instantly and auto-fills the rate. Without a ZIP, it defaults to Pennsylvania's 6.34% average combined rate. At that average, a $100 item costs $106.34 total.
The formula is straightforward:
- Tax amount = Pre-tax price x (Rate / 100)
- Total price = Pre-tax price + Tax amount
To reverse the calculation (find the pre-tax price from a total you already paid), switch to Remove tax mode. The formula is: Pre-tax price = Total / (1 + Rate / 100).
The default rate in the calculator is 6.34% - Pennsylvania's statewide average combined rate. If you know your specific city or county rate, enter it in the rate override field for a more precise result. City rates for Pennsylvania's major areas are listed in the table below.
Pennsylvania sales tax rates 2025
Pennsylvania's tax structure puts it below the national average combined rate of 7%. Here is a breakdown of the rate structure (Tax Foundation, 2026):
| Rate type | Rate | Notes |
|---|---|---|
| State rate | 6% | Applies statewide on all taxable items |
| Average local rate | 0.34% | City and county additions vary by location |
| Average combined | 6.34% | State + typical local - what most residents pay |
| Maximum combined | 8% | Highest rate found anywhere in the state |
| National average | 7% | For comparisonr |
What is exempt from Pennsylvania sales tax?
Not all purchases are taxed equally in Pennsylvania. Key exemptions reduce the tax burden on essentials. Prescription drugs are exempt - a standard exemption in most states. Groceries are exempt, which has a significant impact on household budgets.
| Category | Pennsylvania treatment |
|---|---|
| Groceries / food | Exempt |
| Prescription drugs | Exempt |
| OTC medications | Exempt |
| Clothing | Exempt |
Exemptions are set at the state level but may not override local taxes. When a category is "exempt" from the state rate, local taxes may still apply in some jurisdictions. Always confirm with your local tax authority for high-value purchases.
Sales tax by city in Pennsylvania
Combined sales tax rates vary significantly across Pennsylvania's cities and counties. The figures below represent the total combined rate (state + county + city) as of 2024-2025. Use the rate override field in the calculator to apply your exact local rate.
| City | Combined rate | vs. state avg |
|---|---|---|
| Philadelphia | 8% | +1.66% |
| Pittsburgh | 7% | +0.66% |
| Allentown | 6% | -0.34% |
| Erie | 6% | -0.34% |
To find the combined rate for a specific address in Pennsylvania, use the Avalara rate lookup tool or check your city or county government website.
Remove tax: find the pre-tax price
If you have a receipt and want to know what the item cost before tax, you need the reverse sales tax calculation. This is common when comparing advertised prices, calculating business expenses, or verifying a charge.
The reverse formula divides the total by (1 + rate). At Pennsylvania's 6.34% average rate: Pre-tax = Total / 1.0634. For example, if you paid $106.34, the pre-tax price was $100.00 and the tax was $6.34.
Use the Remove tax mode in the calculator above. Enter what you paid, and the tool instantly splits out the pre-tax price and the tax amount.
Pennsylvania sales tax tips
A few practical tips for shopping and doing business in Pennsylvania:
- Use the combined rate, not just the state rate. The 6% state rate understates what you actually pay in most of Pennsylvania. The 6.34% average combined rate is the more useful benchmark.
- Check for tax-free weekends. Several states run annual tax holidays on clothing and school supplies. Check the Pennsylvania Department of Revenue website for current year dates.
- Exemption documentation. If you are buying exempt items (resale, manufacturing, agriculture), you typically need to provide an exemption certificate. Keep copies for your records.
- Online purchases. If you buy from an online seller with economic nexus in Pennsylvania, Pennsylvania sales tax applies at your delivery address rate. Small sellers below the economic nexus threshold (usually $100,000 in annual sales) may not collect it.
Frequently asked questions
What is the sales tax rate in Pennsylvania?
Pennsylvania's state sales tax rate is 6%. When local taxes are factored in, most residents pay around 6.34% - the statewide average combined rate. Rates can reach as high as 8% in some cities or counties.
Are groceries taxed in Pennsylvania?
Groceries in Pennsylvania are: Exempt. Prescription drugs are exempt, and OTC medications are exempt.
How do I calculate sales tax in Pennsylvania?
Multiply the pre-tax price by the decimal form of the rate. At Pennsylvania's 6.34% average: Tax = Price x 0.0634. A $50 item has a $3.17 tax, making the total $53.17. Use the calculator on this page for instant results.
How do I remove sales tax from a total in Pennsylvania?
Divide the total by 1.0634 to get the pre-tax price. For example, if you paid $106.34, the pre-tax price was $100.00. Switch to Remove Tax mode in the calculator above to do this automatically.
How does Pennsylvania's sales tax compare to other states?
Pennsylvania's 6.34% average combined rate is below the national average of 7%. See our US sales tax map to compare all 50 states side by side.