Capital gains is the difference between what you bought it for (basis) and what you sold it for...That's the gain...On homes there is a one time exclusion, can't remember how much, but i'd think that most folks want to save that till later in life...