Categories

Mortgage & Real EstateDebt & LoansInvestments & CryptoRetirement & SavingsTax & BusinessCareerReal EstateCost GuidesHome ImprovementLegal & BusinessAuto & VehicleEducationPetsImmigrationMilitary

Related Calculators

1031 Exchange Calculator →Real Estate Commission Calculator →Home Sale Proceeds Calculator →
HomeReal EstateCapital Gains Home Sale Calculator

Capital Gains Home Sale Calculator

Calculate capital gains tax on your home sale. Includes Section 121 exclusion, cost basis adjustments, and net after-tax proceeds.

Auto-updated May 11, 2026 · Verified daily against IRS, Fed & Treasury sources

Instant resultsNo signupVerified formula
Free · No signup · Verified
Capital Gains Home Sale Calculator

Enter your numbers below

$
$
$

Additions, renovations, new roof, etc.

$

Commission + closing costs

$

Determines your CG tax rate

Assumptions· 2026

  • ·Standard fixed-rate amortization: M = P·r(1+r)^n / [(1+r)^n − 1]
  • ·2026 rate environment (30yr ~6.5–7%)
  • ·Principal + interest payment only unless noted
  • ·Monthly compounding on stated annual rate
When this is wrong
  • ·PMI removal triggers (78% LTV automatic / 80% request)
  • ·ARM reset behavior after initial fixed period
  • ·Prepayment penalties on certain loan types
  • ·HELOC draw-period vs. repayment-period behavior
Assumptions· 2026▾
  • ·Standard fixed-rate amortization: M = P·r(1+r)^n / [(1+r)^n − 1]
  • ·2026 rate environment (30yr ~6.5–7%)
  • ·Principal + interest payment only unless noted
  • ·Monthly compounding on stated annual rate
When this is wrong
  • ·PMI removal triggers (78% LTV automatic / 80% request)
  • ·ARM reset behavior after initial fixed period
  • ·Prepayment penalties on certain loan types
  • ·HELOC draw-period vs. repayment-period behavior
Real-world example: Ohio family buying their first home▾

The Chen family is buying a $340,000 home in Columbus, Ohio. Combined income $115,000, 10% down payment, 30-year fixed at 7.125%.

  • Purchase price: $340,000
  • Down payment: $34,000 (10%)
  • Loan amount: $306,000
  • Rate: 7.125%
  • Term: 30 years
  • Property tax (Franklin Co.): ~1.7%
  • Homeowners insurance: ~$1,400/yr
All-in monthly cost (PITI)
~$2,800/month

Takeaway: Columbus/Franklin County averages are the reference baseline. Property tax rates and insurance premiums shift significantly by ZIP code and HOA status. Plug your actual numbers in above.

When this calculator is wrong▾
  • Property tax rates vary by county, not just state

    We default to state-average millage rates. County and municipal rates vary 40%+ within a single state. Ohio ranges from 0.8% (rural counties) to 2.4% (Cuyahoga/Cleveland area). Always cross-check your specific county assessor's published effective rate.

    Property Tax by State
  • HOA fees are excluded from most calculators

    Homeowner association fees add $100-$800/month in condos and planned communities. Condos in urban markets often run $400-$700/month. If your property has HOA, add it manually to any payment estimate — it directly affects your debt-to-income ratio for loan qualification.

    HOA Fee Calculator
  • Closing costs are not included in purchase price inputs

    Closing costs typically run 2-5% of the loan amount — around $6,000-$15,000 on a $300K home. Lender fees, title insurance, escrow, and prepaid taxes add up fast. These are due at closing in cash, not rolled into the mortgage by default.

    Closing Costs Calculator
  • PMI is omitted when down payment is under 20%

    Private mortgage insurance (PMI) costs 0.5-1.5% of the loan annually until you reach 20% equity. On a $300K loan at 1%, that's $250/month. PMI cancels automatically at 78% LTV under federal law — but you can request removal at 80%.

  • Appreciation assumptions may not match your market

    National home price appreciation has averaged ~4% annually since 1968, but markets diverge dramatically. Sun Belt metros averaged 10%+ during 2020-2022; coastal markets often lag the national average during correction cycles. Local supply constraints are the main driver.

  • Capital gains exclusion is not modeled by default

    If you've lived in the home 2 of the last 5 years, you can exclude $250K (single) or $500K (married) of gain from federal capital gains tax. Many calculators show gross profit without applying this exclusion. Relevant when projecting sale proceeds.

    Home Sale Capital Gains Calculator

Related Calculators

1031 Exchange Calculator →Real Estate Commission Calculator →Home Sale Proceeds Calculator →
Your Results

Based on your inputs

ℹ️Demo numbers — replace inputs to see yours
Total Tax Owed
$0zero

15% capital gains rate

Sale Price$600,000
Less: Selling Costs-$33,000
Less: Adjusted Basis-$380,000
Total Capital Gain$187,000
Section 121 Exclusion (married)-$500,000
Taxable Capital Gain$0
Federal Capital Gains Tax (15%)$0
Net Investment Income Tax (3.8%)$0
Total Tax Owed$0
Net After-Tax Proceeds$567,000

Reality Score:save 3 numbers across housing, debt & cash to see how your full picture holds up (0–100). One calc alone can't tell you that.

Stays in your browser. Never sent to us.

More actions
Embed

Your next step

📊 Analyze 3+ calcs to unlock your Financial Picture dashboard (cross-analysis of all your numbers).

Continue with Home Sale Proceeds
Email a copy of this result →

Email a copy of this result to yourself. We don't store it server-side; the email is the only copy.

Decision guides

How Much House Can I Afford?
Real income-to-mortgage math before you shop.
Rent vs. Buy: The Full Picture
Break-even timeline + hidden costs compared.
First-Time Homebuyer Checklist
Step-by-step from offer to close.

Deep-dive articles

⚡ Key Takeaways

  • Exclude up to $250K (single) / $500K (married) of gain from primary residence — must live there 2 of 5 years
  • Long-term capital gains rates: 0%, 15%, or 20% based on income
  • Improvements (not repairs) increase your cost basis and reduce taxable gain
  • 3.8% NIIT applies to high earners (AGI > $200K single / $250K married)
  • State capital gains taxes vary — some states have no special rate (taxed as ordinary income)

Calculating Your Taxable Gain

Taxable gain = Sale Price − Selling Costs − Adjusted Basis − Exclusion Amount. Your adjusted basis = Original purchase price + Closing costs when you bought + Capital improvements − Depreciation taken (if rental).

Primary Residence Exclusion (Section 121)

To qualify: you may want to have owned and used the home as your primary residence for at least 24 months out of the 60 months before the sale. The 24 months don't need to be consecutive. You can only use this exclusion once every 2 years. Partial exclusions may apply for job relocation, health, or unforeseen circumstances.

If you lived in the home 2 of the last 5 years, you can exclude $250K (single) or $500K (married) of gain. Remaining taxable gain is taxed at 0%, 15%, or 20% long-term capital gains rates depending on your income.

Under IRC Section 121, you can exclude up to $250,000 (single filer) or $500,000 (married filing jointly) of capital gains from the sale of your primary residence, provided you lived there for at least 2 of the last 5 years.

Capital improvements increase your basis: additions, new roof, kitchen/bath remodel, HVAC replacement, deck/patio, landscaping. Repairs and maintenance do not increase basis. Keep all receipts!

0% if taxable income ≤ ~$48,350 (single) / ~$96,700 (married). 15% if income ≤ ~$533,400 (single) / ~$600,050 (married). 20% above those thresholds. Plus 3.8% Net Investment Income Tax if AGI > $200K single / $250K married — these NIIT thresholds are NOT indexed to inflation and bite more high earners each year.

Yes, even if you have zero taxable gain after the exclusion. Report it on Schedule D using Form 1099-S. If the entire gain is excluded and you have no taxable gain, some situations allow you to skip reporting — but check with a tax professional.

Capital improvements that increase basis include new roof, kitchen remodel, bathroom renovation, room additions, HVAC replacement, new windows, deck construction, and finished basements. Routine repairs and maintenance like painting or fixing leaks do not increase basis.

You may want to have owned and used the home as your primary residence for at least 2 of the 5 years before the sale. The 2 years do not need to be consecutive. You can use this exclusion once every 2 years. Partial exclusions exist for qualifying circumstances.

The NIIT applies to the lesser of net investment income or the amount your MAGI exceeds $200,000 for singles or $250,000 for married couples. Taxable home sale gains above the exclusion are subject to this additional 3.8% tax on top of regular capital gains rates.

Inherited homes receive a stepped-up basis equal to the fair market value at the date of death. You only pay capital gains tax on appreciation after inheritance, not the original owner's gain. This can significantly reduce or eliminate capital gains tax on inherited property sales.

No, not for a primary residence. The old tax-deferred rollover rule was eliminated in 1997. You can use the Section 121 exclusion regardless of whether you buy another home. For investment properties, a 1031 exchange can defer capital gains by purchasing a replacement property.

Taxable Gain = Sale Price − Selling Costs − Adjusted Basis − Exclusion

Adjusted Basis = Purchase Price + Improvements

Exclusion: $250K (single) / $500K (married) for primary residence (2-of-5 year rule)

Published byJere Salmisto· Founder, CalcFiReviewed byCalcFi EditorialEditorial standardsMethodologyLast updated May 12, 2026

Primary sources & authoritative references

Every formula on this page traces to a federal agency, central bank, or peer-reviewed institution. We cite the rule-makers, not secondhand blogs.

  • HUD — U.S. Department of Housing and Urban Development — HUD (opens in new tab)
  • FHFA — Federal Housing Finance Agency — FHFA (opens in new tab)

Found an error in a formula or source? Report it →

Calculations are for educational purposes only. Consult a qualified financial advisor for personalized advice.