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
Type =CUMIPMT( and enter the periodic rate, the total periods and the loan amount.
Add the first and last period of the span you care about — 1 and 60 for the first five years of a monthly loan.
Add the type argument, 0 for end-of-period payments. It is required.
Repeat with CUMPRINC to see the principal repaid over the same span.
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 outcome you expected 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. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. For “cumipmt formula in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
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.