Home Sale Capital Gains Tax Calculator

Federal capital gains tax on a home sale with the IRC §121 $250k/$500k principal-residence exclusion.

  • Formula checked
  • Editorially reviewed
  • Free · no signup
  • Updated June 27, 2026

Your details

USD
USD
USD

Additions, remodels — not repairs

USD
%

0% / 15% / 20% based on taxable income

Your estimated tax

Federal capital gains tax

$9,750.00

15% on $65,000.00 taxable gain

Total gain on sale$315,000.00
§121 exclusion applied$250,000.00
Net sale proceeds (after tax)$695,250.00

Key takeaway

Taxable gain $65,000.00; federal tax $9,750.00.

Saved on this device. No account required.

Share

Shares the calculator link. Your inputs stay on your device.

More ways to share

Privacy-safe: amounts you typed are never attached to a share link.

My dashboard

Saved on this device only — no account needed, no financial values leave your browser.

Estimated tax breakdown

The same numbers as above, shown visually so the trade-offs are easy to see.

Estimated tax breakdown
Net sale proceeds (after tax)
$695,250.00
Total gain on sale
$315,000.00
§121 exclusion applied
$250,000.00
Federal capital gains tax
$9,750.00

What to do next

What this means

Federal Capital Gains Tax is $9,750.00. This estimates your liability using 2025 federal rules; state treatment varies.

Is this good or bad?

The result is healthy when withholding or estimated payments track your actual liability closely.

What's the risk?

Under-withholding produces an April bill plus potential IRS underpayment penalties.

What should you do next?

Compare this estimate to your year-to-date withholding and adjust your W-4 if they diverge.

Your action plan

  1. 1

    Compare to your year-to-date withholding

    A mid-year check prevents an April surprise.

  2. 2

    Adjust your W-4 after life changes

    Marriage, a child or side income all change the right amount.

  3. 3

    Max tax-advantaged accounts before year end

    401(k), HSA and traditional IRA reduce taxable income.

  4. 4

    Keep documentation for every deduction

    The IRS burden of proof is on the filer.

  5. 5

    Run the Income Tax Calculator

    Annual income tax across regions.

    Open Income Tax Calculator

Your timeline

Today

  • Save this estimate with your tax documents.
  • Check your latest pay stub's year-to-date withholding.

This month

  • Submit a revised W-4 if withholding is off.
  • Set aside the estimated amount if you are self-employed.

Next 12 months

  • Make quarterly estimated payments on the IRS schedule.
  • Review deductions before December 31.

Long term

  • Plan Roth conversions in low-income years.
  • Coordinate withdrawals to manage your bracket in retirement.

Compare scenarios

Same inputs, three outlooks — we vary Long-term capital gains rate up and down so you can see the range before you commit.

Optimistic

$7,800.00

Federal Capital Gains Tax

Long-term capital gains rate: 12%

Expected

$9,750.00

Federal Capital Gains Tax

Long-term capital gains rate: 15%

Conservative

$11,700.00

Federal Capital Gains Tax

Long-term capital gains rate: 18%

Result Intelligence

Understand your result

  • Your federal capital gains tax is $9,750.00. Federal figures use 2025 IRS brackets; state tax varies.
  • Withholding and estimated payments should track this to avoid IRS underpayment penalties.

What should you do next?

  1. W-4 Withholding

    Fine-tune each paycheck to avoid a bill.

  2. Effective Tax Rate

    See your true blended rate, not just marginal.

  3. Quarterly Estimated Tax

    Avoid underpayment penalties if self-employed.

  4. Paycheck Calculator

    Preview take-home after federal, FICA and state.

Ways to improve your result

  • Adjust W-4 mid-year if life changes (marriage, dependent, side income).
  • Contribute to HSA/401(k)/IRA to reduce taxable income before Dec 31.
  • Bunch charitable gifts into one year to clear the standard-deduction hurdle.

Common U.S. scenarios

Single Texas filer, $85k

No state income tax — effective federal rate ~14% after standard deduction.

MFJ California, $220k

Combined federal + state marginal hits 33% before FICA — HSAs and 401(k) matter.

NY self-employed, $140k

SE tax adds 15.3% on top of income tax — quarterly estimated payments avoid Form 2210 penalties.

Your result

Federal Capital Gains Tax
$9,750.00
Total Gain on Sale
$315,000.00
§121 Exclusion Applied
$250,000.00
Net Sale Proceeds (after tax)
$695,250.00

Taxable gain $65,000.00; federal tax $9,750.00.

What this result assumes

Confidence in a number depends on the assumptions behind it. Here are ours, in full.

Assumptions

  • The rate you entered stays fixed for the whole period.
  • Figures use current U.S. federal rules; state and local effects are separate.
  • All amounts are shown in USD.
  • Results are rounded for display; internal math uses full precision.

Limitations

State, local and AMT effects, credits and phase-outs may change your actual liability.

Estimates are for education and planning. They are not financial, tax or legal advice.

Formula source

IRS published brackets, standard deductions and worksheets

Version
v1.3
Last reviewed

Where to go next

Next logical calculatorIncome Tax CalculatorAnnual income tax across regions.Continue

Read before you decide

Guides and comparisons that put this number in context.

Quick answer

What it does
Home Sale Capital Gains Tax Calculator federal capital gains tax on a home sale with the IRC §121 $250k/$500k principal-residence exclusion. It runs entirely in your browser, needs no signup, and uses standard published U.S. formulas.
When to use
Use it while you plan withholding, estimated payments, or a filing decision involving home sale capital gains tax.
Inputs
  • Sale price
  • Original purchase price (basis)
  • Capital improvements added to basis
  • Selling costs (commissions, closing)
  • Filing status
  • Meets §121 use & ownership test?
Outputs
  • Federal Capital Gains Tax
  • Total Gain on Sale
  • §121 Exclusion Applied
  • Net Sale Proceeds (after tax)
Takeaway
In one line: enter your sale price and original purchase price (basis) and the Home Sale Capital Gains Tax Calculator returns federal capital gains tax and total gain on sale you can compare before deciding.

Last updated · 1 min read

How to read your result

Home Sale Capital Gains Tax Calculator: Your result approximates your federal tax liability or take-home pay based on 2025 brackets. State, local, and credits can shift the number materially.

What your result means

  • Your effective tax rate is almost always lower than your marginal (top-bracket) rate.
  • Tax credits reduce your bill dollar-for-dollar; deductions only reduce taxable income.
  • Withholding too much means you're giving the IRS an interest-free loan.

How does the formula work?

Gain = (Sale − Selling costs) − (Basis + Improvements). Taxable = max(0, Gain − §121 exclusion). Tax = Taxable × LTCG rate.

How it works

Under IRC §121, single filers can exclude up to $250,000 of gain and joint filers up to $500,000 when the home was owned and used as a principal residence for at least 2 of the last 5 years. Improvements increase basis; repairs do not. Any remaining gain is taxed at the 0/15/20% long-term rate (plus 3.8% NIIT for high earners).

Step-by-step guide

  1. 1Enter gross income and applicable deductions.
  2. 2Select the filing status and tax year.
  3. 3Review estimated tax, effective rate, and take-home pay.
  4. 4Adjust deductions to see how they change your liability.

Example calculation

Example: Single seller, primary home, 15% LTCG bracket.

Who should use this calculator?

  • W-2 employees estimating a refund or bill
  • Freelancers and self-employed filers
  • Anyone comparing filing statuses or deductions
  • Tax preparers running quick client estimates

When should you use it?

  • Before filing your annual return
  • Mid-year to project your refund or bill
  • When changing jobs, filing status, or income
  • Before claiming a large deduction or credit

What affects the result?

  • Filing status and tax year
  • Gross income and above-the-line adjustments
  • Standard vs itemised deductions
  • Credits (child, education, EV, etc.)
  • State and local tax rules

Compare three scenarios

Three realistic scenarios compared side by side
ScenarioIncome (single, 2025)Federal tax + effective rate
Entry-level$55,000 gross, standard deduction≈ $4,400 · 8.0%
Mid-career$110,000 gross, standard deduction≈ $16,600 · 15.1%
Senior$220,000 gross, standard deduction≈ $46,700 · 21.2%

Illustrative examples using U.S. market averages. Enter your own numbers above for a personalized figure.

Comparison tables

Buying vs Renting a Home in the USA

Homeownership builds equity but carries costs renters never see. HUD and the CFPB both recommend comparing the full monthly cost of ownership, not just the mortgage payment.

Buying vs Renting a Home in the USA
FactorBuyingRenting
Upfront cash3%–20% down plus 2%–5% closing costsFirst month plus a security deposit
Monthly costPrincipal, interest, property tax, insurance, HOA, PMI (PITI)Rent plus renters insurance
MaintenanceBudget 1%–2% of home value per yearLandlord's responsibility
Tax benefitMortgage interest and property tax deductible if you itemize (IRS Pub. 936)No federal deduction
Break-even horizonTypically 4–7 years before ownership winsCheaper below the break-even horizon; full mobility

Bottom line: Ownership usually wins once you pass the break-even horizon and stay put. Below it, renting and investing the difference commonly produces more net worth.

Decision guide

Should I Buy or Keep Renting?

HUD and CFPB guidance points at four gating questions.

  1. 1Will you stay in the area at least 5 years?

    Yes: Continue.

    No: Rent. You likely will not clear transaction costs.

  2. 2Do you have the down payment plus 3–6 months of expenses left over?

    Yes: Continue.

    No: Rent and keep building reserves — closing wipes out thin savings.

  3. 3Is total PITI (plus HOA and maintenance) under 28% of gross monthly income?

    Yes: Continue.

    No: Lower the price target or wait — you would be cost-burdened.

  4. 4Is your job and income stable, with a DTI under 43%?

    Yes: Buy.

    No: Rent until income stabilizes.

Bottom line: Buy when time horizon, reserves, payment ratio and income stability all pass. Any single failure favors renting.

Common mistakes to avoid

  • Applying the wrong filing year's brackets.
  • Forgetting state/local taxes on top of federal.
  • Mixing gross with taxable income.

Pro tips

  • Save W-2s, 1099s and receipts for at least 3 years.
  • Run the numbers under both standard and itemised deductions before filing.
  • Consider timing large deductions into a single tax year.

Why use this calculator

  • Uses current-year IRS brackets, standard deductions and FICA limits.
  • Compares standard vs itemized deductions automatically.
  • Shows federal, state and effective tax rates in one place.
  • Great for mid-year planning, not just April 15.

Limitations to keep in mind

  • State and local rules vary and may not be fully modeled.
  • AMT, NIIT and phase-outs are simplified in some scenarios.
  • Not a substitute for a filed return or a CPA's advice.
  • Always verify against IRS forms and instructions before filing.

Key terms explained

Marginal vs effective rate
Marginal rate is the tax on your next dollar earned; effective rate is your total tax divided by total income. Effective is almost always lower.
Standard deduction
A flat amount that reduces taxable income without itemizing. For 2025 it's $15,000 single / $30,000 married filing jointly.
Above-the-line adjustment
Deductions taken before AGI is calculated (e.g. HSA, traditional IRA, student loan interest). They lower AGI regardless of standard vs itemized.
Tax credit vs deduction
Credits reduce tax owed dollar-for-dollar. Deductions only reduce taxable income, so their value depends on your bracket.
FICA
Social Security (6.2%) plus Medicare (1.45%) taxes on wages. Withheld separately from federal income tax.

Before you decide

  • Rerun the numbers with standard vs itemized deductions before filing.
  • Confirm state and local tax on top of federal — the calculator here is federal-first.
  • Verify credits (child, education, retirement saver) that reduce tax dollar-for-dollar.
  • Adjust W-4 withholding if your refund or bill is over ~$500 — don't lend the IRS money.

Official Sources & References

The formulas, rates and definitions used by this calculator are aligned with the following official sources:

We use only primary sources — regulators, standards bodies and scheme operators. See our full sourcing policy for details. Sources & References Policy · Calculator Methodology · How We Verify Formulas

Trust & Accuracy

Accuracy tested

Verified against official IRS / HMRC / Income Tax Department slab logic. Edge cases, formula validation and manual verification completed (last reviewed June 27, 2026).

Government source

Inputs and thresholds follow Internal Revenue Service (IRS) published brackets, limits and worksheets.

Educational use

This tool is provided for education and planning only. It is not financial, tax, legal or medical advice.

Available for

United States, Canada, United Kingdom, Australia, India, European Union.

Currency support

USD · INR · CAD · AUD · GBP · EUR

Privacy

No information entered into this calculator is stored on our servers unless you explicitly choose to save or share your calculation.

Print, share & save

Use the Save, Share, Copy, PDF, CSV and Print actions under the result panel.

Accessibility

Keyboard navigable, screen-reader friendly labels, responsive on mobile and desktop.

Learn more: How we verify formulas · How we test accuracy · Methodology · Editorial policy

Recent Updates

We continuously review and improve our calculators to keep formulas, assumptions and references accurate.

View change log (4)Show
  1. v1.3

    Added Trust & Accuracy panel and machine-readable change log.

  2. v1.2

    Added Save, Share, PDF, CSV and Print actions to results.

  3. v1.1

    Added global currency selector (USD, INR, CAD, AUD, GBP, EUR).

  4. v1.0

    Initial calculator release with verified formulas and Official Sources.

Share this Calculator

Share to any platform, embed it on your site, or scan the QR code. No sign-up required.

More ways to share
Embed code

Frequently Asked Questions

Related guides

In-depth tax guides, worked examples, and expert explainers.

Related topics

What's next?

Your next step

Most people who use this calculator explore these next. Follow the path in order for a complete plan.

  1. 1Income Tax CalculatorAnnual income tax across regions.
  2. 2Paycheck Calculator (US)Take-home pay after federal, FICA, and state taxes.

Recently updated

Beginner calculators

Simple, popular tools most people start with.

Advanced calculators

Specialised tools for deeper analysis.

Reviewed by the CreditLoanCalculator editorial team·Last reviewed ·Editorial policy·How we verify formulas
Disclaimer: Results are estimates for informational purposes only and should not be considered financial, medical, legal, or professional advice. Always consult a qualified professional before making decisions.