Every refinance question starts with one number
Should you refinance? How much would a new loan be? Would a shorter term cost more each month? All of these questions depend on the same starting point: how much you still owe on the loan you have today. That number, the remaining balance, is what a new lender would pay off, so it is the amount the new loan is built on. Surprisingly few borrowers know it to the dollar, and many are shocked by how little it has fallen after several years of faithful payments.
This free first lesson shows you how to calculate the remaining balance of a fixed-rate mortgage in Excel, how to split everything you have paid so far into principal and interest with CUMPRINC and CUMIPMT, and how to check the result with a second method. It is for homeowners who want to understand their own loan, students of personal finance, and loan officers or real estate professionals who want a clear spreadsheet to explain the numbers to a client.
All examples follow a fictional household, Elena and Marcus Reyes, and a fictional lender. The rate and loan amount are illustrative, chosen to make the math visible, not a statement about current market rates. This course is educational and is not investment, tax or legal advice. It does not tell you whether to refinance. It teaches you how to work out the numbers so that you can read any offer with your own eyes.
The core idea: an amortising loan pays interest first
A standard fixed-rate mortgage has the same monthly principal and interest (P&I) payment for its whole term. What changes is the split inside each payment. Every month the lender first charges interest on the balance still owed: balance × annual rate ÷ 12. Whatever is left of the payment reduces the balance. Because the balance is largest at the start, interest takes most of the early payments, and principal repayment starts small and grows a little every month. This process is called amortisation.
For the Reyeses the numbers look like this. They borrowed $380,000 over 30 years at 7.25% a year, for example. The monthly rate is 0.0725 ÷ 12 ≈ 0.604%. On the first payment, interest is 380,000 × 0.0725 ÷ 12 = $2,295.83. The full payment is $2,592.27, so only $296.44 went to principal. After 48 payments, the monthly interest has barely moved to $2,198.83.
Excel has three functions that do this arithmetic for you:
PMT(rate, nper, pv)gives the constant payment. With a monthly rate, the number of months and the loan amount it returns the P&I.CUMPRINC(rate, nper, pv, start_period, end_period, type)adds up the principal repaid between two payment numbers.CUMIPMT(rate, nper, pv, start_period, end_period, type)does the same for interest.
Two details trip people up. First, all three functions follow Excel's cash-flow sign convention: money you receive (the loan) is positive and money you pay is negative. PMT with -B4 returns a positive payment, while CUMPRINC and CUMIPMT return negative totals, so you put a minus in front. Second, type is 0 for payments at the end of each month, which is how standard mortgages work. CUMPRINC and CUMIPMT require the type argument, so do not leave it out.
=-FV(rate/12, k, -payment, loan). If both methods agree, your inputs are right.Worked example: the Reyeses, four years in
Here are the lab inputs and the results your formulas should produce. Each formula uses only the input cells B4:B7, so you can change the rate, the term or the number of payments and everything recalculates.
| Cell | Item | Value | Excel formula |
|---|---|---|---|
| B4 | Original loan amount | $380,000.00 | input |
| B5 | Note rate (per year) | 7.25% | input |
| B6 | Term (years) | 30 | input |
| B7 | Payments made so far | 48 | input |
| B8 | Monthly P&I | $2,592.27 | =PMT(B5/12,B6*12,-B4) |
| B9 | Principal repaid so far | $16,449.75 | =-CUMPRINC(B5/12,B6*12,B4,1,B7,0) |
| B10 | Interest paid so far | $107,979.21 | =-CUMIPMT(B5/12,B6*12,B4,1,B7,0) |
| B11 | Remaining balance | $363,550.25 | =B4-B9 |
| B12 | Share of payments that went to interest | 86.78% | =B10/(B8*B7) |
Read the table as a story. In four years the Reyeses have paid 48 × 2,592.27 = $124,428.95. Of that, $107,979.21 was interest and only $16,449.75 reduced the debt. They still owe $363,550.25, about 95.7% of what they borrowed. The cross-check =-FV(B5/12,B7,-B8,B4) returns the same $363,550.25, so both methods agree.
The year-by-year view below shows how slowly the split changes. Each year the Reyeses pay the same $31,107.24 (12 payments). Interest falls by only about $300 a year, and principal grows by the same amount.
| Year | Interest paid | Principal repaid | Balance at year end | Excel for the year (example: year 2) |
|---|---|---|---|---|
| Year 1 | $27,429.38 | $3,677.86 | $376,322.14 | |
| Year 2 | $27,153.70 | $3,953.54 | $372,368.60 | =-CUMIPMT(B5/12,B6*12,B4,13,24,0) |
| Year 3 | $26,857.35 | $4,249.89 | $368,118.71 | |
| Year 4 | $26,538.78 | $4,568.46 | $363,550.25 |
Why the balance falls so slowly at first
If the loan were repaid in a straight line, the Reyeses would owe 380,000 × (1 − 48/360) = $329,333 after four years. In fact they owe $363,550, over $34,000 more. The amortisation curve stays high for years and then falls faster and faster towards the end. On this fictional loan, half of the original amount is only repaid after payment 263, about 21.9 years in, and the principal part of the payment exceeds the interest part only from payment 246 onwards.
This curve matters for refinancing in two ways. First, after a few years most of the original debt is still there, so a new loan on similar terms is almost as large as the old one. Second, a new 30-year loan starts the interest-heavy part of the curve all over again. That is why a lower monthly payment does not automatically mean less total interest, a trap you will measure precisely later in the course.
How the rate changes the picture
Because the interest is charged first, the note rate decides how quickly the balance falls. The table below runs the same $380,000, 30-year loan with 48 payments made at three example rates, one point apart. Only B5 changes, every other input stays the same, and the formulas are exactly those of the lab.
| Rate (B5) | Monthly P&I (B8) | Principal repaid (B9) | Interest paid (B10) | Balance (B11) |
|---|---|---|---|---|
| 6.25% | $2,339.73 | $19,604.65 | $92,702.17 | $360,395.35 |
| 7.25% | $2,592.27 | $16,449.75 | $107,979.21 | $363,550.25 |
| 8.25% | $2,854.81 | $13,724.55 | $123,306.47 | $366,275.45 |
Two things stand out. A higher rate raises the payment, but it also slows the repayment: at the highest example rate less principal has been repaid after four years than at the lowest, even though the household paid more every month. The extra money goes entirely to interest. And at every rate the balance after four years is still well above 90% of the original loan. This is the reason refinance comparisons must start from the actual balance and not from the original amount: two households with the same original loan can owe noticeably different sums after the same number of years.
You can make this kind of comparison in seconds with a one-variable data table: list the rates down a column, put =B11 in the cell above and to the right, select the block and choose Data › What-If Analysis › Data Table, with B5 as the column input cell.
How to do it in Excel, step by step
- Enter the inputs in B4:B7: the original loan, the annual note rate as a percentage (Ctrl+Shift+%), the term in years and the number of payments already made. You find the payment count by counting months since the first payment, or on your mortgage statement.
- In B8 type
=PMT(B5/12,B6*12,-B4). Dividing the rate by 12 and multiplying the years by 12 keeps everything monthly. The minus before B4 makes the result positive. - Compare B8 with the P&I on a real statement. If yours includes escrow for taxes and insurance, that part is not in PMT. It is a separate cost and does not reduce the loan.
- In B9 type
=-CUMPRINC(B5/12,B6*12,B4,1,B7,0). The arguments mean: monthly rate, total months, original loan, first payment 1, last payment B7, end-of-month payments. - In B10 type
=-CUMIPMT(B5/12,B6*12,B4,1,B7,0). The arguments are identical, only the function differs. - In B11 type
=B4-B9for the remaining balance. In a spare cell type=-FV(B5/12,B7,-B8,B4)to cross-check. Both must show $363,550.25. - In B12 type
=B10/(B8*B7)and format it as a percentage. It shows how much of what you paid went to interest. - Check the logic: B9 + B10 must equal B8 × B7 (all payments made). Type
=B9+B10-B8*B7somewhere: it should return 0. - Optional: build a full schedule. Put payment numbers 1 to 360 in a column, then use
=-PPMT($B$5/12,A2,$B$6*12,$B$4)and=-IPMT($B$5/12,A2,$B$6*12,$B$4)for the principal and interest of each payment. Press Ctrl+Shift+↓ to select down to the last row quickly.
What a lender's payoff figure adds
The balance you calculate is the principal still owed right after a payment. When a real loan is paid off, the servicer issues a payoff statement that is usually a little different: it typically adds interest accrued since the last payment date and may include fees listed in the loan documents. Escrow balances are handled separately. So treat your spreadsheet balance as a very good estimate for comparing offers, and use the official payoff figure for the actual closing. The method in this lesson also assumes no extra principal payments. If the Reyeses had paid extra, their real balance would be lower than the formula shows, and the FV cross-check with the actual payment history would be the better tool.

Common mistakes and how to spot them
- Annual instead of monthly inputs.
=PMT(B5,B6,-B4)returns a yearly payment of about $31,000. If the "monthly" payment is twelve times too big, divide the rate by 12 and multiply the years by 12. - Forgetting the minus sign. CUMPRINC and CUMIPMT return negative numbers. A negative "principal repaid" is a sign issue, not an error in the loan.
- Using the payments made as nper. The second argument of CUMPRINC is the total number of payments of the loan (360), not the 48 made so far. The 48 goes into end_period.
- Subtracting all payments from the loan. 380,000 − 48 × 2,592.27 = $255,571, a balance far too low. Only the principal part of each payment reduces the debt.
- Dividing interest by the loan amount. The interest share answers "what part of what I paid was interest?", so the denominator is all payments made (B8 × B7), not the loan.
- Mixing in escrow. If you type a statement payment that includes taxes and insurance into the FV check, the balance will look too low. Use the P&I only.
- Rounding the rate. A rate typed as 7.2% instead of 7.25% changes the balance by hundreds of dollars over a few years. Copy the note rate exactly from the loan documents.
Quick reference: functions and shortcuts in this lesson
| Function or shortcut | What it does | Example |
|---|---|---|
PMT(rate,nper,pv) | Constant payment of a loan | =PMT(B5/12,B6*12,-B4) |
CUMPRINC(rate,nper,pv,start,end,type) | Principal repaid between two payments | =-CUMPRINC(B5/12,B6*12,B4,1,B7,0) |
CUMIPMT(rate,nper,pv,start,end,type) | Interest paid between two payments | =-CUMIPMT(B5/12,B6*12,B4,1,B7,0) |
FV(rate,nper,pmt,pv) | Balance after n payments (cross-check) | =-FV(B5/12,B7,-B8,B4) |
PPMT / IPMT | Principal / interest of one single payment | =-IPMT(B5/12,48,B6*12,B4) |
| Ctrl+Shift+% | Percent format | Rate in B5, share in B12 |
| Ctrl+Shift+$ | Currency format | B8:B11 |
| F2 | Edit the active cell and highlight its references | Check which cells a formula uses |
Real-world uses
- Before asking for refinance quotes. Knowing the balance lets you check whether a quoted new loan amount, with its closing costs, is plausible.
- Estimating equity. An estimated home value minus the remaining balance shows the owner's equity, which affects the loan-to-value of any new loan.
- Selling a home. A seller can estimate what is left from the sale price after the mortgage is paid off, before the official payoff statement arrives.
- Comparing extra-payment plans. Rebuild the schedule with an extra $200 a month and compare balances after five years, all with the same functions.
- Explaining a statement to a client. Loan officers and advisors can show the interest-heavy early years with one chart instead of a long explanation.
What you will build in the rest of this course
This first lab is free. The other 19 labs are part of the full course, unlocked with a one-time payment of $9.90. They all continue with the Reyeses' balance from this lesson, so the course works like one connected decision model.
New Payment by Term: PMT and the Monthly Saving. You price four refinance terms on the balance you just calculated and see which ones really lower the payment and how many months each adds or removes.
Closing Costs & the Break-Even Month. You add up itemised closing costs, separate real costs from prepaid items, and find the month in which the monthly saving has paid them back.
Points vs Rate: Buy-Downs, Lender Credits & Their Break-Even. You compare four rate and point combinations on the same loan and find out which is cheapest over the time the household expects to stay.
Total Interest: The Term-Extension Trap. You compare the interest still due on the current loan with three refinance plans and see how a lower payment can hide a higher total cost.
Cash-Out Refinance: New LTV & the True Cost of the Cash. You size a cash-out loan against an example 80% LTV limit and calculate the effective interest rate on the cash itself.
ARM Reset Scenarios: Index + Margin, Caps & the Payment Path (Chart). You run an adjustable-rate offer through five yearly resets on a hypothetical rate path, apply rate caps and a floor, and chart the payment shock.
Refinance Decision Table: NPV of the Savings (Chart). You rank four offers by the net present value of their savings over a seven-year stay and turn the result into a clear chart.
Summary
The remaining balance is the foundation of every refinance calculation. With PMT you get the monthly payment, with CUMPRINC and CUMIPMT you split everything paid so far into principal and interest, and the balance is the original loan minus the principal repaid, confirmed by -FV. For the fictional Reyeses that is $363,550.25 after four years, with 86.8% of their payments spent on interest. Scroll up to the lab, fill B8:B12 and let the Coach check each cell. Then change the number of payments in B7 and watch how slowly the balance moves.
Frequently asked questions
How do I calculate the remaining balance on my mortgage in Excel?
Subtract the principal repaid from the original loan: =B4+CUMPRINC(rate/12,years*12,B4,1,payments_made,0). You can check it with =-FV(rate/12,payments_made,-payment,B4).
What is the difference between CUMPRINC and CUMIPMT?
Both use the same arguments. CUMPRINC adds up the principal repaid between two payment numbers, CUMIPMT adds up the interest paid in the same period.
Why does CUMPRINC return a negative number?
Excel treats money you pay out as negative. Put a minus in front of the function to show the principal repaid as a positive amount.
Why have I paid off so little of my mortgage after several years?
In an amortising loan each payment first covers the interest on the current balance. Early on the balance is large, so most of the payment is interest and only a small part reduces the debt.
Is the remaining balance the same as the payoff amount?
Not exactly. A payoff statement from the servicer usually adds interest accrued since the last payment and any fees in the loan documents. The calculated balance is a close estimate.
Does the PMT payment include property taxes and insurance?
No. PMT gives only principal and interest. Escrow amounts for taxes and insurance are collected separately and do not reduce the loan balance.
Keep going: Mortgage Refinancing Math: Break-Even, Points, Cash-Out & ARMs
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time €9.90.
- New Payment by Term: PMT and the Monthly Saving
- Closing Costs & the Break-Even Month
- Points vs Rate: Buy-Downs, Lender Credits & Their Break-Even
- Total Interest: The Term-Extension Trap
- Cash-Out Refinance: New LTV & the True Cost of the Cash
- ARM Reset Scenarios: Index + Margin, Caps & the Payment Path (Chart)
- Refinance Decision Table: NPV of the Savings (Chart)
- Rolling Closing Costs into the Loan vs Paying Them in Cash
- Effective Rate over Your Stay: RATE with Costs and the Sale Balance
- Recast vs Refinance: Using a Lump Sum to Lower the Payment
- Dropping Mortgage Insurance: Refinance Below 80 % LTV or Wait?
- How Far Must Rates Fall? The Break-Even Rate with RATE
- Sensitivity Grid: Break-Even Months by Rate and Closing Costs (Heat Map)
- First Mortgage plus Home-Equity Line: Blended Rate vs One New Loan
- Prepayment Penalty on the Old Loan: Refinance Now or Wait?
- Refinancing Again: Sunk Costs and the Second Break-Even
- Lock Today or Wait Six Months? The Cumulative Savings Path (Chart)
- Quote Audit: Checking 14 Refinance Quotes for Errors
- Final Project: The Okafors' Refinance Decision Dashboard (Chart)