Rental Sale

I sold a rental property that had a remaining mortgage that was paid off using the sale proceeds. Is the mortgage balance considered an expense. If the sale was 425000 and mortgage was 125000 is the true sale 300000?