The Pennsylvania Capital Gains Tax Calculator estimates the total tax on profit from selling stocks, funds, property, or other investments while living in Pennsylvania. The key thing to know: Pennsylvania does not give long-term gains a discount. Where the federal system rewards holding an asset over a year with lower rates, Pennsylvania taxes every capital gain at its flat 3.07% ordinary-income rate.
How it works
The tool computes two layers.
Federal tax depends on your holding period:
- Long-term (held more than one year) uses the preferential brackets — 0%, 15%, or 20% based on your taxable income and filing status.
- Short-term (held one year or less) is taxed at your ordinary income rate; this tool lets you supply that marginal rate.
Pennsylvania tax is simple and the same in both cases:
PA capital gains tax = gain x 0.0307
The combined liability is the federal tax plus the PA tax:
Total tax = federal tax + (gain x 0.0307)
Net proceeds = gain - total tax
For 2024 the federal long-term 0% bracket runs up to about $47,025 (single) / $94,050 (joint) of taxable income, the 15% bracket up to about $518,900 (single) / $583,750 (joint), and 20% above that.
Tips and notes
- Holding period matters federally, not for PA. Crossing the one-year mark can cut your federal rate sharply, but your 3.07% PA tax is unchanged.
- Home sales: the federal $250k/$500k principal-residence exclusion generally applies for PA too — enter only the taxable portion of any gain.
- High earners: an extra 3.8% Net Investment Income Tax may apply on top of these figures.
- Every calculation runs in your browser; your figures are never stored or sent anywhere.