Home sale tax: lump sum vs. installment

Selling your main home? Most of the gain may be tax-free under the Section 121 exclusion. Enter your numbers to see your gain, how much the exclusion covers, and a rough federal tax estimate on the rest. Then compare paying it all in the year of sale with spreading it out through a seller-financed installment sale.

This is a rough estimate at a flat rate you choose. It isn’t a tax return. Talk to a CPA before you decide.

Educational information, not legal, tax or financial advice.

Your numbers

Your sale

Commission, title and other costs you pay to sell.

What you paid, plus certain purchase costs and improvements. Your records or a CPA can help.

The exclusion
Filing status
Your tax rate
Long-term capital gains rate

Your rate depends on your total taxable income for the year. Not sure? A CPA can tell you.

Compare with seller financing

A balloon makes the rest of the gain taxable in that year.

Smaller yearly gains might keep you in a lower bracket or under the NIIT threshold. Change these only if you know your rate would differ.

Your estimate

Results appear here once the calculator loads.

How this calculator works

  1. Your gain. Sale price minus selling costs, minus your cost basis. A loss on your main home isn’t deductible, so a loss shows as $0.
  2. The exclusion. If you meet the tests, up to $250,000 of gain ($500,000 married filing jointly) is excluded. These limits are set in the tax code (Section 121) and aren’t adjusted for inflation.
  3. Lump-sum estimate. The taxable gain times the rate you picked, plus 3.8% if you add the Net Investment Income Tax.
  4. Installment estimate. The gross profit ratio is your taxable gain divided by the sale price. Each year, that share of the principal you receive is taxable gain. Year 1 includes the down payment and the first 12 monthly payments. A balloon brings the rest into its year.

The math comes from the same engine Clavesta uses in its app. Yearly gains are rounded to the cent, and the last year absorbs any rounding so the years add up to your taxable gain exactly.

Important caveats

  • It uses one flat rate. Real tax brackets can split a gain across rates.
  • It doesn’t include state income tax, which many states charge on capital gains.
  • It doesn’t handle partial exclusions, time the home wasn’t your main home, or depreciation from renting the home or using it for business, which is taxed differently.
  • Real tax years follow the calendar and your closing date. Here, year 1 is simply the first 12 months.
  • A note rate below the IRS applicable federal rate can trigger imputed interest. Selling or pledging the note can make the remaining gain taxable right away.
  • A large gain in one year can raise income-based costs, such as Medicare premium surcharges two years later.

Frequently asked questions

How much of my home sale gain is tax-free?

If you owned and lived in the home as your main home for at least 2 of the 5 years before the sale, and haven’t used the exclusion on another home in the past 2 years, you can generally exclude up to $250,000 of gain, or up to $500,000 if you’re married filing jointly and both spouses meet the use test. Only gain above that is taxable.

How is an installment sale taxed?

When the buyer pays you over time, each principal payment is part return of your basis and part gain. The gain part is set by the gross profit ratio: your taxable gain divided by the contract price. You report that share of the principal you receive each year, usually on IRS Form 6252. Interest on the note is taxed separately as ordinary income.

Does seller financing lower my capital gains tax?

Sometimes. If your whole gain is excluded, there’s no capital gains tax to spread, so seller financing has no tax benefit, and no penalty either. If part of your gain is taxable, spreading it over several years can keep more of it in a lower bracket or below the Net Investment Income Tax threshold. If your rate would be the same every year, the total tax is about the same. You just pay it as you’re paid.

What is the Net Investment Income Tax?

It’s an extra 3.8% federal tax on investment income, including taxable gain on a home sale, for people whose modified adjusted gross income is above a threshold: $200,000 for single filers and $250,000 for married filing jointly. Those thresholds aren’t adjusted for inflation. Gain you exclude under Section 121 isn’t subject to it.

What counts in my cost basis?

Generally, what you paid for the home, plus certain purchase closing costs, plus the cost of improvements that add value or extend the home’s life, such as a new roof or an addition. Routine repairs don’t count. Some things reduce basis, such as depreciation you claimed for a home office or rental use. Keep your records, and ask a CPA if you’re unsure.

What if I don’t meet the 2-out-of-5-year rule?

You may still qualify for a partial exclusion if you sold because of a job change, health reasons or certain unforeseen circumstances. Special rules also apply to surviving spouses, divorce and military service. This calculator doesn’t compute partial exclusions, so talk with a CPA about your situation.

For sellers

Sell directly and keep the commission

Create a free account to see buyer interest near your home and which ways to sell fit your mortgage: cash or bank loan, a buyer taking over your loan, or seller financing.

  • Free, no obligation
  • Your address stays private
  • Verified buyers only