§PlainStatute

Tools · Capital Gains Tax

Pennsylvania Capital Gains Tax Calculator (2026)

Estimate the tax on your capital gains in Pennsylvania for 2026. Enter your gain, holding period, and other income to see federal long- or short-term tax, the 3.8% Net Investment Income Tax, and Pennsylvania’s share, broken out line by line.

2026 figuresFederal breakpoints from the IRS; Pennsylvania figures from the Pennsylvania Department of Revenue.

Pennsylvania capital gains tax calculator

Capital gains tax estimate · Pennsylvania
Total capital gains tax · Pennsylvania
$1,282on $20,000
6.4% effective rate · leaves $18,719 after tax
Gain taxed at 0% (long-term)
$15,550 → $0
Gain taxed at 15% (long-term)
$4,450 → −$668
Federal long-term capital gains tax
$668
Net Investment Income Tax (3.8%)
$0
Pennsylvania income tax on gain
−$614
Total capital gains tax
$1,282
As of 2026

Pennsylvania taxes capital gains as ordinary income. Pennsylvania taxes income at a flat 3.07%, with no standard deduction — the rate applies to essentially all taxable compensation.

Many Pennsylvania municipalities levy a separate local Earned Income Tax (often 1%+), which is not included here.

Federal: IRS Revenue Procedure 2025-32 (IR-2025-103) · Social Security Administration. State: Pennsylvania Department of Revenue.

Estimate for 2026. Long-term gains are stacked on top of your other taxable income across the 0/15/20% federal breakpoints; short-term gains are taxed as ordinary income. The 3.8% Net Investment Income Tax applies once your income clears the threshold. Excludes state credits, the alternative minimum tax, and loss carryovers. This is general information, not tax advice.

How capital gains tax works in Pennsylvania

Long-term gains (assets held more than a year) get the federal 0/15/20% rates — but the rate depends on where the gain lands once it is stacked on top of your other taxable income, so part of a gain can be taxed at 0% and the rest at 15%. Short-term gains are taxed as ordinary income. On top of that, the 3.8% Net Investment Income Tax applies once your income clears $200,000 (single) or $250,000 (married-jointly).

Pennsylvania taxes capital gains as ordinary income, at the same rate as your wages. Pennsylvania taxes income at a flat 3.07%, with no standard deduction — the rate applies to essentially all taxable compensation.

Local taxes: Many Pennsylvania municipalities levy a separate local Earned Income Tax (often 1%+), which is not included here.

This is an annual-bracket estimate, not your final return. It excludes the alternative minimum tax, loss carryovers, and state credits. It is general information, not tax advice. Federal figures: IRS Revenue Procedure 2025-32 (IR-2025-103) · Social Security Administration.

Capital gains calculators for other states

Same 2026 engine, each with its own state rules.