In Excel: use =CUMIPMT(rate, nper, pv, start, end, type) for total interest across a span of periods, and CUMPRINC for the principal repaid over the same span.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
rate | required | Interest rate per period. |
nper | required | Total number of payments. |
pv | required | The loan amount. |
start_period | required | First period in the range, counting from 1. |
end_period | required | Last period in the range. |
type | required | 0 for payments at period end, 1 for beginning. Required, not optional. |
Related functions
Total interest €137,642.42 · Total paid €387,642.42
| Year | Principal | Interest | End balance |
|---|---|---|---|
| 1 | €6,111.41 | €9,394.29 | €243,888.59 |
| 2 | €6,347.73 | €9,157.97 | €237,540.86 |
| 3 | €6,593.19 | €8,912.51 | €230,947.67 |
| 4 | €6,848.14 | €8,657.56 | €224,099.53 |
| 5 | €7,112.95 | €8,392.75 | €216,986.58 |
| 6 | €7,388.00 | €8,117.70 | €209,598.58 |
| 7 | €7,673.69 | €7,832.01 | €201,924.90 |
| 8 | €7,970.42 | €7,535.28 | €193,954.48 |
| 9 | €8,278.62 | €7,227.07 | €185,675.86 |
| 10 | €8,598.75 | €6,906.95 | €177,077.11 |
| 11 | €8,931.25 | €6,574.44 | €168,145.85 |
| 12 | €9,276.62 | €6,229.08 | €158,869.24 |
| 13 | €9,635.33 | €5,870.37 | €149,233.91 |
| 14 | €10,007.92 | €5,497.78 | €139,225.99 |
| 15 | €10,394.91 | €5,110.78 | €128,831.07 |
| 16 | €10,796.87 | €4,708.82 | €118,034.20 |
| 17 | €11,214.38 | €4,291.32 | €106,819.82 |
| 18 | €11,648.02 | €3,857.67 | €95,171.80 |
| 19 | €12,098.44 | €3,407.26 | €83,073.36 |
| 20 | €12,566.27 | €2,939.42 | €70,507.09 |
| 21 | €13,052.20 | €2,453.50 | €57,454.89 |
| 22 | €13,556.91 | €1,948.79 | €43,897.98 |
| 23 | €14,081.14 | €1,424.56 | €29,816.84 |
| 24 | €14,625.64 | €880.05 | €15,191.20 |
| 25 | €15,191.20 | €314.50 | €0.00 |
Need it as an auditable file?
The full month-by-month schedule ships inside the Corporate Finance Suite — formula-driven, unlocked, audit-ready.
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
These two total what IPMT and PPMT return period by period, over any range of periods you name. That makes questions like "how much interest will I pay in the first five years" a single formula rather than a schedule plus a SUM. Unlike most annuity functions, the final type argument is mandatory here — omitting it is an error, not a default. Both return negative figures under the usual outgoing-cash convention, and both require start and end periods within 1 to nper or they return #NUM!. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “cumipmt formula in excel”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the tool above before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
On a 200,000 loan at 5 % over 25 years, interest in the first five years is =CUMIPMT(5%/12, 300, 200000, 1, 60, 0), about -47,300 — while principal repaid over the same span, =CUMPRINC(5%/12, 300, 200000, 1, 60, 0), is only about -22,800. The whole-life interest, with 1 and 300 as the bounds, comes to roughly -150,700. These two answer the question borrowers actually ask — what does the next five years cost — without building a full schedule first. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. The short version of “cumipmt formula in excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Omitting the type argument, which errors — unlike
PMTandIPMT, it has no default here. - A start or end period outside 1 to nper, which returns
#NUM!. - Comparing early-period interest against principal and concluding something is wrong; on a long loan the early split really is that lopsided.
Frequently asked questions
How much interest will I pay in the first five years?
=CUMIPMT(rate/12, nper, loan, 1, 60, 0) on a monthly loan. The 1 and 60 bound the span.
Why do I get an error with only five arguments?
The type argument is required for both functions. Add 0 for end-of-period payments.
What is the total interest over the whole loan?
Use 1 as the start period and nper as the end period.