Everything you need to know about mortgage calculations — formulas, payment breakdowns, and a free calculator.