Tax help for military filers

I'm sure others will answer your questions, but I wanted to point out that, in calculating the gain for tax purposes, you do NOT consider the mortgage payoff.