CUMIPMT in Google Sheets: Formula & Examples

How-to basics · Updated November 23, 2026

The Google Sheets CUMIPMT function calculates the cumulative interest paid between two periods of a loan or investment with constant payments and a fixed interest rate. Its syntax is CUMIPMT(rate, number_of_periods, present_value, first_period, last_period, end_or_beginning).

What Is CUMIPMT and When Would You Use It?

CUMIPMT stands for “cumulative interest payment.” It is a financial function that sums up the interest portion of loan payments over a specified range of periods. For example, you might want to know how much interest you will pay in total during the second year of a 30-year mortgage, or how much interest you have paid so far after 5 years of car payments. The function works with loans that have a constant interest rate and equal periodic payments—the same assumptions used by the PMT, IPMT, and PPMT functions.

How the CUMIPMT Function Works

The function takes six arguments, all of which are required:

  • rate – The interest rate per period. If your loan has an annual rate of 6% and payments are monthly, use 6%/12 = 0.5% (entered as 0.005).
  • number_of_periods – The total number of payment periods. For a 30-year mortgage paid monthly, that is 360.
  • present_value – The loan amount or current value of the investment. For a loan, this is the principal you borrowed.
  • first_period – The first period in the range you want to sum interest for. Periods are numbered starting at 1.
  • last_period – The last period in the range. Must be greater than or equal to first_period.
  • end_or_beginning – A logical value: 0 if payments are due at the end of each period, 1 if payments are due at the beginning.

The function returns a negative number because it represents an outflow (money you pay). If you want a positive result, wrap it in ABS() or multiply by -1.

CUMIPMT Example in Google Sheets

Let’s calculate the total interest paid in the first year (periods 1 to 12) on a $250,000 mortgage at 4% annual interest, with monthly payments over 30 years, payments at the end of each month.

Set up your sheet like this:

  • A1: 4% (annual rate)
  • A2: 360 (number of periods)
  • A3: 250000 (present value)
  • A4: 1 (first period)
  • A5: 12 (last period)
  • A6: 0 (end of period)

Then enter the formula:

=CUMIPMT(A1/12, A2, A3, A4, A5, A6)

This returns -9,927.08 (rounded), meaning you pay about $9,927 in interest during the first year. If you want a positive number, use =ABS(CUMIPMT(A1/12, A2, A3, A4, A5, A6)).

How to Choose the Right Arguments

Getting the arguments right is the most common source of errors. Here are practical guidelines:

  • Match the rate to the period. If payments are monthly, divide the annual rate by 12. If quarterly, divide by 4.
  • Number of periods must match the payment frequency. For a 5-year loan with monthly payments, use 60 periods.
  • First and last periods are inclusive. To sum interest for the entire loan, use 1 and number_of_periods.
  • Use 0 for end-of-period payments (most loans), 1 for beginning-of-period payments (some leases).

If you are unsure about your loan terms, check your loan agreement or ask your lender. The function assumes a constant interest rate and fixed payments, which may not match adjustable-rate loans.

Common Errors and How to Fix Them

Here are typical problems you might see:

  • #NUM! – Occurs if first_period < 1, last_period > number_of_periods, first_period > last_period, or if rate is negative. Check your period numbers.
  • #VALUE! – Occurs if any argument is non-numeric. Make sure all cells contain numbers, not text.
  • Unexpected negative result – That’s normal; the function returns a negative cash flow. Use ABS() if needed.
  • Result seems too high or too low – Double-check the rate: if you entered 4 instead of 4%, the function interprets it as 400% per period.

CUMIPMT vs. IPMT and PPMT

While IPMT calculates the interest for a single period, CUMIPMT sums interest over multiple periods. For example, IPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning]) gives the interest for one specific period. CUMIPMT is more efficient when you need a total over a range. Similarly, PPMT gives principal for one period, and there is no built-in CUMPRINC for cumulative principal in Google Sheets (though you could sum PPMT results manually).

Frequently Asked Questions

Why does CUMIPMT return a negative number?

Because it represents money you pay out. Google Sheets financial functions typically return negative values for cash outflows. To get a positive number, wrap the formula in ABS().

Can I use CUMIPMT for a loan with monthly payments and an annual interest rate?

Yes, but you must convert the annual rate to a monthly rate by dividing by 12, and set the number of periods to the total number of months. For example, a 3-year loan at 6% annual has rate = 6%/12 and number_of_periods = 36.

What if my payments are at the beginning of the period?

Use 1 for the end_or_beginning argument. This is common for leases and some annuity-type investments. The result will differ slightly because interest accrues differently.

Does CUMIPMT work for investments that earn interest, not loans?

Yes, it can be used for any fixed-rate investment with constant payments, such as an annuity. The present_value would be the current value (often negative if you are investing), and the result represents cumulative interest earned.

Is CUMIPMT available in Excel?

Yes, Excel has the same CUMIPMT function with identical syntax. The main difference is that in Excel you might need to enable the Analysis ToolPak in older versions, but in modern Excel 365 it is built-in.

How do I calculate total interest paid over the entire life of a loan?

Set first_period to 1 and last_period to number_of_periods. For example, on a 30-year mortgage with 360 periods, use =CUMIPMT(rate/12, 360, loan_amount, 1, 360, 0).

Remember that CUMIPMT assumes a constant interest rate and fixed payments. For real-world loans with variable rates or extra payments, results may differ. Always verify with your lender or a financial professional before making decisions based on these calculations.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.