← All projects

Intermediate project · about 45 minutes

Loan and Mortgage Calculator 🏠

Compute monthly repayments with the annuity formula and print a full amortisation schedule and total interest.

Finance teams love this one. The formula: payment = P x r / (1 - (1 + r) ^ -n) where r is the monthly rate and n the number of months. Then loop month by month splitting each payment into interest and principal.

This is a Pro project. Six portfolio projects are free, so you can see how they work before deciding.

See the free projects