Then you can use a free online mortgage payment calculator or spreadsheet program to run the calculations – or crunch the numbers by hand. Here's how to do the math on a mortgage payment.