A capital gain is the difference between what you sell your house for and the actual cost basis. This is the amount originally paid for the home and the cost of any improvements you made to it.
For example: You bought your home for $200,000 and put $30,000 into it in upgrades. Then you sold it for $300,000. The capital gain is $300,000 minus $230,000, or $70,000. That is the amount upon which you are taxed.
When you sell your home, you can exclude from your taxes up to $250,000 for individuals, or $500,000 for joint filers. If your home has significantly appreciated, you may owe capital gains tax. Also, you must be aware of some requirements: you must have owned and occupied your home as your primary residence for at least 2 of the last 5 years, and you can’t use this exclusion more than once every two years. There are also some additional exclusions for specific circumstances. Be sure to check with your estate-planning attorney to fully utilize your capital gains exclusion.