Sale of Home Calculator

Plan your property sale using structured, interactive result breakdowns. Capture purchase costs, improvements, selling expenses, and loan payoff. Adjust filing status and potential exclusion eligibility for accuracy. Estimate federal and state taxes from taxable gain. Compare scenarios, export results, and decide confidently before selling.

Input Details

Example data

Use this example to see how the calculator behaves.

Input Example value Notes
Purchase price 300,000 Original contract price when you bought the home.
Purchase closing costs 6,000 Title, legal, and transfer taxes paid at purchase.
Capital improvements 25,000 Major upgrades like kitchen remodels, additions, and new roof.
Depreciation claimed 0 Enter total depreciation if property was partly rented.
Sale price 420,000 Contract price agreed with your buyer.
Selling costs 24,000 Agent commission, legal, staging, marketing, and inspections.
Mortgage payoff at closing 220,000 Outstanding loan balance paid off from sale proceeds.
Holding period (years) 6 Time between original purchase and completed sale.
Federal capital gains rate (%) 15 Illustrative long-term federal rate on taxable gain.
State tax rate (%) 5 Example state or local rate applied to taxable gain.
Filing status Single Determines standard exclusion limit when eligible.
Eligible for exclusion? Yes Assumes you meet required ownership and use tests.
Use custom exclusion? No Leave at no to use standard statutory limits.
Custom exclusion amount 0 Only used when “Use custom exclusion” is set to Yes.

Example of using this calculator

Imagine you bought a home for $300,000 and paid $6,000 in purchase closing costs. Over several years you spent $25,000 on eligible capital improvements.

You later sell the home for $420,000 and pay $24,000 in commissions and selling expenses. At closing you still owe $220,000 on your mortgage, which is fully paid off from the sale.

  • Adjusted basis = 300,000 + 6,000 + 25,000 = $331,000.
  • Net proceeds = 420,000 − 24,000 = $396,000.
  • Total gain = 396,000 − 331,000 = $65,000.
  • As a single, eligible owner, your standard exclusion is $250,000, so the entire $65,000 gain is excluded and taxable gain becomes $0.
  • Cash at closing = 396,000 − 220,000 = $176,000.
  • Because taxable gain is $0, estimated federal and state taxes are $0, so estimated after-tax proceeds also equal $176,000.

This scenario is simplified and for illustration only. Real situations can involve additional adjustments and local rules.

Results summary

Item Amount
Adjusted basis -
Net proceeds from sale -
Total gain (loss) -
Base exclusion limit -
Applied exclusion -
Taxable gain -
Return on investment -
Cash at closing -
Estimated federal tax -
Estimated state tax -
Estimated total tax -
After-tax proceeds -
Holding period (years) -

This calculator simplifies complex tax rules. Confirm results with a qualified professional before making decisions.

Formula used

Adjusted basis = Purchase price + Purchase closing costs + Capital improvements − Depreciation claimed.

Net proceeds = Sale price − Selling costs.

Total gain (loss) = Net proceeds − Adjusted basis.

Standard exclusion limit (simplified) =

  • 250,000 when filing status is Single or Other, and eligible.
  • 500,000 when filing status is Married filing jointly, and eligible.

If “Use custom exclusion amount” is set to Yes, that value replaces the standard limits above.

Applied exclusion = Minimum of total gain and exclusion limit (never negative).

Taxable gain = Total gain − Applied exclusion (floored at zero).

Return on investment (ROI) = Total gain ÷ Adjusted basis × 100.

Cash at closing = Net proceeds − Mortgage payoff.

Estimated federal tax = Taxable gain × Federal capital gains rate.

Estimated state tax = Taxable gain × State tax rate.

Estimated total tax = Estimated federal tax + Estimated state tax.

After-tax proceeds = Cash at closing − Estimated total tax.

Actual tax outcomes depend on many additional factors, including holding periods, local rules, and your overall income profile.

How to use this calculator

  1. Enter the original purchase price and any purchase closing costs.
  2. Add capital improvements that permanently increased value or extended useful life.
  3. Provide the expected or actual sale price and total selling costs.
  4. Enter any depreciation claimed if the property was ever rented or used for business.
  5. Include the mortgage payoff amount to estimate cash received at closing.
  6. Optionally enter holding period in years for your own reference.
  7. Set illustrative federal and state tax rates to estimate potential taxes.
  8. Select filing status and whether you qualify for the main home exclusion rules.
  9. Use a custom exclusion only when you need to model special limits.
  10. Press Calculate to see gain, taxable amount, cash at closing, and estimated after-tax proceeds.
  11. Use the CSV or PDF buttons to export results and compare scenarios.

This tool is for planning only and does not replace personalized tax or legal advice. Always confirm important decisions with a qualified professional.

Key factors affecting your home sale gain

Several elements drive your final gain or loss amount, including original purchase price, documented capital improvements, purchase and selling costs, and depreciation previously claimed.

Even relatively small changes in selling costs or improvement budgets can noticeably change your adjusted basis, taxable gain, and after-tax proceeds.

What typically counts as capital improvement

Capital improvements usually include projects that add value, extend useful life, or adapt the property for new uses, such as structural additions, kitchen remodels, major roofing, or system upgrades.

Routine repairs and maintenance, like repainting, lawn care, or minor patching, normally do not qualify as capital improvements for basis calculations.

Common selling costs you should include

Typical selling costs include agent commissions, attorney fees, transfer taxes, escrow charges, staging and professional photography, and certain inspection or marketing expenses required to complete the sale.

Correctly capturing all eligible selling costs reduces net proceeds, which reduces your total gain and can shrink or eliminate any taxable amount.

When home sale exclusion may be limited

The full exclusion might not apply when you have not met required ownership or use tests, claimed the exclusion on another home recently, or used the property extensively for rental or business purposes.

The calculator’s custom exclusion option helps you mirror reduced limits that might apply under special rules or partial-qualification scenarios.

Understanding gain versus cash at closing

Your taxable gain is based on net proceeds and adjusted basis, while cash at closing reflects what remains after mortgage payoff and closing adjustments.

It is possible to have significant gain but relatively modest cash if your outstanding loan balance is still high when you sell.

Using different exclusion scenarios

The calculator lets you model standard exclusion limits based on filing status, or override them with a custom amount to reflect partial eligibility or special rules.

Comparing scenarios helps you see how much taxable gain remains if your available exclusion is reduced or phased down.

Impact of tax rates on after-tax proceeds

Estimated federal and state tax amounts are driven by taxable gain and the rates you enter, which are only planning placeholders rather than binding calculations.

Small changes in assumed tax rates can materially shift estimated total tax and the final after-tax proceeds you expect to receive.

Comparing multiple sale or pricing strategies

By exporting results to CSV, you can quickly model several list prices, selling cost assumptions, or improvement budgets and compare net gain, taxes, and cash received.

This comparison can support conversations with your agent and advisor when deciding pricing, timing, and renovation strategies before listing.

Related Calculators

room lighting calculatorhigh bay lighting calculatorlighting angle calculatorbedroom lighting calculatorbasement lighting calculatorcost to install recessed lighting calculatormetal halide to led savings calculatorapartment cleaning cost calculatorfloor cleaning calculatorhousekeeping cost calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.