Free calculator · 2027 tax year · home sellers

Home Sale Proceeds Calculator: What You Actually Keep

Net proceeds from the sale of your home, after commission, closing costs, the loan, capital gains tax, and what the gain does to your Social Security and Medicare.

The home sale proceeds calculator that keeps going after the closing statement. Put in the price, your loan and what you paid. You get the net sheet (cash at closing), the tax on the gain after the home sale exclusion, then the part nobody shows you: what a big gain does to your Social Security and your Medicare premiums. Then ways to keep more. Free, no sign-up to see the numbers.

The boxes hold an example: a Los Angeles home sold for $2,400,000 that was bought for $600,000 in 1998, a married couple aged 68 and 66 with $55,000 of Social Security. Change any box.

Mortgage and home equity lines.
Total paid by the seller. Commissions are negotiable.
Pick the closest match. California city transfer taxes
Repairs, HOA, prorations.
Unlocks the $250,000 / $500,000 home sale exclusion.
Purchase price, or the stepped-up value if inherited.
Additions and remodels, not repairs.
From your depreciation schedule (rental only).
Pension, interest, wages. Not Social Security.
Household total. 0 if none.
Ways to keep more: payout over time, 1031 into a Delaware statutory trust
Seller financing or a structured installment sale. Needs enough cash at closing for the loan and costs.
Rental or investment property only.
Want Hans to run your real number before you list?
15 minutes, no cost: your basis, your income, and whether taking part of the price over time makes sense for you.
Book 15 minutes with Hans  or call 213-414-2808

How to calculate the net proceeds from selling a home

  1. Start with the price. The contract price.
  2. Subtract selling costs. Commission, escrow and title, transfer tax, and credits to the buyer.
  3. Subtract the loan payoff. That is cash at closing: the number on a classic seller net sheet.
  4. Find the gain. Price minus selling costs minus basis (what you paid plus improvements). The payoff does not change the gain.
  5. Take the exclusion. A primary home you lived in 2 of the last 5 years excludes $250,000 of gain, or $500,000 for a married couple filing jointly (IRC 121).
  6. Tax what is left. Long-term capital gain at 0%, 15% or 20%, the 3.8% net investment income tax over the income line, and your state.
  7. Add the hidden costs. The sale-year income can make more Social Security taxable and raise your Medicare premiums two years later.

What the sale does to Social Security and Medicare: a worked example

A married couple in Los Angeles, ages 68 and 66, sells the home they have lived in for 28 years. Price $2,400,000, bought for $600,000 in 1998, no mortgage, 5% commission and 0.5% escrow and title, Los Angeles city and county transfer tax. They have $30,000 of other income and $55,000 of Social Security. Computed December 6, 2026 on the 2027 tax tables.

LineAmount
Cash at closing$2,254,560
Gain (price - selling costs - basis)$1,654,560
Home sale exclusion (married, IRC 121)-$500,000
Taxable gain$1,154,560
Federal tax on the gain$187,180
3.8% net investment income tax$36,177
California tax$109,802
Tax on the gain$333,159
Extra federal tax because more Social Security becomes taxable ($17,475 to $46,750 of $55,000)$14,136
Medicare Part B and D surcharge in 2029 (both spouses, tier 5)$14,371
What they keep$1,892,894

The two knock-on costs add up to about $28,507, and neither shows up on a normal net sheet or in a capital gains calculator. Taking half the price over 10 years in this example lowers the total cost of the sale by about $156,471. The trade-off: the couple is paid over time instead of at closing, and interest on the note is extra income that is not in these figures.

The same idea in Texas: a single 70-year-old sells a $900,000 home bought for $250,000, with $30,000 of Social Security and $20,000 of other income. No state tax, but the gain above the $250,000 exclusion still costs about $53,197 of tax, $6,083 of extra Social Security tax and $6,587 of Medicare surcharge, leaving about $784,633 after costs.

Tax and Medicare figures this calculator uses (2027)

ItemFigureSource
Long-term capital gains rate0% to $102,100 taxable income married filing jointly ($51,050 single); 20% above $633,600 ($563,200 single); 15% betweenIRS Rev. Proc. 2026-35 (November 5, 2026)
Home sale exclusion$250,000 single, $500,000 married filing jointlyIRC 121(b)
Net investment income tax3.8% above $250,000 MAGI married ($200,000 single), not indexedIRC 1411
Taxable Social SecurityUp to 50% above $32,000 provisional income married ($25,000 single), up to 85% above $44,000 ($34,000); not indexedIRC 86
Medicare IRMAAIncome tiers set by the return from two years earlier; 2027 first tier starts above $224,000 married ($112,000 single). Years after 2027 use the 2027 tiers held flat.CMS, 2027 Medicare Parts A and B Premiums and Deductibles
CaliforniaAll gain taxed as ordinary income, up to 13.3% with the 1% surcharge over $1 million; Social Security not taxedFTB 2026 tax rate schedules
Transfer taxesCounty $1.10 per $1,000; city taxes and Measure ULA in the transfer-tax listR&TC 11911; California city transfer taxes

Every figure is an estimate; your CPA confirms the real one. The engine carries all 50 states plus DC. For more on the two knock-on costs, see Social Security taxes after a property sale and IRMAA after a property sale.

Home sale proceeds questions

How do I calculate the net proceeds from selling my home?

Start with the sale price. Subtract the agent commission, escrow and title fees, transfer tax and any credits, then subtract your mortgage payoff. That is cash at closing. Then subtract the tax on your gain after the home sale exclusion ($250,000 single, $500,000 married filing jointly), and any extra Social Security tax and Medicare surcharge the gain triggers. This calculator does all of it.

Do I pay capital gains tax when I sell my house?

Only on gain above the exclusion. If you owned and lived in the home 2 of the last 5 years, the first $250,000 of gain ($500,000 married) is excluded under IRC 121. Gain above that is long-term capital gain: 0%, 15% or 20% federal, plus the 3.8% net investment income tax above $250,000 (married) or $200,000 (single) of income, plus your state.

Can selling my home raise my Medicare premiums?

Yes. Medicare Part B and Part D premiums are set by your income from two years earlier (IRMAA). A large taxable gain in the sale year can push you into a higher tier two years later. In the example on this page, one sale adds about $14,371 of Medicare surcharge for a couple.

Does selling a house make my Social Security taxable?

It can. Taxable Social Security depends on provisional income, which includes capital gains. A big gain can move you from about 50% taxable to 85% taxable for the year of the sale. In the example, that adds about $14,136 of federal tax. California does not tax Social Security.

Does paying off my mortgage change my taxes?

No. The payoff reduces your cash, not your gain. Gain is price minus selling costs minus your basis (what you paid plus improvements).

How can I keep more of the sale?

Take part of the price over time (seller carryback or a structured installment sale) so the gain lands in several years and stays under the income lines that trigger the 3.8% tax, the 20% bracket and Medicare tiers. If the property was a rental, a 1031 exchange into a Delaware statutory trust defers the gain. Both are priced above.

Is this calculator tax advice?

No. It is an educational estimate from the numbers you enter and the 2027 tax tables in our engine. Your CPA confirms the real figure.

Educational estimate only, not tax, legal or investment advice. It uses 2027 federal law (IRS Rev. Proc. 2026-35), the state you choose and the numbers you enter, with later years held flat. Interest on a seller-financed note is extra income and is not included. A 1031 exchange applies only to investment or business property and needs a qualified intermediary before closing. Your CPA should confirm any figure before you act. Hans Goldstein is a licensed insurance and annuity producer (CA Insurance License #4273294, NPN 20602398) and does not provide tax, legal or accounting advice.

Email it to me Book 15 min Call