AMP Calculator

Loan Amortization Payment (AMP) Calculator

Review your calculated loan metrics and the detailed amortization schedule below. Use the button to export the full schedule as a PDF report.

Loan Summary

Monthly Payment: $0.00
Total Principal Paid: $0.00
Total Interest Paid: $0.00
Total Cost of Loan: $0.00

Full Amortization Schedule

Please enter the loan details in the 'Loan Configuration & Input' tab and click 'Calculate' to generate the schedule.

Calculation Error: Could not generate a schedule.

'; return; } let tableHtml = ` `; // Add each row from the schedule schedule.forEach(row => { tableHtml += ` `; }); // Add the summary/total row tableHtml += ` `; tableHtml += `
Month Payment Principal Interest Remaining Balance
${row.month} ${formatCurrency(row.payment)} ${formatCurrency(row.principal)} ${formatCurrency(row.interest)} ${formatCurrency(row.balance)}
TOTAL INTEREST PAID: ${formatCurrency(finalTotalInterest)} ${formatCurrency(0)}
`; container.innerHTML = tableHtml; } /** * Downloads the Amortization Dashboard content as a PDF. (spec II.C) */ function downloadAmortizationPdf() { // 1. Ensure Dashboard is active for print formatting const dashboardButton = document.querySelector('.tab-button[onclick*="dashboard-tab"]'); if (dashboardButton) { showTab('dashboard-tab', dashboardButton); } // 2. Set temporary title for PDF file name/header const originalTitle = document.title; const loanTerm = document.getElementById('years') ? document.getElementById('years').value : 'Unknown'; document.title = `Loan Amortization Schedule (${loanTerm} Yrs) - ${new Date().toLocaleDateString('en-US')}`; // 3. Trigger the browser's print/PDF dialog window.print(); // 4. Restore the original title after printing setTimeout(() => { document.title = originalTitle; }, 10); // Small delay to allow print dialog to initialize }
Scroll to Top