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.
Result
Estimate
How to interpret this result
Applicability and limits
Calculation basis
Formula
Calculation logicFormula definitions and substituted values.
Adjusted Basis
Original cost basis ($) + Capital improvements ($)
Original cost basis ($) + Capital improvements ($)Realized Gain
Home sale price ($) - (Adjusted Basis + Selling costs ($))
Home sale price ($) - (Adjusted Basis + Selling costs ($))Available Exclusion
Section 121 exclusion amount ($) * Eligible for full exclusion (1=yes, 0=no)
Section 121 exclusion amount ($) * Eligible for full exclusion (1=yes, 0=no)Excluded Gain
min(max(Realized Gain, 0), Available Exclusion)
min(max(Realized Gain, 0), Available Exclusion)Taxable Gain
max(Realized Gain - Excluded Gain, 0)
max(Realized Gain - Excluded Gain, 0)Estimated tax
Taxable Gain * Capital-gain rate assumption (%) / 100
Taxable Gain * Capital-gain rate assumption (%) / 100How 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.
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.
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.
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.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
1031 Exchange Tax Deferral Calculator
1031 Exchange Tax Deferral Calculator. Estimate realized gain, boot recognized, potential and qualified deferred gain, current taxable gain, tax, and replacement basis for a...
Open calculatorInherited Property Basis and Gain Calculator
Inherited Property Basis and Gain Calculator. An heir enters date-of-death fair market value, improvements, sale price, selling costs, and a capital-gain rate to estimate...
Open calculatorMortgage Interest Deduction Calculator
Mortgage Interest Deduction Calculator. A homeowner enters mortgage interest, standard deduction, other itemized deductions, and a tax rate to estimate the incremental deduction and...
Open calculatorReal Estate Transfer Tax Calculator
Real Estate Transfer Tax Calculator. A party enters sale price, transfer-tax rate, fixed fee, and who pays to estimate transaction tax and the payer’s...
Open calculator