mortgage_calculator
Estimate monthly mortgage payments and total interest for any loan amount, rate, and term. Optionally include monthly income to calculate your debt-to-income ratio.
Instructions
Estimate a monthly mortgage payment and total interest. Currency-agnostic. Optionally pass monthly_income for a debt-to-income ratio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | Loan amount | |
| term_years | Yes | Loan term in years (1–50) | |
| annual_rate | Yes | Annual interest rate, as a decimal (0.065) or percent (6.5) | |
| monthly_income | No | Optional — enables a debt-to-income ratio |