Pennsylvania Capital Gains Tax Calculator - Flat 3.07% State Income Tax & Federal Capital Gains Estimator

Use this free Pennsylvania capital gains tax calculator to estimate your PA state flat personal income tax (3.07%) and federal capital gains tax on stocks, real estate, and crypto.

Reviewed by Best Calculators Editorial Team Updated: Free Tool

Pennsylvania Capital Gains Tax Calculator

Tax & Financial Notice
Educational Estimate Only — Not Certified Tax, Legal, or Financial Advice: Calculations are based on published statutory federal/state schedules and standard regulatory formulas. Actual tax liabilities, payroll withholding, loan terms, and benefit eligibility depend on your complete filing profile, deductions, and current agency rules. Consult a Certified Public Accountant (CPA), Enrolled Agent (EA), or official government agency before filing or making binding financial decisions.
Quick Filing Presets 1-click standard scenarios

Select 2025/2026 or 2024 tax year rules

Long-term is asset held > 1 year; Short-term is <= 1 year

$

Total gross sale price from the asset disposal

$

Original purchase price plus capital improvements minus depreciation

Federal tax filing status

$

Your regular annual taxable income used to place gain into federal tax brackets

Results

Gross Capital Gain
$0
Pennsylvania State Capital Gains Tax $0
Federal Capital Gains Tax $0
Combined Total Capital Gains Tax $0
Effective Combined Tax Rate 0%

What Is Pennsylvania Capital Gains Tax Calculator?

The Pennsylvania capital gains tax calculator is a specialized state tax estimation tool designed for taxpayers selling stocks, real estate, mutual funds, cryptocurrency, or business assets across the Commonwealth of Pennsylvania. Capital gains occur when you sell an asset for a higher price than your original cost basis. Unlike many states with progressive tax brackets or federal holding-period tax rates, Pennsylvania taxes all net capital gains (Net Gains Derived from Disposition of Property) at a flat personal income tax rate of 3.07%. For tax years 2025 and 2026, Pennsylvania does not distinguish between short-term and long-term capital gains at the state level. This Pennsylvania capital gains tax calculator allows taxpayers to project state and federal tax liabilities accurately.

  • • Pennsylvania Real Estate Sales: Calculate state flat tax (3.07%) and federal capital gains tax when selling residential property or land in Philadelphia, Pittsburgh, Allentown, or Erie.
  • • Stock & Portfolio Liquidations: Determine tax obligations on stock market gains under Pennsylvania's flat 3.07% state income tax rate.
  • • Cryptocurrency Transactions: Evaluate federal tax brackets and state flat income tax rules for digital asset sales.
  • • State Comparison & Tax Planning: Compare Pennsylvania's flat 3.07% tax rate against progressive state income tax models across neighboring states.

Under 72 P.S. § 7303, capital gains are classified as Class 2 income (Net Gains Derived from Disposition of Property) and taxed at Pennsylvania's flat 3.07% rate.

Federal capital gains taxes apply in addition to Pennsylvania flat state income tax, with long-term federal rates at 0%, 15%, or 20% depending on taxable income.

Understanding how your holding period and filing status interact with federal rules while paying a flat state rate ensures accurate multi-tier tax planning. This Pennsylvania capital gains tax calculator provides complete visibility across all tax tiers.

To compare Pennsylvania flat tax rules against progressive state income tax rates, visit the Ohio Capital Gains Tax Calculator.

How Pennsylvania Capital Gains Tax Calculator Works

Pennsylvania state capital gains tax is calculated by applying the flat 3.07% PA personal income tax rate directly to net capital gain, then adding federal capital gains tax liability.

Gross Capital Gain = Sale Proceeds - Cost Basis Pennsylvania State Capital Gains Tax = Gross Capital Gain * 3.07% Federal Capital Gains Tax = Gross Capital Gain * Federal Rate (0%, 15%, 20%, or ordinary rates) Total Combined Tax Liability = Pennsylvania State Tax + Federal Tax
  • Sale Proceeds: Gross sale price before deductions.
  • Cost Basis: Original purchase price plus qualifying improvements minus depreciation.
  • Tax Year: 2025/2026 or 2024 (flat PA tax rate remains 3.07%).
  • Holding Period: Long-term (held > 1 year) or short-term (held <= 1 year).

To calculate capital gains tax in Pennsylvania, first subtract adjusted cost basis from sale proceeds to find net gain.

Pennsylvania applies a flat 3.07% personal income tax rate to your net capital gain regardless of filing status or income bracket.

Federal taxes still apply based on your federal income bracket and asset holding period.

2025 Long-Term Real Estate Sale in Pittsburgh

Sale Proceeds: $300,000 | Cost Basis: $200,000 | Holding Period: Long-Term (> 1 Year) | Tax Year: 2025 | Filing Status: Single | Other Income: $75,000

Gross Capital Gain = $100,000. Pennsylvania State Flat Tax (3.07%) = $3,070. Federal Capital Gains Tax (15%) = $15,000. Total Combined Tax = $3,070 + $15,000 = $18,070.

$18,070 Total Estimated Tax (18.07% Effective Combined Rate)

The seller pays $3,070 in Pennsylvania state tax and $15,000 in federal tax, retaining $281,930 in net cash proceeds.

According to Pennsylvania Department of Revenue, net capital gains are taxed as Class 2 income at Pennsylvania's flat personal income tax rate of 3.07%.

Taxpayers reviewing state tax exemptions and deductions can explore the Missouri Capital Gains Tax Calculator.

Key Concepts Explained

Essential terminology, legal definitions, and tax concepts governing Pennsylvania state and federal capital gains taxation.

Flat 3.07% State Income Tax Rate

Pennsylvania taxes all taxable personal income, including net capital gains, at a flat rate of 3.07%.

No Holding Period Differentiation at State Level

Unlike federal rules, Pennsylvania treats short-term and long-term capital gains identically under the flat 3.07% rate.

Cost Basis & Adjustments

Cost basis equals purchase price plus eligible capital improvements minus allowable depreciation or amortization.

Class 2 Income Classification

Pennsylvania tax law classifies gains from property dispositions as Net Gains Derived from Disposition of Property (Class 2 income).

Understanding these foundational tax definitions ensures accurate filing and prevents costly reporting mistakes.

Properly tracking improvements to real estate or reinvested dividends in stocks protects your cost basis from artificial tax inflation.

How to Use This Calculator

Follow these step-by-step instructions to calculate your Pennsylvania state and federal capital gains tax liability.

  1. 1 Select Tax Year: Choose 2025/2026 or 2024.
  2. 2 Enter Sale Proceeds: Input gross sale proceeds or total price received from selling the asset.
  3. 3 Enter Cost Basis: Provide adjusted cost basis including purchase price, closing fees, and capital improvements.
  4. 4 Select Holding Period: Choose Long-Term (> 1 Year) or Short-Term (<= 1 Year) based on ownership duration.
  5. 5 Select Filing Status: Choose Single, Married Filing Jointly, or Head of Household for federal bracket calculations.
  6. 6 Review Results: Examine gross capital gain, PA state tax (3.07%), federal tax, total combined tax, and effective tax rate.

A single filer in Pennsylvania selling stock for $100,000 with a $40,000 cost basis ($60,000 gain) and $75,000 background income will see $1,842 PA state tax (3.07%), $9,000 federal tax (15%), and $10,842 total combined tax (18.07% effective rate).

Benefits of Using This Calculator

Key advantages of using this Pennsylvania capital gains tax estimator for financial decision making.

  • • Accurate Flat Tax Calculation: Applies Pennsylvania's flat 3.07% state tax rate directly to net capital gain.
  • • Unified State & Federal Analysis: Calculates both Pennsylvania state tax and federal tax obligations in one step.
  • • Multi-Year Support: Supports tax years 2025, 2026, and 2024 for scenario modeling.
  • • Multi-Filing Support: Accommodates Single, Married Filing Jointly, and Head of Household federal tax brackets.
  • • Instant Rate Summary: Provides gross capital gain, state tax, federal tax, total tax liability, and effective tax rate percentage.

Using this calculator empowers Pennsylvania investors and property owners to plan asset sales with complete tax clarity.

Eliminating tax uncertainty allows taxpayers to accurately estimate net cash proceeds before closing sales.

Investors comparing flat state tax models across state lines can consult the Louisiana Capital Gains Tax Calculator.

Factors That Affect Your Results

Critical factors that influence your overall Pennsylvania state and federal capital gains tax liability.

Flat State Tax Rate vs Federal Brackets

While PA tax is flat at 3.07%, federal tax brackets (0%, 15%, 20%) vary based on overall taxable income.

Holding Period

Dictates whether federal capital gains are taxed at ordinary rates (short-term) or preferential rates (long-term).

Cost Basis Accuracy

Including improvements and depreciation adjustments ensures accurate profit calculation.

  • • This tool provides estimates for financial planning purposes and does not replace professional CPA guidance.
  • • Complex scenarios such as Section 121 principal residence exclusions, 1031 exchanges, or installment sales require custom tax consultation.

Always consult a qualified Certified Public Accountant (CPA) or tax professional in Pennsylvania for complex tax situations or high-value sales.

Primary home sellers in Pennsylvania may qualify for federal and PA primary residence exclusions ($250,000 for single, $500,000 for joint filers), which eliminate taxes on qualifying gains.

According to Pennsylvania Department of Revenue, net capital gains are taxed as Class 2 income at Pennsylvania's flat personal income tax rate of 3.07%.

For asset sales in neighboring mid-Atlantic states, see the Maryland Capital Gains Tax Calculator.

Pennsylvania capital gains tax calculator showing sale proceeds, cost basis, filing status, tax year, PA flat state tax liability (3.07%), federal tax, and combined tax liability
Pennsylvania capital gains tax calculator showing sale proceeds, cost basis, filing status, tax year, PA flat state tax liability (3.07%), federal tax, and combined tax liability

Frequently Asked Questions

Q: Does Pennsylvania tax capital gains?

A: Yes. Pennsylvania taxes net capital gains as Class 2 personal income at a flat rate of 3.07%.

Q: What is the Pennsylvania capital gains tax rate for 2025 and 2026?

A: For tax years 2025 and 2026, Pennsylvania taxes net capital gains at a flat state personal income tax rate of 3.07%.

Q: Are short-term and long-term capital gains taxed differently in Pennsylvania?

A: At the Pennsylvania state level, short-term and long-term gains are both taxed at the flat 3.07% rate. However, at the federal level, long-term gains enjoy preferential tax rates of 0%, 15%, or 20%.

Q: How does the Pennsylvania primary residence capital gains exemption work?

A: Gains from the sale of your principal residence in Pennsylvania are excluded from PA personal income tax if you met ownership and use requirements (living in the home as primary residence for at least 2 of the prior 5 years).

Q: Can you offset capital gains with capital losses in Pennsylvania?

A: Pennsylvania allows capital losses to offset capital gains realized in the same tax year within Class 2 income, but unused capital losses cannot be carried forward to future tax years or used to offset other income classes.

Q: How do federal capital gains taxes apply to Pennsylvania residents?

A: Pennsylvania residents pay federal capital gains taxes in addition to PA state income tax (3.07%). Federal rates depend on holding period and total taxable income.

Statutory Calculation Methodology & Reconciliation Guide for Pennsylvania Capital Gains Tax Calculator

Accurate modeling with the Pennsylvania Capital Gains Tax Calculator requires separating statutory marginal rates from blended effective burdens across federal, state, and local jurisdictions. In statutory tax and payroll accounting, gross income or transaction value is first adjusted by above-the-line statutory exclusions—such as qualified pre-tax retirement deferrals under Internal Revenue Code Section 401(k) or Section 403(b), Section 125 cafeteria health premiums, and Health Savings Account (HSA) contributions—before standard or itemized deductions are applied to arrive at net taxable base figures.

When evaluating multi-tier brackets or transaction thresholds, each progressive band applies strictly to the incremental dollar slice within that corridor rather than retroactively re-pricing lower tiers. For example, when an earner or transaction crosses a statutory threshold, only the excess dollar amount above the cut-off is assessed at the higher marginal percentage. Consequently, the effective rate (total tax or fee divided by total gross base) always remains lower than the top marginal bracket in progressive systems, whereas flat-rate sales, excise, or supplemental withholding levies apply a uniform percentage across the entire assessable base.

1. Pre-Tax vs. Post-Tax Ordering Rules

Payroll and income tax statutes distinguish between deductions that reduce both income tax and FICA/social insurance bases (such as Section 125 medical and dental premiums) and deferrals that reduce only federal and state income tax while remaining subject to Social Security (6.2% up to the annual wage base cap) and Medicare (1.45% plus 0.9% Additional Medicare Tax above statutory thresholds). Recording the exact deduction class prevents systematic under- or over-estimation of net take-home proceeds.

2. Withholding vs. Final Return Liability

Periodic paycheck or supplemental bonus withholding tables (such as IRS Publication 15-T percentage and wage-bracket methods, state revenue withholding schedules, or PAYE cumulative tax codes) are administrative collection estimates designed to approximate annual liability. Final statutory obligation is reconciled on the annual return after accounting for household filing status, capital loss carryforwards, refundable and non-refundable tax credits, and multi-state reciprocity agreements.

Audit & Record-Keeping Best Practices: When using the Pennsylvania Capital Gains Tax Calculator for quarterly estimated tax planning, compensation negotiation, or transaction budgeting, retain contemporaneous documentation including year-to-date pay stubs, W-2 or 1099 information returns, closing disclosures, and municipal rate schedules. Comparing baseline scenarios against +/- 10% income or rate sensitivity variations helps households and finance teams maintain an adequate liquidity buffer before statutory filing deadlines.

Worked Numerical Reconciliation Example: Suppose a taxpayer or household evaluates a primary scenario of $85,000 against an alternative scenario of $110,000 using the Pennsylvania Capital Gains Tax Calculator. By isolating pre-tax adjustments first, applying the statutory schedule to each incremental tier, and comparing the resulting net obligation against year-to-date payments, the user can immediately quantify both the incremental dollar impact and the exact marginal rate on the $25,000 difference without manual spreadsheet rounding errors.