Mortgage Prepayment Calculator
See how making extra payments can shorten your loan term and save you thousands in interest.
Loan Details
$
%
Extra Payments
$
$
$
Prepayment Summary
$0
Total Interest Saved
0 yrs 0 mos
Loan Term Shortened By
--
New Payoff Date
Loan Balance Over Time
Mortgage Prepayment Report
Loan Inputs
Prepayment Inputs
Loan Balance Comparison
Loan Term: ${calculationCache.loanTerm} Years
Monthly P&I: ${formatCurrency(calculationCache.original.monthlyPayment)}
`; getEl('pdf-prepayments').innerHTML = `Extra Monthly: ${formatCurrency(calculationCache.extraMonthly)}
Extra Yearly: ${formatCurrency(calculationCache.extraYearly)}
One-Time: ${formatCurrency(calculationCache.oneTimePayment)}
`; const chartImg = balanceChart.toBase64Image(); getEl('pdf-chart').src = chartImg; const pdfContentEl = getEl('pdf-content'); pdfContentEl.style.display = 'block'; html2canvas(pdfContentEl, { scale: 2 }).then(canvas => { const imgData = canvas.toDataURL('image/png'); const pdfWidth = pdf.internal.pageSize.getWidth(); const pdfHeight = pdf.internal.pageSize.getHeight(); const canvasWidth = canvas.width; const canvasHeight = canvas.height; const ratio = canvasWidth / canvasHeight; let imgWidth = pdfWidth - 20; let imgHeight = imgWidth / ratio; if (imgHeight > pdfHeight - 20) { imgHeight = pdfHeight - 20; imgWidth = imgHeight * ratio; } pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight); pdf.save('Mortgage-Prepayment-Report.pdf'); pdfContentEl.style.display = 'none'; }); }); });