CalculateItNow home

Capital gains tax in Pennsylvania

Pennsylvania tax on a $100,000 long-term gain
$3,070

An effective 3.07%, on top of $15,000 of federal tax

Effective state rate
3.07%
Federal tax on the same gain
$15,000
Total, federal and state
$18,070
Rank among the 51 jurisdictions
18 of 51, cheapest first

The rule in Pennsylvania

Pennsylvania taxes a capital gain as ordinary income, at the same rates as wages — an effective 3.07% on the example below.

  • The gain is added to your Pennsylvania taxable income, so the rate it meets depends on your other income — and any county or city income tax is on top of the figure here.

Tax year 2026, from Pennsylvania Department of Revenue — Personal Income Tax.

Work out the tax on your own gain

Prefilled for Pennsylvania. Change what you paid, what you sold for and your other income — the federal band a gain lands in depends on everything underneath it, which is why the income field matters.

$
$
$
Try an example
Pennsylvania figures are for tax year 2026, from Pennsylvania Department of Revenue — Personal Income Tax: https://www.pa.gov/en/agencies/revenue/resources/tax-types-and-information/personal-income-tax.html
The gain is added to your Pennsylvania taxable income, so the rate it meets depends on your other income — and any county or city income tax is on top of the figure here.
This covers a straightforward sale of stock, funds, crypto or property. It does not model the $250,000/$500,000 exclusion on a main home, depreciation recapture on a rental (taxed at up to 25%), collectibles (28%), qualified small business stock, wash sales, or a 1031 exchange.
Your other income was reduced by the 2026 standard deduction of $16,100 to reach taxable income. Switch to "taxable income" under More options if you have already done that.
Total tax on the gain
$18,070.00
You keep
$81,930.00
Capital gain
$100,000.00
Federal capital gains tax
$15,000.00
Federal rate on the last dollar
15%
Net investment income tax
$0.00
State tax on the gain
$3,070.00
Effective rate on the gain
18.07%
Assumptions
  • One sale of a straightforward capital asset — shares, funds, crypto or investment property — by an individual US resident.
  • The gain is stacked on your other taxable income, which is what decides the federal band.
  • No main-home exclusion, depreciation recapture, collectibles rate, qualified small business stock, opportunity zone or 1031 exchange.
  • State tax uses that state's rule for a gain allocated to it; a gain sourced to another state, or a part-year move, is not modelled.
  • No local income tax: county in Maryland and Indiana, municipal in Ohio and Pennsylvania, city in New York.
Tax as the gain grows — federal, the 3.8% surtax and Pennsylvania
$0$10k$20k$30k041666.66666666666483333.33333333333125000166666.66666666666200000Capital gain
Total tax
How this gain is taxed, band by band
BandRateGain in this bandTax
0% band (to $49,450 of taxable income)0%$0$0
15% band (to $545,500)15%$100,000$15,000
20% band (above $545,500)20%$0$0
Pennsylvania tax on the gain3.1%$100,000$3,070
Selling now against holding past a year
Holding periodTotal taxYou keep
Sold within a year — short-term$26,634$73,366
Held more than a year — long-term$18,070$81,930

You have held this more than a year, so the long-term rates apply. The other row is what the same sale would have cost inside a year.

What a long-term gain costs in Pennsylvania

A single filer with $100,000 of other income, selling an asset held more than a year, in the 2026 tax year. Federal tax is the 0/15/20% schedule; the surtax column is the 3.8% net investment income tax.

GainFederal3.8% surtaxPennsylvaniaTotal taxYou keep
$10,000$1,500$307$1,807$8,193
$50,000$7,500$1,535$9,035$40,965
$100,000$15,000$3,070$18,070$81,930
$250,000$37,500$5,700$7,675$50,875$199,125
$500,000$76,920$15,200$15,350$107,470$392,530
$1,000,000$176,920$34,200$30,700$241,820$758,180

How Pennsylvania compares

State tax on the same $100,000 gain. Pennsylvania ranks 18 of 51 jurisdictions, cheapest first.

StateState tax on $100,000
Indiana$2,950
Louisiana$3,000
Pennsylvania$3,070
Kentucky$3,500
Wisconsin$3,710

Frequently asked questions

Does Pennsylvania tax capital gains?

Pennsylvania taxes a capital gain as ordinary income, at the same rates as wages — an effective 3.07% on the example below.

How much is capital gains tax in Pennsylvania?

On a $100,000 long-term gain for someone earning $100,000, Pennsylvania takes $3,070 — an effective 3.07%. Federal tax adds $15,000, for $18,070 in all.

Is short-term capital gain taxed differently in Pennsylvania?

Not by Pennsylvania — both are ordinary income at the same state rates. The difference is federal, where a long-term gain drops to 0/15/20%.

How long do I have to hold something for the lower rate?

More than one year, federally. The holding period starts the day after you acquire the asset, so something bought on 10 March is long-term only if sold on 11 March the following year or later. Inside a year the gain is ordinary income at your income tax bracket, which for most people is 22% or 24% rather than 15%.

Do I pay Pennsylvania tax on a gain if I moved away before selling?

Generally you are taxed by the state you were resident in when the gain was realised, and some states also tax gains sourced to property inside them however long you have been gone. A part-year move usually means allocating the gain between the two states. This page assumes a full-year Pennsylvania resident.

Related

Put this calculator on your own site

A working capital gains calculator prefilled for Pennsylvania, free for any site, with no ads and no sign-up. It stays current as the rates here are updated.

Paste this anywhere. It works on any site, carries no ads, never expires, and always shows the current version.

Pennsylvania Capital Gains Tax Calculator by CalculateItNow

The page's own title. The clearest description of what the link leads to.

The credit line sits outside the widget on purpose, so it is a real link on your page rather than one buried in a frame. Please keep it — it is what pays for CalculateItNow staying free and ad-free. The script only resizes the widget to fit its contents; drop it and the widget still works.

Capital gains tax in Pennsylvania: Pennsylvania taxes a capital gain as ordinary income, at the same rates as wages — an effective 3.07% on the example below. Source: https://www.calculateitnow.dev/pennsylvania-capital-gains-tax