House Sale Calculator
Working
The sale price of your house is not what you keep. Agent commission, closing costs, your mortgage payoff, and any repairs or concessions come off first — and the total is usually 6 to 10 percent of the price. This calculator shows the net proceeds: the money that actually lands in your account.
It also works out the capital gain and how much of it is taxable. Most homeowners who lived in the house for at least two of the last five years can exclude up to $250,000 of gain ($500,000 for married couples) under section 121 of the tax code — which means many home sales owe no capital gains tax at all.

What selling a house actually costs
The largest cost is the agent commission. Clever Real Estate's August 2026 survey of 434 agents put the average total commission at 5.46 percent of the sale price — 2.76 percent to the listing agent and 2.70 percent to the buyer's agent. Clever's own February 2026 survey of 533 agents put the total at 5.70 percent (2.88 percent listing, 2.82 percent buyer), and Bankrate's May 2026 data also put it at 5.7 percent. The two Clever surveys disagree by a quarter of a point six months apart, which is normal for surveys of this size; the honest range for a typical sale is roughly 5.5 to 5.7 percent.
Commission is fully negotiable, and it became more negotiable after the National Association of Realtors settlement took effect on August 17, 2024. Sellers are no longer required to offer compensation to the buyer's agent through the listing, and buyers now sign written agreements with their own agents. The practical effect is that the commission split is a term of the negotiation, not a fixed cost — and sellers who negotiate it save real money.
Beyond commission, seller closing costs — title insurance, escrow, transfer taxes, recording fees — typically add about 1.8 percent of the price. Add repairs and any credit you give the buyer, and total selling costs commonly run 6 to 10 percent of the sale price. On a $400,000 sale, that is $24,000 to $40,000 before the mortgage payoff.
How the capital gains exclusion works
The capital gain on a home sale is the sale price minus your cost basis — what you paid for the house plus the cost of capital improvements such as a new roof, an addition, or a kitchen remodel. Routine repairs and maintenance do not add to the basis.
Section 121 of the tax code lets most homeowners exclude the gain. If you owned the home and used it as your main home for at least 2 of the 5 years before the sale, you can exclude up to $250,000 of gain as a single filer, or $500,000 as a married couple filing jointly. You can use the exclusion once every two years. The two years of ownership and the two years of use do not have to be the same two years, and they do not have to be consecutive.
Only the gain above the exclusion is taxable. A single filer who bought for $250,000 and sells for $400,000 has a $150,000 gain — entirely covered by the $250,000 exclusion, so no capital gains tax. A married couple selling for $800,000 on a $300,000 basis has a $500,000 gain — exactly covered by the $500,000 exclusion. The same sale as a single filer leaves $250,000 taxable.
This calculator stops at the taxable gain: it does not compute the tax, because the rate depends on your income, your filing status, and whether the gain is long-term or short-term. If you lived in the home for less than two years, a partial exclusion may still be available for a work-related move, a health reason, or an unforeseeable event — IRS Publication 523 covers the details.
Worked examples
$400,000 sale, single filer. Mortgage payoff $200,000. Commission at 5.46 percent: $21,840. Other closing costs at 1.8 percent: $7,200. Net proceeds: $400,000 − $21,840 − $7,200 − $200,000 = $170,960. Capital gain on a $250,000 basis: $150,000. Exclusion: $250,000. Taxable gain: $0.
$800,000 sale, married couple. Mortgage payoff $300,000. Commission at 5.46 percent: $43,680. Other closing costs at 1.8 percent: $14,400. Net proceeds: $800,000 − $43,680 − $14,400 − $300,000 = $441,920. Capital gain on a $300,000 basis: $500,000. Exclusion: $500,000. Taxable gain: $0. As a single filer, the same sale would leave $250,000 of taxable gain.
Same $400,000 sale, without the exclusion. If the seller did not meet the 2-of-5-years test, the exclusion is $0 and the full $150,000 gain is taxable. The ownership and use test is worth more than any other single factor in the tax outcome — it is worth checking the dates before you list.
Common questions
How much commission do I pay when selling a house?
The 2026 average total commission is about 5.46% of the sale price — 2.76% to the listing agent and 2.70% to the buyer's agent, per Clever Real Estate's August 2026 survey. Rates are fully negotiable.
What are the closing costs when selling a house?
Beyond commission, seller closing costs — title, escrow, transfer taxes, recording — typically add about 1.8% of the price. Total selling costs commonly run 6 to 10% of the sale price.
Do I pay tax on the gain from selling my house?
Often not. If you owned and lived in the home for at least 2 of the last 5 years, you can exclude up to $250,000 of gain ($500,000 married) under section 121. Only the gain above the exclusion is taxable.
What counts toward my cost basis?
What you paid for the house, plus the cost of capital improvements — a new roof, an addition, a kitchen remodel. Routine repairs and maintenance do not add to the basis.
What if I lived in the house for less than 2 years?
You do not qualify for the full exclusion, but a partial exclusion may be available for a work-related move, a health reason, or an unforeseeable event. IRS Publication 523 has the rules and the worksheet.