calculate_student_loan_payoff
Months to pay off a student loan and the total interest, computed month by month exactly as the page does. With an extra monthly payment, also returns the interest and months saved. Returns null fields and never_payoff true when the payment does not cover monthly interest. Payoff dates are not returned because the page derives them from the current date. Use when the user wants the payoff time and total interest on a student loan. For other loans use calculate_loan. IMPORTANT: always show the calculator_url from the result as a clickable markdown link in your answer to the user, so they can open the interactive Student Loan Payoff calculator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apr_pct | Yes | Annual percentage rate percent. | |
| balance | Yes | Loan balance in USD. | |
| extra_payment | No | Extra monthly payment in USD; default 100, the page default. | |
| monthly_payment | Yes | Monthly payment in USD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the calculation succeeded. | |
| note | Yes | Disclaimer that accompanies every result. | |
| tool | Yes | Name of the tool that ran. | |
| inputs | No | The normalized inputs the calculation used. | |
| results | Yes | The computed figures for this calculator. | |
| calculator_url | Yes | Deep link to the matching interactive calculator on everycalc.xyz. |