Skip to main content

Learning as a guest. Your progress lasts until you close this tab. Save it free

Selling and Moving: Costs, Taxes and Timing

  1. Warm-up
  2. Story
  3. Learn
  4. Play
  5. Quiz
  6. Remember
  7. Try it
  8. Finish

About this lesson

About 15 minutes · 5 quiz questions

The big idea: Selling a home costs more than people expect, so subtract the costs and the loan from the price. A tax break may cover your gain if you meet the rules.

Lesson outline

The whole lesson as text: the story, the ideas, key words and more

The big idea: Selling a home costs more than people expect, so subtract the costs and the loan from the price. A tax break may cover your gain if you meet the rules.

The story: What Hal really keeps

Hal sells a home for $400,000, subtracts selling costs and the loan to find the cash kept, then finds that a $150,000 gain is covered by the tax break.

  1. Narrator: Hal owns a home and sells it. A buyer pays $400,000. That is the sale price, but it is not what Hal keeps.
  2. Narrator: Selling costs are the fees paid to sell a home. Hal’s agent, who helps sell it, is paid 5% of the price. 5% of $400,000 is $20,000.
  3. Narrator: Other selling fees, like ads and the paperwork at the end, are $10,000. $20,000 plus $10,000 is $30,000 of selling costs.
  4. Narrator: $400,000 minus $30,000 is $370,000. Hal still owes $250,000 on the mortgage, and the sale must pay that off.
  5. Narrator: $370,000 minus $250,000 leaves $120,000. Moving costs another $2,000, so Hal really keeps $118,000.
  6. Hal: Is any of that taxed? Tax is money paid to the government.
  7. Narrator: Tax is figured on the gain, what the home sold for after selling costs, minus what you put in. Hal paid $200,000 and later added a $20,000 roof.
  8. Narrator: What you put in is called the cost basis. $200,000 plus $20,000 is $220,000. $370,000 minus $220,000 is a gain of $150,000.
  9. Narrator: The exclusion is the part of the gain you do not pay tax on: up to $250,000 for one owner who owned and lived in the home 2 of the last 5 years.
  10. Hal: I lived there 10 years, so the whole $150,000 is left out. I kept the roof receipt, so I can show the $20,000.

What you’ll learn

  1. What selling really costs

    Selling costs are the fees paid to sell a home, like the pay for the agent who helps sell it, ads and the paperwork fees at the end. Many agents are paid a percent of the price, so ask about it before you sign. Repairs before the sale and moving cost money too. The loan you still owe is paid off from the sale.

    Jan sells for $300,000. The agent gets 5%, which is $15,000. Other fees are $5,000, so costs are $20,000. Jan owes $200,000. $300,000 minus $20,000 minus $200,000 is $80,000.

  2. Buying before you sell

    Some people buy the next home before the old one sells. The risk is paying for two homes at once if the old home takes time to sell. You may have two mortgages, a home loan on each, and the old home’s costs, like taxes and insurance, keep coming.

    Pat’s old mortgage payment is $1,500 and the new one is $2,000. $1,500 plus $2,000 is $3,500 a month while both are owned.

  3. The gain and the exclusion

    Your gain is what the home sold for after selling costs, minus your cost basis. The IRS, the federal tax office, lets you leave out up to $250,000 of gain, or $500,000 on a joint return, if you owned and lived in the home 2 of the last 5 years. Gain above that can be taxed.

    Kim and Sam, married and filing a joint return, have a gain of $350,000. That is under $500,000, so none of it is taxed.

  4. Basis and receipts

    Your cost basis starts with what you paid for the home. Improvements, like a new roof or an addition, add to it, and a higher basis means a smaller gain. Routine repairs, like painting, generally do not. Keep receipts until 3 years after the due date of the tax return for the year you sell.

    Lou paid $120,000 and added a $30,000 kitchen, so basis is $150,000. The sale after costs is $310,000. $310,000 minus $150,000 is a gain of $160,000.

Key words

selling costs
the fees paid to sell a home, like the agent’s pay and paperwork fees
gain
what a home sold for after selling costs, minus what you put into it
exclusion
the part of the gain you do not pay tax on
cost basis
what you paid for the home, plus improvements

Common questions

What if I sell for less than I paid?
The IRS says you cannot deduct a loss on your main home, but you do not need to pay any tax on the money you received from selling it.
Do I report the sale if all the gain is left out?
If you get a tax form about the sale, you must report the sale even when all of the gain can be left out.
Can I use the exclusion twice in a row?
Not within 2 years. You cannot use it if you left out gain from selling another home in the 2 years before this sale.

Remember this

Sale price minus the costs and the loan is what you really keep.

Try it: Update your home numbers

  1. Look up what homes like yours near you have sold for, and pick a value.
  2. Update your home’s value in Assets.
  3. Update what you still owe on the mortgage in Debts.

No account needed: write the home value and the loan balance on paper, or try the sample household in the demo.

Live facts

Numbers that change over time, with when they were last checked and where they come from.

Practice with real numbers:Add your home value and loan in the net worth calculator

Lessons teach how money works. They are not financial advice.