calculate_refinance_break_even
Determine if refinancing your mortgage is worthwhile by calculating monthly savings, break-even point, and net interest impact over the loan's life.
Instructions
Analyse whether refinancing a mortgage makes financial sense.
Computes the monthly savings from switching to the new rate, the break-even month at which those savings recover the closing costs, and the net interest impact over the remaining loan life.
Args: current_balance: Remaining principal on the existing loan in dollars. current_annual_rate: Current loan's annual rate as a percentage. remaining_months: Number of payments remaining on the current loan. new_annual_rate: Proposed new loan's annual rate as a percentage. closing_costs: Total closing costs for the refinance in dollars. new_term_years: Term for the new loan in years.
Returns: JSON object with break-even timeline, interest savings, and a recommendation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closing_costs | Yes | ||
| new_term_years | Yes | ||
| current_balance | Yes | ||
| new_annual_rate | Yes | ||
| remaining_months | Yes | ||
| current_annual_rate | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |