Financial Calculators
This page demonstrates some of the practical uses of JavaScript, by implementing some financial calculation applications which run direct inside the user's browser.
Option Price Calculator
This script calculates the price of a European option (i.e. cannot be exercised early) with no dividends. Hit the Show Price button to calculate the price.
Loan Repayment Calculator
This script calculates the monthly repayment terms for a loan, given the principal amount, the APR, and the repayment period of the loan. Enter the three required details in the top part of the form, and then hit the Calculate Repayment Terms button to show the monthly and total amounts you would have to repay.