Pennsylvania Capital Gains Tax Calculator 2026
Calculate your Pennsylvania capital gains tax for 2026 instantly. Enter your sale price, cost basis, holding period, and income to see your federal and Pennsylvania state capital gains tax, total owed, and net proceeds — calculated privately in your browser.
A PA capital gains tax calculator is a free, private tool that estimates the tax on selling stock, crypto, a rental or a business asset in Pennsylvania. It adds the state's flat personal income tax to the federal long- or short-term rate and the Net Investment Income Tax, so you see one combined bill before you sell.
Pennsylvania Capital Gains Tax Rules
Pennsylvania has no separate capital gains rate. Short-term and long-term gains are both taxed as ordinary income at Pennsylvania's flat 3.07% personal income tax rate, with no standard deduction or personal exemption. This state tax is separate from — and in addition to — the federal capital gains tax you owe to the IRS.
Understanding Pennsylvania's capital gains rules is essential for investors, homeowners selling property, and business owners who plan to sell assets. The calculator above computes your estimated federal and Pennsylvania state capital gains tax based on your sale price, cost basis, holding period, and income. It subtracts the 2026 federal standard deduction ($16,100 single, $32,200 married filing jointly, $24,150 head of household) from the income you enter, stacks the gain on top of your other income, and taxes each slice at its own rate.
Federal vs Pennsylvania Capital Gains Tax
The federal tax on a gain depends on your taxable income and on how long you held the asset. For long-term gains (held more than 12 months), the 2026 federal rates set by IRS Rev. Proc. 2025-32 are 0% on taxable income up to $49,450 single / $98,900 married filing jointly / $66,200 head of household, 15% up to $545,500 single / $613,700 joint / $579,600 head of household, and 20% above those thresholds. The gain is stacked on top of your other income, so one sale can be taxed partly at 0%, partly at 15% and partly at 20%. Short-term gains are taxed as ordinary income at the 2026 federal brackets of 10% to 37%. A 3.8% Net Investment Income Tax is added on the lesser of the gain or the amount by which your modified adjusted gross income exceeds $200,000 (single or head of household) or $250,000 (married filing jointly).
Worked example (2026): a single filer with $90,000 of other income sells stock held for two years at a $50,000 gain. Federal tax is $7,500 (the whole gain falls in the 15% band) and Pennsylvania tax is $1,535, a combined $9,035 or 18.1% of the gain. Sold after 11 months instead, the same gain is short-term: $11,364 federal plus $1,535 Pennsylvania tax, $12,899 in total. The calculator above reproduces both results.
Capital Gains Tax Rate in Pennsylvania: Where PA Breaks From Federal Rules
The capital gains tax rate in Pennsylvania is the same flat rate PA applies to wages, but the rules around it are stricter than the federal ones, and they change the answer for anyone with losses. According to the Pennsylvania Department of Revenue personal income tax guide:
- No loss carryover. A net loss on property sales cannot be carried into a later tax year; it is lost for PA purposes, even though the federal return carries it forward.
- No offset across income classes. A loss on stock cannot reduce PA tax on your wages, interest or business income. It only offsets other gains in the same class.
- No offset between spouses. On a joint PA return, one spouse's loss cannot cancel the other spouse's gain.
- Home sales are generally exempt. Gain on the sale of a principal residence is generally not taxed by PA, and no loss can be claimed on one either.
In practice: if you plan to harvest losses, realise them in the same tax year as your gains. Enter only the net gain for the year in the calculator above. Updated 2026-11-11.
Pennsylvania Cap Gains Strategies & Exemptions
Several strategies can help Pennsylvania taxpayers reduce their capital gains tax burden. First, hold assets for more than 12 months to qualify for the lower long-term federal rate. Second, harvest capital losses to offset gains — if you have losing positions, selling them in the same tax year can reduce your net taxable gain. Third, use tax-advantaged accounts (401k, IRA, HSA) to shelter future investment growth from both federal and Pennsylvania state tax.
For Pennsylvania homeowners, the federal home-sale exclusion allows you to exclude up to $250,000 (single) or $500,000 (married filing jointly) of gain from the sale of a primary residence, provided you meet the 2-of-5-year ownership and use tests. The calculator does not apply this exclusion, so enter only the gain that remains after it. Consult a Pennsylvania tax professional to understand which exclusions apply to your specific situation.
Always work with a qualified tax professional before executing large asset sales. Tax laws change, and individual circumstances — such as installment sales, like-kind exchanges (1031 exchanges for real estate), or business asset sales — can significantly affect your total tax liability.
Last updated: November 2026. Federal figures: IRS Rev. Proc. 2025-32 (2026 capital gains thresholds, brackets and standard deduction), IRS Topic 409 and IRS Topic 559 (Net Investment Income Tax). Pennsylvania: Pennsylvania income tax calculator (same 2026 state rules).
Frequently Asked Questions
Can I carry forward a capital loss in Pennsylvania?
No. Pennsylvania has no carryover of losses from one tax year to the next, so a net loss on property sales that you cannot use this year is lost for PA tax, even though the federal return carries it forward. Realise losses in the same year as the gains you want them to offset.
Can a stock loss reduce my Pennsylvania tax on wages?
No. Pennsylvania taxes income in separate classes and does not let a loss in one class offset income in another, or one spouse's loss offset the other's gain. A stock loss only reduces other gains from selling property in the same year.
What is the Pennsylvania capital gains tax rate in 2026?
Pennsylvania has no separate capital gains rate. In 2026 a gain is taxed as ordinary income at Pennsylvania's flat 3.07% rate, with no standard deduction or personal exemption, so the state tax depends on your total income.
Does Pennsylvania tax short-term vs long-term capital gains differently?
No. Pennsylvania taxes short-term and long-term capital gains the same way, as ordinary income. Only the federal tax depends on the holding period: gains on assets held more than 12 months get the 0%, 15% or 20% long-term rates, while short-term gains are taxed at ordinary federal rates of 10% to 37%.
Are there Pennsylvania capital gains exemptions?
Pennsylvania has no general exclusion for capital gains — a gain is taxed as ordinary income. At the federal level you can exclude up to $250,000 of gain ($500,000 if married filing jointly) on the sale of your main home if you meet the ownership and use tests. Consult a tax professional for your specific situation.
How does Pennsylvania capital gains compare to federal rates?
Federal long-term capital gains rates for 2026 are 0%, 15% and 20%: the 15% rate starts above $49,450 of taxable income for single filers ($98,900 married filing jointly) and the 20% rate above $545,500 ($613,700). Pennsylvania state tax is charged in addition to the federal tax. For example, a single filer with $90,000 of other income and a $50,000 long-term gain owes $7,500 federal and $1,535 to Pennsylvania.
Do I owe Pennsylvania capital gains tax if I move before selling?
If you move before selling an asset, your state tax obligation depends on where you were a resident when the sale occurs. If you are a Pennsylvania resident at the time of sale, Pennsylvania capital gains rules apply. Always consult a tax advisor when changing states.