Pennsylvania capital gains tax calculator

Pennsylvania taxes capital gains on top of federal tax: 3.07% flat rate.

Calculate my Pennsylvania tax

Your details

$
Income before capital gains. The 2026 standard deduction is subtracted automatically
$
Sale price minus your cost basis (what you originally paid)
3.07% flat rate
2026 IRS rates — Rev. Proc. 2025-32

Your tax estimate

Estimated total tax on the gain
$9,035
on a $50,000 long-term gain
Effective rate: 18.1%
82%you keep
Net gain (you keep)$40,965
Federal CGT$7,500
Pennsylvania tax$1,535
Capital gain$50,000
Federal long-term rate15.0%
Federal CGT$7,500
Total federal tax$7,500
Pennsylvania (3.1%)$1,535
Total tax$9,035
Net gain after tax$40,965
File with TurboTaxReporting a $50,000 gain? Let the software fill in Schedule D for youTurboTax handles capital gains, NIIT, Schedule D and Form 8949 automatically — including state returns. Import directly from your brokerage.Start with TurboTax →
Estimate only — 2026 IRS federal rates plus approximate state top marginal rates. Consult a tax professional before acting on these numbers.

What you would pay in Pennsylvania

Long-term gains (assets held more than a year) for a single filer with $75,000 of other income:

GainFederal + NIITPennsylvaniaTotal taxYou keep
$25,000$3,750$768$4,518 (18.1%)$20,483
$50,000$7,500$1,535$9,035 (18.1%)$40,965
$100,000$15,000$3,070$18,070 (18.1%)$81,930
$250,000$42,250$7,675$49,925 (20.0%)$200,075

Short-term vs long-term gains in Pennsylvania

Sell within a year and the federal government taxes the gain as ordinary income. On a $50,000 gain with the same income, that means $12,599 of tax if you sell short-term against $9,035 if you hold past one year, a difference of $3,564.

How we estimate Pennsylvania tax

3.07% flat rate. Where a state taxes gains as ordinary income on a sliding scale, the calculator applies the rate shown above to the whole gain, so for most people it is an upper estimate. Local and city income taxes are not included.

*Examples use 2026 IRS brackets, the standard deduction and the 3.8% Net Investment Income Tax. Change your filing status, income and holding period in the calculator above for your own figure.

Other states

Alabama · Alaska · Arizona · Arkansas · California · Colorado · Connecticut · Delaware · Florida · Georgia · Hawaii · Idaho · Illinois · Indiana · Iowa · Kansas · Kentucky · Louisiana · Maine · Maryland · Massachusetts · Michigan · Minnesota · Mississippi · Missouri · Montana · Nebraska · Nevada · New Hampshire · New Jersey · New Mexico · New York · North Carolina · North Dakota · Ohio · Oklahoma · Oregon · Rhode Island · South Carolina · South Dakota · Tennessee · Texas · Utah · Vermont · Virginia · Washington · West Virginia · Wisconsin · Wyoming · Washington D.C.