If you do hold on to the property and make the payments for 30 years, how much total will you have paid the bank during that time?

depends on the interest rate

Assuming good credit, your monthly payment for a $400,000 30-year mortgage loan is $2,450 per month. The monthly payment is required for 30 years, or until you sell your home to pay off the mortgage loan.