Calculators / Home Sale Capital Gains
Federal and California · Tax year 2026
Home Sale Capital Gains Calculator
Estimate the tax on selling a home. Enter the sale and purchase details, how long the home was owned and lived in, and figures from last year's tax return. The calculator applies the home sale exclusion and shows the federal and California tax, the effect on Medicare premiums, and the net cash from the sale.
Gain on the sale
How the gain is figured, following Publication 523 and Form 8949.
| Line | Amount |
|---|---|
| Calculating… | |
Home sale exclusion
Section 121 excludes up to $250,000 of gain, or $500,000 for a married couple filing jointly, if the ownership and use tests are met.
- Calculating…
Effect on the tax return
A 2026 projection with and without the sale. The taxable gain can also make more Social Security taxable, reduce the senior deduction, trigger the 3.8% investment income tax, and raise Medicare premiums.
| Line | Without sale | With sale | Change |
|---|---|---|---|
| Calculating… | |||
Net cash from the sale
| Line | Amount |
|---|---|
| Calculating… | |
Good to know
- Repairs and maintenance do not add to basis. Keep records of improvements; for long-held homes, county permits and old escrow statements help reconstruct them.
- A loss on the sale of a personal residence is not deductible.
- Report the sale on Form 8949 and Schedule D if any gain is taxable or the seller receives Form 1099-S.
- California generally requires 3⅓% withholding on real estate sales; a principal residence that qualifies for the exclusion is exempt when the seller certifies it on Form 593 through escrow.
- Medicare premiums are based on income from two years earlier. A home sale is not a life-changing event for an IRMAA appeal (Form SSA-44).
Assumptions
- Federal figures use the 2026 brackets, standard deduction, capital gain thresholds and SALT cap from IRS Rev. Proc. 2025-32 and the One Big Beautiful Bill Act, including the $6,000 senior deduction. Unrecaptured §1250 gain is taxed at up to 25%.
- The reduced exclusion is prorated on the shorter of the ownership or use period over 24 months. Nonqualified use is prorated by years. Married filing jointly assumes the spouse who did not meet the use test receives no exclusion. Periods of nonqualified use after the home stopped being your residence are not counted, as the law provides.
- Not modeled: AMT, credit phaseouts, installment sales, and §1031 exchanges.
- California tax uses the 2026 FTB rate schedules, standard deduction and exemption credit. California taxes capital gains as ordinary income and follows the federal exclusion.
- Medicare IRMAA uses 2026 thresholds and surcharges per person as a proxy for two years out.
Send this to your client as a branded report
Pro plans add your logo and firm name and export a PDF.