Pennsylvania capital gains tax calculator
Pennsylvania taxes capital gains on top of federal tax: 3.07% flat rate.
Calculate my Pennsylvania taxYour details
Your tax estimate
| Capital gain | $50,000 |
| Federal long-term rate | 15.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 |
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:
| Gain | Federal + NIIT | Pennsylvania | Total tax | You 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.