The Excel CUMIPMT function is a financial function that returns the cumulative interest paid on a loan between a start period and an end period. You can use CUMIPMT to determine the total interest paid on a loan, or the interest paid between any two payment periods.


Get cumulative interest paid on a loan

Return value 

The interest amount


  • rate - The interest rate per period.
  • nper - The total number of payments for the loan.
  • pv - The present value, or total value of all payments now.
  • start_period - First payment in calculation.
  • end_period - Last payment in calculation.
  • type - When payments are due. 0 = end of period. 1 = beginning of period.

How to use 

The CUMIPMT function returns the cumulative interest over a range of time defined by a given start and end period. CUMIPMT is useful for financial analysis, particularly in scenarios involving loans and investments. It allows users to calculate the cumulative interest over specific periods, which makes it an important tool for understanding the financial impact of different loan terms or investment strategies. Typical use cases include assessing the total interest outlay on mortgages over various time frames, comparing interest accruals on different loan offers, or analyzing investment growth over time. The CUMIPMT function provides a useful view of financial obligations or growth which can help with more informed decision-making and effective financial planning


Suppose you have a 5-year loan of $10,000 with an annual interest rate of 5% and 12 compounding periods per year. You want to find out the total interest you would pay over the full term of the loan. You can make this calculation with the CUMIPMT function like this:


The inputs to CUMIPMT are as follows:

  • rate = 5%/12 = 0.00416 (since it's an annual interest rate with monthly compounding)
  • nper = 5*12 = 60 (a 5-year loan has 60 periods)
  • pv = 10,000 (the loan amount)
  • start_period = 1 (the first period)
  • end_period = 60 (the last period)
  • type = 0 (payments at the end of each month)

The result is -1,322.74. This is the total interest paid over the full term of the loan. Notice that the CUMIPMT function in Excel returns a negative value because it represents an outflow of money. If you need a positive value, you can wrap the formula in the ABS function.

Worksheet example

In the example above, all inputs to CUMIPMT are hardcoded to make the formula easier to read. More typically, the inputs will come from cell references. The screen below shows the same example transferred to a worksheet:

Example of the CUMIPMT function to calculate total interest paid

The formula in cell C10 is evaluated like this:


Notice that we use the term in years * the periods per year to calculate total periods, instead of hardcoding the number 60. We do this so that the formula will automatically adapt to a different number of compounding periods per year.

Also, notice that the monthly payment is not an input to CUMIPMT. This is because CUMIPMT calculates cumulative interest based on the original principal (or present value), the interest rate, and the provided periods. The periodic (e.g., monthly) payment amount isn't needed to determine how much interest accumulates across the given period range. To calculate a payment for a loan you can use the PMT function.


  1. The interest rate can be provided as a percentage like 5% or a decimal number like 0.05.
  2. Be consistent with inputs for rate. For example, for a 5-year loan with 6% annual interest, enter the rate as 6%/12.
  3. The loan value (pv) must be entered as a positive value or CUMIPMT will return a #NUM! error.
  4. The values for start_period and end_period should be integers between 1 and the total number of periods.
  5. The value for start_period must be less than or equal to the value for end_period.
Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.