Pennsylvania Capital Gains Tax Calculator

Estimate federal + Pennsylvania tax on your investment gains.

Free Pennsylvania capital gains tax calculator. Combines the federal long-term rate (0%, 15%, or 20% by income) or short-term ordinary rate with Pennsylvania's flat 3.07% — PA taxes all capital gains as ordinary income with no preferential rate.

How does Pennsylvania tax capital gains?

Pennsylvania taxes all capital gains — both short-term and long-term — as ordinary income at its flat 3.07% personal income tax rate. There is no preferential or reduced rate for long-held investments, unlike the federal system.

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.