Profit and cash are two different numbers, and mixing them up is the most common planning error I saw sellers make. I spent 18 years as a credit union loan officer, and the question was always “what will I walk away with?” The tool answers that and the tax question together. It is an estimate for planning, not tax advice.
How do I use the home sale profit calculator?
Start with rough numbers, then replace them with real ones as you get your closing statements. Each box does one job:
- Expected sale price: the contract price you expect, not the list price.
- Purchase price plus buying costs: what you paid, plus settlement costs from your original closing such as title and recording fees.
- Capital improvements: work that added value or extended the home’s life, like a new roof, an addition or a kitchen remodel. Paint and routine repairs do not count.
- Selling costs (% of price): commissions, title, transfer taxes and concessions combined. The default is 7%.
- Mortgage payoff: the figure on a lender payoff letter, which is usually a little higher than your statement balance.
- Filing status, main home and other taxable income: these set your exclusion, your capital gains rate and whether the 3.8% surtax applies.
If you want a firmer selling cost figure, the seller closing cost calculator and the realtor commission calculator break that percentage into pieces. State income tax and any city transfer tax are not modeled separately, so fold transfer taxes into the selling cost box and check your state revenue department for the rest.
How is home sale profit calculated?
The math runs in three steps. First, your amount realized is the sale price minus selling costs. Second, your adjusted basis is your purchase price, plus buying costs, plus capital improvements. Third, your gain is the amount realized minus the adjusted basis.
After that, the tool subtracts the home sale exclusion if the house was your main home, and the leftover is your taxable gain. Federal tax is that taxable gain taxed at 0%, 15% or 20%, depending on where it lands on top of your other income, plus 3.8% on the part that pushes your income over the surtax threshold. Cash in hand is the amount realized, minus your mortgage payoff, minus that tax.
What belongs in basis trips up a lot of people:
- Counts: purchase price, settlement costs paid when you bought, additions, new systems, a remodel, a new deck or fence, and assessments for things like sewers or sidewalks.
- Does not count: routine repairs, mortgage interest, property taxes and furnishings you take with you.
- Reduces basis: depreciation you claimed (for a home office or rental use) and casualty losses you deducted.
If your gain comes out negative, you have a loss. A loss on a home you lived in is not deductible, so the calculator shows zero tax and your cash is simply what is left after costs and payoff.
Worked example: $650,000 sale, $485,274 in hand
These are the default numbers in the calculator. The house sells for $650,000 and selling costs are 7%, or $45,500, so the amount realized is $604,500. The owner paid $200,000 and put in $30,000 of improvements, so basis is $230,000. Gain is $604,500 minus $230,000, which is $374,500.

The owner is single and this was the main home, so $250,000 is excluded and $124,500 is taxable. With $90,000 of other taxable income there is no 0% room left, so the gain is taxed at 15%, which is $18,675. Income for the surtax is about $214,500, which is $14,500 over $200,000, and 3.8% of that is $551. Total federal tax is $19,226, and cash in hand is $604,500 minus the $100,000 payoff minus $19,226, or $485,274.
What changes your home sale profit the most?
Three things move the result more than anything else: whether the exclusion applies, the filing status that sets its size, and the selling price. Selling costs and documented improvements come next. Here is how each one shifts the default example:
| Scenario | Federal tax | Cash in hand |
|---|---|---|
| Default (single, main home) | $19,226 | $485,274 |
| Sold for $675,000 | $23,597 | $504,153 |
| Selling costs 6% instead of 7% | $20,448 | $490,552 |
| $20,000 more documented improvements | $15,675 | $488,825 |
| Married filing jointly | $0 | $504,500 |
| Not your main home (no exclusion) | $66,226 | $438,274 |
Notice that the extra $20,000 of improvements saves about $3,550 in tax without changing the sale price at all. In this example each extra dollar of taxable gain costs about 18.8 cents, because both the 15% rate and the 3.8% surtax apply. Records you already own are worth more than a better negotiating position.
Try this: Open your bank statements and contractor invoices for the years you owned the home. Add every improvement over $500 into the capital improvements box and watch the tax line drop.
Which 2026 tax rules apply to your home sale?
The big one is the Section 121 exclusion. Under IRS rules, you can exclude up to $250,000 of gain, or $500,000 on a joint return, if you owned and used the home as your main home for at least 24 months of the five years before the sale. The months do not need to be consecutive. For the $500,000 limit, either spouse can meet the ownership test but both must meet the use test, and you generally can use the exclusion only once every two years.

If you sell sooner because of a job change, health reasons or another unforeseen event, you may get a partial exclusion. Take the shorter of your ownership or use time in months, divide by 24, and multiply by the limit. A single filer who lived there 12 months could exclude up to $125,000.
If you claimed depreciation on a home office or rental use after May 6, 1997, that part of the gain is taxed even when the rest is excluded. This calculator does not model it, so ask a tax preparer if it applies.
For gains above the exclusion, 2026 long-term rates apply to homes owned more than a year. The rate is 0% up to $49,450 of taxable income for single filers ($98,900 joint), 15% up to $545,500 ($613,700 joint), and 20% above that. Homes held a year or less are taxed at ordinary rates, which reach 37%. The 3.8% Net Investment Income Tax applies when your income is over $200,000 single or $250,000 joint. For a broader look at gains, try the capital gains tax calculator on sale of property.
You will usually get Form 1099-S from the closing agent. If you have a taxable gain, or you received that form, the sale is reported on Form 8949 and Schedule D. Confirm every figure against the IRS pages (Topic 701 and Publication 523), because thresholds are adjusted each year.
How does this compare with other home sale calculators?
Most agent and lender calculators are net proceeds tools. They subtract commission and payoff from the price and stop, so they never ask what you paid or what tax you owe. Pure capital gains calculators do the opposite: they find the gain but ignore your payoff and the actual cash. This one runs both in a single pass, so profit, tax and cash sit side by side.
If you are unsure whether to sell at all, the rent vs sell calculator compares the two paths. Once you know your cash in hand, treat it as a down payment and test the next purchase in a mortgage calculator for your destination, such as the Texas mortgage calculator, the mortgage calculator for California or the Colorado mortgage calculator. If you have to buy before you sell, a bridge loan calculator shows what that overlap could cost.
What do most sellers miss before they list?
These are the moves I would make before putting a sign in the yard:
- Ask your lender for a payoff letter. It includes daily interest and any fees, and it is the number that actually comes out of your proceeds.
- Rebuild your improvement records now, from permits, invoices and bank statements, while contractors still remember the job.
- Check your two-of-five-year clock before you sign. Moving the closing date back a few weeks can turn a partial exclusion into a full one.
- If you inherited the home, your basis is generally its value on the date of death, not what the owner paid. A date-of-death appraisal can erase most of the gain.
- If your spouse has died, a sale within two years of the death can still qualify for the $500,000 limit, provided you have not remarried and the usual tests were met.
None of this replaces a tax preparer, and I am not one. Use the calculator to see roughly where you stand, then bring your basis records and closing statement to a CPA before you file.
Home Sale Profit Calculator: common questions
How do you calculate profit on a home sale?
Subtract your selling costs from the sale price, then subtract your adjusted basis (purchase price, buying costs and capital improvements). The result is your gain. Your mortgage balance is not part of this math, because paying down a loan is not profit.
How much of my home sale profit is tax free?
If you owned and lived in the home as your main home for at least two of the last five years, you can generally exclude up to $250,000 of gain, or $500,000 on a joint return. Gain above that is taxed as a capital gain. IRS Topic 701 and Publication 523 explain the tests.
Do I owe tax if I sell my house for a loss?
No tax is due on a loss, but a loss on a home you lived in is not deductible either. The calculator shows a negative profit and zero tax in that case.
What selling costs can I subtract from my profit?
Agent commissions, title and escrow fees, transfer taxes, attorney fees and seller concessions generally reduce your amount realized. Fix-up costs done to help the sale can count in some cases, so check IRS Publication 523 or ask a tax preparer.
Do I have to report a home sale to the IRS?
You must report it if you have a taxable gain or if you receive Form 1099-S from the closing agent. The sale goes on Form 8949 and Schedule D. If your gain is fully excluded and you get no 1099-S, reporting is generally not required.