It depends on how long you owned and lived in the home before the sale and how much profit you made. If you owned and lived in the place for two of the five years before the sale, then up to $250,000 of profit is tax-free. If you are married and file a joint return, the tax-free amount doubles to $500,000.