Pennsylvania · Long-term capital gain of $500,000
How much tax on a $500,000 capital gain in Pennsylvania?
For 2026, a long-term $500,000 capital gain for a Pennsylvania resident runs about $118,770 in federal, NIIT and state tax, an effective rate of 23.8%.
Both include the net investment income tax. Net after all tax on the long-term gain: $381,230.
How the number was derived
The estimate assumes a single filer with $250,000 of other wages, the 2026 standard deduction of $16,100, and a gain held more than one year. The gain is stacked on top of ordinary taxable income for the federal long-term rates. The 3.8% net investment income tax applies to the lesser of net investment income or modified AGI above $200,000 (single) / $250,000 (married filing jointly); these thresholds are not indexed for inflation. Pennsylvania taxes income at a flat 3.07%, so the gain adds about $15,350 of Pennsylvania tax.
Wages after the standard deductionThe gain: taxed at 15% and 20%
Long-term against short-term
A short-term gain is taxed as ordinary income, up to 37% federally for 2026. For this $500,000 gain the federal short-term total would be about $195,196, against $103,420 long-term.
How Pennsylvania taxes the gain
Pennsylvania taxes net gains from the disposition of property as one of eight income classes at the same flat 3.07% as compensation.
Cost basis considerations
For RSU shares, basis is the value taxed as wages at vest. For ISO shares sold in a qualifying disposition, basis is the exercise price. For ESPP shares, basis depends on whether the sale is a qualifying or disqualifying disposition. These rules decide how much of a sale is gain at all.
Questions people ask next
What's the federal tax on a $500,000 long-term capital gain in 2026?
Short-term vs long-term?
How does Pennsylvania tax capital gains?
What about QSBS?
Sources
- Rev. Proc. 2025-32irs.gov
Supporting text
Married Individuals Filing Joint Returns and Surviving Spouses (§ 1(j)(2)(A)) $32,200 Heads of Households (§ 1(j)(2)(B)) $24,150 Unmarried Individuals (other than Surviving Spouses and Heads of Households) (§ 1(j)(2)(C)) $16,100
- IRS Topic no. 559, Net investment income taxirs.gov
Supporting text
$125,000 for married filing separately $200,000 for single or head of household
- PA Department of Revenue - Personal Income Taxrevenue.pa.gov
Supporting text
Pennsylvania personal income tax is levied at the rate of 3.07 percent against taxable income of resident and nonresident individuals, estates, trusts, partnerships, S corporations
- PA Department of Revenue, Personal Income Tax Guide: Net Gains (Losses) from the Sale, Exchange, or Disposition of Propertypa.gov
Supporting text
Gains from the sale, exchange or other disposition of any kind of property are taxable under the Pennsylvania personal income tax (PA PIT) law.
- 26 U.S.C. § 1202 (Partial exclusion for gain from certain small business stock), as amended by Pub. L. 119-21uscode.house.gov
Supporting text
(A) if such stock was acquired by the taxpayer on or before the applicable date, $10,000,000, reduced by the aggregate amount of eligible gain taken into account by the taxpayer
Facts checked November 21, 2026 · Tax year 2026