If you sell before or after you marry and the sales take place in the year of your wedding, on a joint return you can each use the $250,000 home exclusion. However, if either excludes less than $250,000, the unused exclusion amount cannot be used by the other spouse.
Generally, the amount paid for property. You need to know your basis to figure gain or loss on a sale.