Home Sale Gain Exclusion CalculatorFree online financial calculator — instant results, no sign-up

Estimate taxable home-sale gain using an entered eligible exclusion and adjusted basis.

Inputs

$
$
$
$
%
Gain before exclusion
$260,000.00
Taxable gain estimate$10,000.00
Estimated tax$1,500.00

Estimates only, based on the inputs and assumptions shown. This is not financial, investment, tax, or legal advice. Prices, rates and local rules may change; crypto scenarios do not predict returns. Confirm important decisions with a qualified professional.

Sign in to save results and favorites.

About the Home Sale Gain Exclusion Calculator

The Home Sale Gain Exclusion Calculator estimates taxable home-sale gain from your sale price, selling expenses, adjusted basis, and entered eligible exclusion. It then applies your assumed tax rate to the remaining taxable gain to estimate tax. This tool uses the exclusion you provide; it does not determine whether you qualify for it.

Sale price ($)
The home's total selling price in dollars before selling expenses are deducted; the default is $650,000.
Selling expenses ($)
The dollar amount of qualifying costs associated with selling the home, such as agent commissions and certain closing costs; the default is $40,000.
Adjusted basis ($)
Your tax basis in the home in dollars after applicable increases and decreases, such as qualifying improvements and depreciation; the default is $350,000.
Eligible gain exclusion ($)
The dollar amount of home-sale gain you are eligible to exclude under applicable tax rules; the default is $250,000.
Assumed tax rate on taxable gain (%)
The single percentage rate applied to the estimated taxable gain; the default is 15%.

Formula and method

G = P − S − B; T = max(0, G − E); X = T × (r / 100).
  • PSale price in dollars.
  • SSelling expenses in dollars.
  • BAdjusted basis in dollars.
  • EEntered eligible gain exclusion in dollars.
  • rAssumed tax rate expressed as a percentage.
  • GGain before exclusion in dollars.
  • TTaxable gain estimate in dollars, with a minimum of zero.
  • XEstimated tax in dollars.

Subtract selling expenses and adjusted basis from the sale price to calculate gain before exclusion. Subtract the entered eligible exclusion, flooring the taxable gain estimate at zero, and multiply that result by the assumed tax rate divided by 100. With the default inputs, $650,000 − $40,000 − $350,000 = $260,000.00 in gain before exclusion; max(0, $260,000 − $250,000) = $10,000.00 in estimated taxable gain; and $10,000 × 15% = $1,500.00 in estimated tax.

Worked example

These are the calculator's starting values and the results it actually produces for them.

Inputs

  • Sale price650000 $
  • Selling expenses40000 $
  • Adjusted basis350000 $
  • Eligible gain exclusion250000 $
  • Assumed tax rate on taxable gain15 %

Results

  • Gain before exclusion$260,000.00
  • Taxable gain estimate$10,000.00
  • Estimated tax$1,500.00

How to use the Home Sale Gain Exclusion Calculator

  1. 1Enter the sale price before deducting selling expenses.
  2. 2Enter qualifying selling expenses, taking care not to count the same expense twice.
  3. 3Enter your adjusted basis using purchase records, qualifying improvement costs, and applicable basis adjustments.
  4. 4Enter the exclusion you are eligible to claim and the tax rate you want to assume for the remaining taxable gain.
  5. 5Review the gain before exclusion, taxable gain estimate, and estimated tax, then verify eligibility and tax treatment before relying on the results.

Reading your result

Gain before exclusion is the sale price less selling expenses and adjusted basis: $260,000.00 with the default inputs. Taxable gain estimate is the portion remaining after the entered exclusion, never less than zero: $10,000.00 in the example. Estimated tax applies the entered 15% rate to that taxable gain: $1,500.00. These outputs estimate gain and tax, not cash proceeds after paying off a mortgage.

Limitations

This is a simplified U.S. federal home-sale tax estimate, not an eligibility determination or a tax return calculation. Exclusion eligibility depends on ownership and use tests, prior exclusions, filing status, and possible exceptions or partial-exclusion rules. The tool assumes the entered exclusion can be applied to the calculated gain; it does not separately handle gain attributable to depreciation or nonqualified use, which may not be excludable. Adjusted basis and selling expenses must be supplied correctly. Actual capital-gains rates depend on factors such as income and holding period, and the estimate does not separately calculate net investment income tax, state or local taxes, capital-loss offsets, or other return-level effects. A zero taxable gain estimate does not establish that a loss is deductible; losses on a personal residence generally are not.

Common questions

Does entering $250,000 mean I qualify for that home-sale exclusion?+

No. The calculator accepts the amount you enter without checking eligibility. The federal exclusion is generally up to $250,000, or up to $500,000 for qualifying married couples filing jointly, subject to ownership, use, prior-sale, and other requirements. Confirm your eligible amount before entering it.

Should I subtract my mortgage payoff from the sale price or adjusted basis?+

No. A mortgage payoff generally affects the cash you receive at closing, not the gain calculation. Use the sale price, qualifying selling expenses, and adjusted tax basis rather than your remaining loan balance.

Why is there still taxable gain with the default exclusion?+

The default sale price of $650,000, selling expenses of $40,000, and adjusted basis of $350,000 produce gain before exclusion of $260,000.00. The $250,000 exclusion leaves $10,000.00 of estimated taxable gain, producing $1,500.00 of estimated tax at 15%.

What happens if my eligible exclusion exceeds my gain?+

The taxable gain estimate is set to zero, and estimated tax is also zero. The calculator does not turn an unused exclusion into a refund, deductible loss, or credit.

Does the calculator save my information?+

Calculations run in your browser. While signed in, inputs and results are automatically recorded in account history; saving a result creates a separate saved record.

Further reading

You might also like

Results are estimates for informational purposes and are not financial, medical or legal advice.