Loan Calculator

I accept NO responsibility for anyone's use of this loan calculator. It's here purely for my unlimited enjoyment. Anyone choosing to use it accepts ALL responsibility for it's use. In other words, if you win the lottery and base your investment decisions on this calculator I can't be held liable if the calculations are completely wrong. If you give me $1 mil or so of your winnings, I may reconsider. :-)

Amount Financed(25000.00 NOT $25,000.00)
APR(6.54 NOT 6.54% or 0.654)
Length of loan(integer value of months)
Extra monthly payment(35.00 NOT $35.00)

Monthly Payment: $
With extra: $

Amortization Table

0) { echo "\t\n"; echo "\t\t\n"; $pmt_num++; echo "\t\t\n"; $interest = round($balance * $R, 2); if($balance < $payment + $X) $payment = $balance + $interest - $X; echo "\t\t\n"; echo "\t\t\n"; $total_payments = $total_payments + $payment + $X; $principal = round($payment - $interest, 2); $balance = round($balance - $principal - $X, 2); echo "\t\t\n"; echo "\t\t\n"; $total_interest = $total_interest + $interest; echo "\t\t\n"; echo "\t\n"; if($payment != $original_payment) break; } ?>
Payment
Number
Beginning
Balance
Payment Extra
Amount
Principal Interest Ending
Balance
$pmt_num$".number_format($balance, 2, '.', ',')."$".number_format($payment, 2, '.', ',')."$".number_format($X, 2, '.', ',')."$".number_format($principal, 2, '.', ',')."$".number_format($interest, 2, '.', ',')."$".number_format($balance, 2, '.', ',')."

Total of payments: $

Total interest: $