Loan Payment Calculator

Enter Loan Information:
1) Amount of the loan (any currency):
2) Annual percentage rate of interest:
3) Repayment period in years:
Payment Information:
4) Your monthly payment will be:
5) Your total payment will be:
6) Your total interest payments will be:
Enter Additional Loan Information:
6) Year of First Payment:
7) Month of First Payment (a number from 1 to 12):
Annual Interest Subtotals (for the IRS):
") if ( firstMo > 1 ) var lastYr = firstYr + nYears ; else var lastYr = firstYr + nYears + 1 ; newWindow.document.write("") ; newWindow.document.write( "" ) ; newWindow.document.write( "" ) ; newWindow.document.write( "" ) ; newWindow.document.write( "
Year<\/strong><\/td>" ) ; newWindow.document.write( "Interest<\/strong><\/td>" ) ; newWindow.document.write( "Principal<\/strong><\/td>" ) ; newWindow.document.write( "<\/tr>" ) ; SumI = 0.0 ; SumP = 0.0 ; for ( i=firstYr ; i<=lastYr ; i++ ) { if ( i==firstYr ) m = 0 ; else m = m + n ; if ( i==firstYr ) n = 13 - firstMo ; else if ( i==lastYr ) n = firstMo - 1 ; else n = 12 ; xm = Math.pow(1 + interest,m) ; xn = Math.pow(1 + interest,n) ; deltaPrin = round(xm * (xn - 1) * pOvriMinusP) ; SumP = SumP + deltaPrin ; thisYrInt = round(n*monthly - deltaPrin) ; SumI = SumI + thisYrInt ; newWindow.document.write( "
" + i + "<\/td>" ) ; newWindow.document.write( "" + thisYrInt + "<\/td>" ) ; newWindow.document.write( "" + deltaPrin + "<\/td>" ) ; newWindow.document.write( "<\/tr>" ) ; } newWindow.document.write( "
" + " " + "<\/td>" ) ; newWindow.document.write( "" + round(SumI) + "<\/td>" ) ; newWindow.document.write( "" + round(SumP) + "<\/td>" ) ; newWindow.document.write( "= totals paid<\/strong><\/td>" ) ; newWindow.document.write( "<\/tr>" ) ; newWindow.document.write("<\/table>") ; newWindow.document.write("These results assume that the first payment was made in ") newWindow.document.write(document.loandata.FrstPayMo.value + "\/") newWindow.document.write(document.loandata.FrstPayYr.value + ". ") newWindow.document.write("This table is designed to double check the values provided by your loan company each year. ") newWindow.document.write("Because of round off procedures, errors in the 'total principal paid' on the order of 0.50 (0.0003%) have been seen. ") newWindow.document.write("Where discrepancies of this size occur, the loan company's version should be favored.") newWindow.document.write("<\/BODY><\/HTML>") newWindow.document.close() // End hiding script from old browsers --> } function round(x) { return Math.round(x * 100) / 100; }
Site maintained by Charles Snygg ( [email protected])
Hosted by www.Geocities.ws

1