Tabellab

Where You Stand: Remaining Balance with CUMPRINC & CUMIPMT

Lesson 1 of 20Lab

All lessons

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — $9.90
Loading the spreadsheet…

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.

Remaining balance = original loan − principal repaid so far. An independent check is the future value of the loan after k payments: =-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.

CellItemValueExcel formula
B4Original loan amount$380,000.00input
B5Note rate (per year)7.25%input
B6Term (years)30input
B7Payments made so far48input
B8Monthly P&I$2,592.27=PMT(B5/12,B6*12,-B4)
B9Principal repaid so far$16,449.75=-CUMPRINC(B5/12,B6*12,B4,1,B7,0)
B10Interest paid so far$107,979.21=-CUMIPMT(B5/12,B6*12,B4,1,B7,0)
B11Remaining balance$363,550.25=B4-B9
B12Share of payments that went to interest86.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.

YearInterest paidPrincipal repaidBalance at year endExcel 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

Where the first four years of payments went (USD)InterestPrincipal repaid0k10k20k30k+3,678Year 1interest 27,429+3,954Year 2interest 27,154+4,250Year 3interest 26,857+4,568Year 4interest 26,539After 48 paymentsPaid: 124,429Interest: 107,979Principal: 16,450Interest share 86.8%
Each year the same total is paid, but interest takes about 85 to 88% of it in the early years of this fictional loan.

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.

Remaining balance over 30 years vs a straight line$0k$100k$200k$300k$400k051015202530Years since the loan startedToday, payment 48: $363,550 owedhalf repaid: payment 263straight-line repayment
The curved line is the real balance, the grey line a straight-line repayment. Early payments hardly move the balance.

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.

One payment of $2,592.27, split by payment numberInterestPrincipalPayment 1interest 2,296 · principal 296Payment 48interest 2,199 · principal 393Payment 120interest 1,985 · principal 607Payment 240interest 1,342 · principal 1,251Payment 360interest 16 · principal 2,577
The payment never changes, only its split. At payment 48 interest still takes about 85% of the payment.

How to do it in Excel, step by step

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. In B10 type =-CUMIPMT(B5/12,B6*12,B4,1,B7,0). The arguments are identical, only the function differs.
  6. In B11 type =B4-B9 for the remaining balance. In a spare cell type =-FV(B5/12,B7,-B8,B4) to cross-check. Both must show $363,550.25.
  7. In B12 type =B10/(B8*B7) and format it as a percentage. It shows how much of what you paid went to interest.
  8. Check the logic: B9 + B10 must equal B8 × B7 (all payments made). Type =B9+B10-B8*B7 somewhere: it should return 0.
  9. 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.
CUMPRINC and CUMIPMT return #NUM! if the rate or the loan amount is zero or negative, if start is greater than end, or if type is anything other than 0 or 1. If you see #NUM!, check the signs first: the pv argument must be the positive loan amount.

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.

Mortgage refinancing math course in Excel: remaining balance, break-even, points, cash-out and ARM resets
The course follows one fictional household from today's balance to a ranked refinance decision.

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 shortcutWhat it doesExample
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 / IPMTPrincipal / interest of one single payment=-IPMT(B5/12,48,B6*12,B4)
Ctrl+Shift+%Percent formatRate in B5, share in B12
Ctrl+Shift+$Currency formatB8:B11
F2Edit the active cell and highlight its referencesCheck 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.

  1. New Payment by Term: PMT and the Monthly Saving
  2. Closing Costs & the Break-Even Month
  3. Points vs Rate: Buy-Downs, Lender Credits & Their Break-Even
  4. Total Interest: The Term-Extension Trap
  5. Cash-Out Refinance: New LTV & the True Cost of the Cash
  6. ARM Reset Scenarios: Index + Margin, Caps & the Payment Path (Chart)
  7. Refinance Decision Table: NPV of the Savings (Chart)
  8. Rolling Closing Costs into the Loan vs Paying Them in Cash
  9. Effective Rate over Your Stay: RATE with Costs and the Sale Balance
  10. Recast vs Refinance: Using a Lump Sum to Lower the Payment
  11. Dropping Mortgage Insurance: Refinance Below 80 % LTV or Wait?
  12. How Far Must Rates Fall? The Break-Even Rate with RATE
  13. Sensitivity Grid: Break-Even Months by Rate and Closing Costs (Heat Map)
  14. First Mortgage plus Home-Equity Line: Blended Rate vs One New Loan
  15. Prepayment Penalty on the Old Loan: Refinance Now or Wait?
  16. Refinancing Again: Sunk Costs and the Second Break-Even
  17. Lock Today or Wait Six Months? The Cumulative Savings Path (Chart)
  18. Quote Audit: Checking 14 Refinance Quotes for Errors
  19. Final Project: The Okafors' Refinance Decision Dashboard (Chart)

Buy course — $9.90 See the full course