Months to pay off a balance at a fixed payment
payoff_timeHow long a balance (credit card or loan) takes to pay off at a fixed monthly payment, and the interest paid. Use for "how long to pay off my card at $X a month" and for comparing a bigger payment by calling it twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | Balance owed today, in dollars | |
| annual_rate_pct | Yes | Annual interest rate in percent | |
| monthly_payment | Yes | Fixed amount paid each month, in dollars |