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.
Pennsylvania Capital Gains Tax Calculator
Results
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.
- 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 Select Tax Year: Choose 2025/2026 or 2024.
- 2 Enter Sale Proceeds: Input gross sale proceeds or total price received from selling the asset.
- 3 Enter Cost Basis: Provide adjusted cost basis including purchase price, closing fees, and capital improvements.
- 4 Select Holding Period: Choose Long-Term (> 1 Year) or Short-Term (<= 1 Year) based on ownership duration.
- 5 Select Filing Status: Choose Single, Married Filing Jointly, or Head of Household for federal bracket calculations.
- 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.
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.