Skip to main content
capitalgaintaxcalc.com

Pennsylvania Capital Gains Tax 2026: Flat 3.07% state rate

Pennsylvania capital gains are modeled as Flat 3.07% state rate. Use this free calculator to estimate capital gains tax in Pennsylvania, including federal rates, NIIT when applicable, and Pennsylvania's state treatment (flat 3.07% state rate).

State treatment: Flat 3.07% state rate·Official source ↗

Rates last verified: August 2026

Capital Gains Calculator

Federal · NIIT · All 50 states

2026 ratesIRS verified

Follow the three steps, save the sale, then calculate. Required fields are marked with *.

Your tax profile

These apply to every sale in this estimate.

What you sold

Prices and quantity for this lot. Give it a name if you will add more than one sale.

Asset type

When you bought and sold

The IRS uses these dates to decide short-term vs long-term rates.

Next: Save this sale to the order log, then click Calculate now. Tax results do not update until you calculate.

Order log

Sales included in this tax estimate.

Please fill in the details to see your results. Follow the three steps on the left, then save a sale here.

Pennsylvania capital gains tax overview

Pennsylvania capital gains tax planning starts with the federal rules, then layers on Pennsylvania's own treatment (flat 3.07% state rate). This calculator estimates both so you can see a combined effective rate before you sell stocks, crypto, real estate, or other capital assets.

Federally, short-term gains (held one year or less) are taxed as ordinary income, while long-term gains generally use 0%, 15%, or 20% preferential rates for tax years 2025 and 2026. High earners may also owe the 3.8% Net Investment Income Tax when MAGI exceeds the IRS threshold for their filing status.

Pennsylvania applies a flat state rate to capital gains in our model (Flat 3.07% state rate). Flat-rate states are simpler to estimate than graduated systems, but deductions, credits, and local rules can still change your final bill — always confirm with the official revenue agency.

Pennsylvania figures in this model are drawn from the official source we cite for the state: https://www.revenue.pa.gov/. Confirm the current-year statute or agency page before you file — rates and special rules can change.

Pennsylvania is encoded as a flat 3.07% state rate on taxable capital gain. The state line is taxable gain times 3.07% in this model.

Pennsylvania does not switch that 3.07% off for long-term gains here. The federal 0/15/20 brackets are a different column. Local earned-income tax is not included.

Rates last verified: August 2026. Official source: https://www.revenue.pa.gov/.

Use the calculator above with filing status and income to stack federal long-term or short-term tax, NIIT, and Pennsylvania state tax. Compare nearby states from the links below, review our methodology for data sources (including Pennsylvania's official reference), and consult a CPA before filing. This page is educational and not tax advice.

Pennsylvania rate snapshot

Categoryflat
SummaryFlat 3.07% state rate
AbbreviationPA
Flat / modeled rate3.07%

Illustrated tax on a long-term gain

Long-term stock gain while living in Pennsylvania. Federal and NIIT use the same income on every state page. The Pennsylvania column is the only state tax that changes.

GainFederalNIITPennsylvaniaTexas state tax
$50,000.00$7,500.00$0.00$1,535.00$0.00
$100,000.00$15,000.00$0.00$3,070.00$0.00
$250,000.00$37,500.00$4,940.00$7,675.00$0.00

Single filer, tax year 2026, $80,000.00 of other taxable income. Texas is the no-tax comparison. Illustration only, not your return.

Always verify rates with thePennsylvania revenue agencyand review ourmethodology. Not tax advice.

Estimate Pennsylvania tax by asset

Estimate Pennsylvania tax on stocks, crypto, real estate, collectibles, and QSBS.

FAQ

Pennsylvania FAQs

How does Pennsylvania tax capital gains?

Pennsylvania is modeled as a flat-rate state: Flat 3.07% state rate. We apply that modeled rate to taxable gains after federal asset-class rules. Federal short-term and long-term capital gains tax, and the 3.8% Net Investment Income Tax when MAGI exceeds the IRS threshold, can still apply.

Is the Pennsylvania rate the same for short-term and long-term gains?

In this calculator, Pennsylvania's modeled flat rate applies to taxable gains regardless of holding period. Federal treatment still differs for short-term vs long-term. Always confirm Pennsylvania statutes for any special exclusions.

Where do these Pennsylvania rates come from?

Our Pennsylvania model cites https://www.revenue.pa.gov/. Deductions, credits, and local taxes are not fully modeled — treat the state line as a planning estimate.

Do I still file a Pennsylvania return if my only income is a capital gain?

Often yes if you are a Pennsylvania resident and the state taxes that gain at the modeled flat rate (Flat 3.07% state rate). Filing thresholds, credits, and part-year rules are not fully modeled. Confirm with https://www.revenue.pa.gov/.

Is Pennsylvania’s capital-gains rate a flat 3.07%?

Yes in this calculator. The model uses 3.07% rather than a graduated table.

Does Pennsylvania local earned-income tax apply to this gain estimate?

No. The 3.07% figure is the state rate only. Local tax is not computed.

Guides

Nearby state calculators