A mortgage calculator helps estimate monthly payments and determine affordable home prices. Key factors affecting mortgage rates are credit score, employment history, and down payment size. Higher credit scores and larger down payments usually result in better rates. Mortgage types include prime, subprime, and Alt-A, each with different risks and rates. To secure the best deal, improve your credit score, save for a down payment, and compare offers from various lenders.