A cash-out refinance can pay off a second lien, such as a home equity loan or HELOC, if the new first mortgage is large enough and the lender permits the transaction. This calculator estimates the monthly principal-and-interest payment on a hypothetical replacement loan from its amount, APR, and term; it does not determine how much cash you can take out or whether a lender will approve the loan.
Formula
The calculator uses the fixed-rate, level-payment loan formula. It first finds the monthly payment, then multiplies that rounded payment by the number of monthly payments and subtracts the original principal to estimate total interest.
- p = amount borrowed in the replacement first mortgage, in dollars.
- apr = annual percentage rate entered as a percentage, such as 8 for 8% per year.
- r = monthly rate, calculated as apr / 1200.
- n = number of monthly payments, calculated as years × 12.
- pmt = monthly principal-and-interest payment, rounded to cents: p × r / [1 − (1 + r)−n].
- int = estimated total interest over the full term: pmt × n − p.
The payment formula assumes the same rate and payment amount throughout the term. It calculates loan arithmetic only. It does not work out a property’s available equity, closing costs, payoff statements, or the amount of cash remaining after liens and costs are paid.
Worked Example
Using the calculator’s default inputs—$20,000 principal, 8% APR, and a 5-year term:
- Convert the APR to a monthly rate: 8 / 1200 = 0.0066667, or about 0.66667% per month.
- Convert the term to payments: 5 × 12 = 60 monthly payments.
- Apply the payment formula: $20,000 × 0.0066667 / [1 − (1 + 0.0066667)−60] = about $405.53 per month after rounding.
- Calculate total interest using the rounded payment: $405.53 × 60 − $20,000 = $4,331.80.
These are estimates for the sample loan inputs, not a quote for a refinance. The example’s loan amount is not a statement about available equity or a recommended borrowing amount.
Assumptions
- The interest rate is fixed for the entire term.
- Payments are made monthly, with the first regular payment one month after the loan begins.
- Interest is compounded monthly using APR / 12.
- The calculation excludes lender fees, taxes, insurance, mortgage insurance, escrow, and any costs added to the loan.
How a Cash-Out Refinance Can Handle a Second Lien
A second lien is a loan secured by the property in addition to the first mortgage. Common examples include a home equity loan and a home equity line of credit. “Second” describes its lien position, not necessarily when it was taken out. If the home is sold or the property is used to repay debts, lien priority can affect the order in which claims are handled; the details depend on the transaction and applicable rules.
In a cash-out refinance, a borrower replaces the existing first mortgage with a new mortgage. The closing process may use some of the new loan proceeds to pay off the old first mortgage and a second lien. Any remaining proceeds, after applicable costs and required payoffs, may be paid to the borrower. The new mortgage is generally secured by the home, so replacing unsecured or differently structured debt with mortgage debt changes the collateral at risk.
Whether a second lien is paid off or remains in place is a transaction-specific question. A lender may require a lien to be paid, or may require arrangements concerning its position if it will remain. The lienholder, new lender, title or closing parties, and the loan documents may all be relevant. Do not assume the second lien automatically disappears merely because a refinance closes.
Estimate the Payoff and Cash Separately
The calculator estimates payments for the new loan amount you enter. To assess the possible cash remaining, a separate transaction estimate is needed. A simplified calculation is:
Potential cash before other adjustments = new loan proceeds − first-mortgage payoff − second-lien payoff − transaction costs.
For example, suppose a hypothetical refinance provides $300,000 in proceeds, while the first-mortgage payoff is $230,000, the second-lien payoff is $25,000, and estimated transaction costs are $7,000. The simplified remainder is $38,000. This arithmetic does not establish that the loan amount is available or that the transaction can be completed. Actual payoff figures can differ from account balances because of accrued interest, fees, timing, or other items in the payoff statement.
For an estimate, gather current payoff statements for both liens, including the date through which each figure is valid. Also identify whether a credit line has an outstanding balance or other requirements before payoff, and ask the lender or closing contact how the second lien will be treated. The calculator does not include these figures because they vary by account and transaction.
How to Compare the New Loan Carefully
Compare the full proposed transaction, not only the monthly payment. A longer term can lower a scheduled payment while increasing the number of payments; a larger loan can also raise total interest. If the new loan pays off a second lien, its balance may become part of a mortgage secured by the home. Review the loan amount, APR, term, payment schedule, cash proceeds, payoff amounts, and itemized costs together.
- Check whether the quoted loan amount includes any costs being financed.
- Confirm the second lien’s exact payoff amount and whether it will be paid in full.
- Ask what happens to any unused credit line and whether it must be closed or otherwise addressed; requirements vary.
- Compare total projected payments over the relevant period, not just the first monthly payment.
- Use the lender’s written disclosures for transaction-specific terms and figures.
A lower payment by itself does not establish that a refinance reduces overall borrowing costs. The payment may change because of the term, amount, rate, or costs. This calculator holds the entered inputs constant and does not compare the old loans with the proposed loan.
Common Limits and Misconceptions
A common misconception is that a cash-out refinance is simply a way to withdraw the home’s equity without changing the mortgage. In fact, it replaces the existing first mortgage with a new loan, and paying off a second lien can alter the total debt secured by the property. The calculator’s payment is only principal and interest: it is not a complete housing payment and does not include taxes, insurance, or escrow.
The result also assumes a fixed rate and regular monthly payments. It cannot model a variable-rate credit line, a changing mortgage rate, irregular payments, a partial payoff, or fees added at closing. Rounding is another limitation: the monthly payment is rounded to cents before total interest is calculated, so a lender’s detailed payment schedule may differ slightly due to its own rounding and timing methods. Enter the actual proposed loan figures rather than relying on the example defaults.
Frequently Asked Questions
Can a cash-out refinance pay off a HELOC?
It may, if the transaction is structured to pay the HELOC and the lender’s conditions are satisfied. Get a current payoff statement and confirm in writing how the line will be handled at closing.
Can I keep a second lien after refinancing my first mortgage?
Possibly, but the new lender may require the second lien to be paid off or may require an arrangement about lien position. The answer depends on the loan terms and parties involved; confirm it before proceeding.
Does paying off the second lien mean I receive cash?
No. The payoff uses part of the new loan proceeds. Cash remaining, if any, depends on the new loan amount, both payoff amounts, costs, and other transaction adjustments.
Does this calculator tell me how much equity I can borrow?
No. It estimates payment and interest for a loan amount you supply. It does not evaluate property value, available equity, lender requirements, or approval.
Is the monthly payment the full cost of the new mortgage?
No. It includes estimated principal and interest only. It excludes taxes, insurance, mortgage insurance, escrow, and transaction costs.
This result is an estimate for education; the lender’s disclosure gives the exact figures.
Related
Formula used
in p | New first-mortgage amount | $ | 20000 | 1 | 100000000 in apr | Interest rate (APR) | % | 8 | 0.01 | 100 in yrs | Loan term | years | 5 | 0.0833 | 50 out pmt | Monthly principal-and-interest payment | $ | round(p * (apr / 1200) / (1 - (1 + apr / 1200) ^ -(yrs * 12)), 2) | 2 out int | Total interest | $ | pmt * yrs * 12 - p | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.
More in this section
- Cash-Out Refinance at U.S. Bank: Estimate the Cash$62,000.00
- VA Cash-Out Refinance Calculator and How It Works$405.53
- Cash-Out Refinance on a Second Home: Rules and Costs$405.53
- Cash-Out Refinance on a Second Home: Costs and Options$405.53
- Cash-Out Refinance Second Home Rates Explained$1,330.60
- Cash-Out Refinance Seasoning Requirements Explained$1,330.60