Loan Payment Calculator
loan_scheduleComputes fixed-rate monthly principal and interest payments, total interest, payoff month and a complete amortization table of at most 360 rows from entered amounts and a nominal annual rate. Optional down payment reduces principal; extra monthly principal payments shorten the modeled term. Uses exact rational arithmetic and nearest-cent half-up rounding. Taxes, insurance, PMI and fees are excluded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | Starting amount in USD before the optional down payment; at most two decimal places. | |
| termMonths | Yes | Original or remaining whole-month term. Every period is returned, at most 360 rows. | |
| downPayment | No | USD amount subtracted from principal; must be less than principal; at most two decimal places; defaults to zero. | |
| extraMonthly | No | Extra principal paid each month in USD; at most two decimal places; defaults to zero. | |
| annualRatePercent | Yes | Fixed nominal annual interest rate in percent, excluding fees; at most six decimal places. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||