A home sale calculator should answer the question most sellers actually mean: What do I walk away with? But there is a second number that matters at tax time: What gain does the IRS see?
Those numbers are not the same. Your mortgage payoff can dramatically reduce the cash you receive at closing without reducing your federal home-sale gain. That is the mistake I want this calculator to make nearly impossible to make.
Quick Answer: The Two Home-Sale Numbers
Cash before tax starts with the sale price and subtracts the selling costs, mortgage payoff and other closing cash outflows you enter. Tax gain starts with amount realized from the sale and subtracts your adjusted basis. The mortgage belongs in the first calculation, not the second.
The IRS calculation generally starts with your amount realized from the sale, subtracts your adjusted basis, and then determines whether some or all of the gain may qualify for the federal home-sale exclusion. If a standard Section 121 screen is clean, this tool can estimate a potential exclusion of up to $250,000, or up to $500,000 on a qualifying joint return. It deliberately does not pretend the remaining gain is your final tax bill.
On This Page
- Use the Home Sale Calculator
- Net Proceeds vs. Taxable Gain: The Home-Sale Difference That Trips People Up
- How This Home Sale Calculator Works
- What Counts Toward Your Adjusted Cost Basis?
- What If You Do Not Have Every Home-Improvement Receipt?
- How the 0,000 / 0,000 Home-Sale Exclusion Fits In
- When the Calculator Should Stop Instead of Guessing
- Choose the home-sale question you actually have
- Questions Home Sellers Actually Ask About Profit, Basis and Capital Gains
- Next Steps: Build the Number You Can Defend
Use the Home Sale Calculator
Enter the numbers you can support from your purchase records, improvement records and closing paperwork. The upgraded calculator now shows the cash side and tax-gain side together so you can see why they differ.
Home Sale Calculator
What would you really walk away with?
We'll separate the cash you may receive from the gain the IRS may care about — without making you take a tax-code exam first.
Your entries stay in your browser and are not submitted by this tool.
Your home-sale estimateQuick estimate
Two numbers. Two completely different jobs.
Why those two numbers are supposed to be different
Show me the math
What could change this estimate?
Planning estimate only. This tool does not calculate your final federal or state tax bill, tax brackets, depreciation-related gain, Net Investment Income Tax, every basis adjustment, or every Section 121 exception. Verify the exact facts and IRS rules before filing.
What the result means: “potential gain after screened exclusion” is still not your final federal or state tax bill. Capital-gain rates depend on your broader taxable-income picture. And of course what state you live in. Learn more about California’s State Capital Gains tax here. State tax, Net Investment Income Tax, depreciation-related gain and other rules can also matter.
Michael’s Take
A calculator earns trust by knowing when to stop. I would rather give you the right three numbers and a clear warning than a beautiful, precise-looking tax bill built on facts the tool never asked you for.
Net Proceeds vs. Taxable Gain: The Home-Sale Difference That Trips People Up
Search results, Reddit questions and even Bing queries reaching this page keep circling the same confusion: equity, cash proceeds and taxable gain get treated like interchangeable numbers. They are not.
| Number | What it answers | Mortgage payoff matters? |
|---|---|---|
| Equity | Roughly, how much home value is left after debt? | Yes |
| Cash / net proceeds before tax | How much cash may reach you after the sale costs and payoffs you entered? | Yes |
| Tax gain | How much gain results from amount realized minus adjusted basis? | No |
The shareable rule: Your mortgage changes your cash, not your capital gain.
If you sell a $900,000 home, pay $50,000 of qualifying selling expenses and have a $500,000 adjusted basis, the estimated gain is $350,000. A $100,000 mortgage payoff and a $500,000 mortgage payoff produce very different cash checks – but they do not change that $350,000 gain formula.
This distinction is also why the redesigned calculator includes a share-safe copy button. It lets you share the lesson without broadcasting your personal sale price, mortgage or tax numbers.
How This Home Sale Calculator Works
The calculator separates the sale into five layers:
- Estimated net proceeds before tax: sale price minus the selling expenses, mortgage payoff and other cash deductions you entered. Think of this as the cash-side estimate, not the tax-gain formula.
- Amount realized: sale price minus qualifying selling expenses used in the gain calculation.
- Adjusted basis: starting basis plus qualifying basis increases and capital improvements, minus required basis reductions.
- Gain or loss: amount realized minus adjusted basis.
- Potential Section 121 exclusion: when the standard main-home screen is clean, estimate how much gain may be excluded.
IRS Publication 523 uses the same basic gain architecture: selling price is adjusted for selling expenses to determine amount realized, and gain or loss is then determined using adjusted basis. It also provides the IRS worksheets for the exclusion and taxable-gain calculation.
The tool intentionally does not turn the remaining gain into a flat 15% tax estimate. Long-term capital-gain rates depend on taxable income, and a home sale can interact with other rules. The 3.8% Net Investment Income Tax can also apply in some higher-income situations, while gain properly excluded under Section 121 is not included in net investment income for that purpose.
What Counts Toward Your Adjusted Cost Basis?
Your adjusted basis is not simply “what I paid plus every home receipt I ever kept.” The IRS generally starts with your cost in acquiring the property, adds qualifying increases to basis, and subtracts required decreases.
Some purchase and settlement costs can increase basis
Certain fees connected with acquiring the property can be part of basis. Others are not. Loan-related costs, prepaid interest, homeowners insurance and property taxes should not simply be dumped into a single “closing costs” number and assumed to qualify. Publication 523 provides the categories to work through.
Capital improvements can increase basis
A qualifying improvement generally adds value, prolongs the home’s useful life or adapts it to a new use. IRS examples include additions and major work such as a new roof, HVAC, certain landscaping, paving, a deck or patio, a pool and substantial kitchen or flooring improvements. Ordinary repairs and maintenance generally do not increase basis by themselves.
The nuance matters: a repair completed as part of a larger qualifying remodeling or restoration project can be treated differently from the same repair done by itself. The useful rule is not “every receipt counts.” It is keep the record, then classify the cost correctly.
Basis reductions can increase the gain you eventually report
Adjusted basis can go down too. Depreciation allowed or allowable for rental or business use is one important example. Certain casualty adjustments, reimbursements, easements, energy-related adjustments and other items can also affect basis. Ignoring reductions can make the gain look artificially small.
Your Home Basis File
- Purchase closing or settlement statement.
- Invoices, contracts and proof of payment for major improvements.
- Permits or contractor records for large projects.
- Insurance, casualty or reimbursement records that affected basis.
- Depreciation records if the property ever had rental or business use.
- Sale closing statement showing selling expenses and payoffs.
What If You Do Not Have Every Home-Improvement Receipt?
This is one of the most practical gaps I found in real homeowner discussions. People remember building the addition, replacing the roof or renovating the kitchen, but years later the invoice folder is incomplete.
Do not jump straight from “I know I spent money” to an unsupported number in the calculator. Start reconstructing the record: bank and credit-card statements, canceled checks, contractor records, permits, emails, warranties and other contemporaneous evidence can help establish what was done and what you paid. For a material basis question with weak documentation, that is a good place for tax-professional help.
The upgraded calculator lets you flag incomplete or reconstructed records. It will still show the arithmetic, but the result reminds you that calculation confidence cannot be better than input confidence.
How the $250,000 / $500,000 Home-Sale Exclusion Fits In
The exclusion applies to qualifying gain – not the sale price, not your equity and not the check you receive at closing.
Under the general federal rule, a qualifying seller may be able to exclude up to $250,000 of gain. A qualifying married couple filing jointly may be able to exclude up to $500,000. IRS Topic No. 701 and Publication 523 explain the ownership, use and look-back rules. For the joint-return maximum, at least one spouse generally must meet the ownership test, both spouses must meet the use test, and neither spouse can have used the exclusion on another home during the relevant two-year period.
Example: A $700,000 sale does not automatically mean a taxable gain.
Suppose the amount realized is $660,000 after qualifying selling expenses and adjusted basis is $410,000. The gain is $250,000. If a single seller qualifies for the full $250,000 exclusion and no special issue applies, the screened gain remaining after that exclusion could be $0 – even though the home sold for $700,000.
If your main question is the legal eligibility rule rather than the calculator math, use my separate capital gains tax on a home sale guide. That page owns the deeper Section 121 exceptions and reporting rules. This page owns the calculator and the numbers feeding it.
When the Calculator Should Stop Instead of Guessing
A good financial tool should have an obvious boundary. The calculator still shows the basic cash and gain math, but it stops before estimating the Section 121 exclusion when you flag facts that can materially change the analysis:
- rental or business use and depreciation;
- possible nonqualified use after 2008;
- an inherited or gifted home;
- a divorce transfer or prior like-kind exchange;
- a co-owner buyout, bargain transfer or unusual title change;
- a possible reduced exclusion because the full ownership or use tests are not met; or
- a surviving-spouse, disability, military, Foreign Service or other special Section 121 rule.
That is not the calculator failing. That is the calculator refusing to convert an incomplete fact pattern into false precision. Publication 523 shows why this matters: rental use can create depreciation-related gain even where other gain remains eligible for exclusion, and some sellers who fail the full test may still qualify for a partial exclusion.
