That means you need to pay 15 years. So you will pay more in the total during 15 years than the total that you stay in your old mortgage for just 10 years. You may need to use a spreadsheet to calculate the total costs for the old mortgage and the new refin + the past 5 years payments.