Here you can see how long it takes to repay a loan, as well as how much interest you pay in total. Fill in how big a loan you have, what interest rate you expect, and how big the monthly payments you intend to make, alternatively how long you want to pay off the loan.
Monthly payments include principal and interest. Interest deductions are not taken into account.