The first thing you do is calculate the total number of payments you will make throughout your mortgage term. To do that, multiply the number of years by 12. This gives you the total payments you have to make. Divide your total mortgage by how much you have to pay each month.