Cash-Out Refinance Calculator Formula
Understand the math behind the cash-out refinance calculator. Each variable explained with a worked example.
Formulas Used
Net Cash Received
net_cash_received = cash_out_amountNew Monthly Payment
new_monthly_payment = new_paymentCurrent Monthly Payment
current_monthly_payment = current_paymentMonthly Payment Change
payment_change = new_payment - current_paymentNew Total Loan Amount
new_loan_total = new_loan_amountNew LTV Ratio
new_ltv_pct = new_ltvVariables
| Variable | Description | Default |
|---|---|---|
home_value | Current Home Value(USD) | 500000 |
current_balance | Current Mortgage Balance(USD) | 300000 |
current_rate | Current Mortgage Rate(%) | 6.5 |
current_remaining_years | Remaining Years on Current Loan(years) | 25 |
cash_out_amount | Cash-Out Amount(USD) | 50000 |
new_rate | New Loan Rate(%) | 7 |
new_term_years | New Loan Term(years) | 30 |
closing_costs | Refinance Closing Costs(USD) | 6000 |
new_loan_amount | Derived value= current_balance + cash_out_amount + closing_costs | calculated |
new_ltv | Derived value= new_loan_amount / home_value * 100 | calculated |
r_current | Derived value= current_rate / 100 / 12 | calculated |
n_current | Derived value= current_remaining_years * 12 | calculated |
current_payment | Derived value= r_current > 0 ? current_balance * r_current * pow(1 + r_current, n_current) / (pow(1 + r_current, n_current) - 1) : current_balance / n_current | calculated |
r_new | Derived value= new_rate / 100 / 12 | calculated |
n_new | Derived value= new_term_years * 12 | calculated |
new_payment | Derived value= r_new > 0 ? new_loan_amount * r_new * pow(1 + r_new, n_new) / (pow(1 + r_new, n_new) - 1) : new_loan_amount / n_new | calculated |
How It Works
Cash-Out Refinance Overview
A cash-out refinance replaces your existing mortgage with a new, larger loan. The difference between the new loan and your old balance is paid to you as cash.
How It Works
1. New Loan Amount = Current Balance + Cash-Out + Closing Costs 2. You receive the cash-out amount at closing 3. Your payment is recalculated on the new, larger balance
When It Makes Sense
Risks
Worked Example
A $500,000 home with $300,000 balance at 6.5% (25 years remaining). Cash out $50,000 with a new 30-year loan at 7% with $6,000 closing costs.
home_value = 500000current_balance = 300000current_rate = 6.5current_remaining_years = 25cash_out_amount = 50000new_rate = 7new_term_years = 30closing_costs = 6000
- 01New loan amount: $300,000 + $50,000 + $6,000 = $356,000
- 02New LTV: $356,000 / $500,000 = 71.2%
- 03Current payment: $300,000 over 25 years at 6.5% = $2,028.28/month
- 04New payment: $356,000 over 30 years at 7% = $2,368.44/month
- 05Payment increase: $2,368.44 - $2,028.28 = $340.16/month
- 06You receive $50,000 cash at closing
Ready to run the numbers?
Open Cash-Out Refinance Calculator