M-MTax
Level 12

Deductions & credits

In order to calculate your gain you need to subtract your adjusted basis from your sales price. The loan amount has nothing to do with that calculation.