Skip to content

Primary Home Sale Capital Gains Calculator

Primary Home Sale Capital Gains Calculator. A homeowner enters sale price, original basis, improvements, selling costs, exclusion amount, eligibility flag, and a capital-gain rate to estimate taxable gain. Use it before listing or closing on a primary residence.

Inputs

Real Estate & Rental Property inputs

Range: 0–100,000,000 $

Enter a non-negative US-dollar amount for the stated tax year; use the same tax year and jurisdiction for all related inputs. Professional example: 600000. Edit this value for your own facts.

Range: 0–100,000,000 $

Enter a non-negative US-dollar amount for the stated tax year; use the same tax year and jurisdiction for all related inputs. Professional example: 350000. Edit this value for your own facts.

Range: 0–100,000,000 $

Enter a non-negative US-dollar amount for the stated tax year; use the same tax year and jurisdiction for all related inputs. Professional example: 50000. Edit this value for your own facts.

Range: 0–100,000,000 $

Enter a non-negative US-dollar amount for the stated tax year; use the same tax year and jurisdiction for all related inputs. Professional example: 30000. Edit this value for your own facts.

Range: 0–100,000,000 $

Enter a non-negative US-dollar amount for the stated tax year; use the same tax year and jurisdiction for all related inputs. Professional example: 250000. Edit this value for your own facts.

Range: 0–1 1=yes, 0=no

Enter the count or numeric assumption in the unit stated by the label. Professional example: 1. Edit this value for your own facts.

Range: 0–100 %

Enter a percentage as a whole number, such as 22 for 22%, not 0.22. Professional example: 15. Edit this value for your own facts.

Result

Adjusted Basis
400,000.00
Estimated tax
10,500.00
Estimate
Available Exclusion
250,000.00
Excluded Gain
250,000.00
Realized Gain
320,000.00
Taxable Gain
70,000.00
How to interpret this result
Primary Home Sale Capital Gains Calculator starts with a professional planning example for this scenario. Edit the inputs to replace the example with your own facts; the displayed outputs update from the formula.
Applicability and limits
This is a simplified home-sale gain estimate. It does not determine Section 121 eligibility, partial exclusions, depreciation recapture, divorce or service-member exceptions, or state tax.
Calculation basis
Only the named inputs and displayed formula relationships are used. Rates, limits, thresholds, eligibility flags, dates, and jurisdiction assumptions are not silently looked up unless a verified dataset is listed.

Formula

Calculation logic

Formula definitions and substituted values.

What to check

  • A homeowner enters sale price, original basis, improvements, selling costs, exclusion amount, eligibility flag, and a capital-gain rate to estimate taxable gain.
  • Use it before listing or closing on a primary residence.
  • This is a simplified home-sale gain estimate. It does not determine Section 121 eligibility, partial exclusions, depreciation recapture, divorce or service-member exceptions, or state tax.

Related calculators

This is a simplified home-sale gain estimate. It does not determine Section 121 eligibility, partial exclusions, depreciation recapture, divorce or service-member exceptions, or state tax.