Mortgage Calculator

This is a mortgage calculator for future homeowners that shows how much monthly, yearly and total repayments will be for a loan, given the interest rate and repayment period. (A pie chart and bar chart showing equity gained over time are displayed using the Google Chart API) [comments]

The formula is
where z = Z / 100

Monthly payment =
Yearly payment =
Total payment =