# CUMIPMT Function

> Calculate the interest paid on a loan between two periods with CUMIPMT in TX Sheet Control: rate, periods, present value, payment timing and #NUM!.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > CUMIPMT Function
- **293 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cumipmt/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cumipmt/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cumipmt/llms-full.txt

---

Return the cumulative interest paid on a loan between two periods. `rate` is the interest rate per period, `nper` the total number of payment periods and `pv` the present value, the amount of the loan. `start_period` and `end_period` are the first and the last period to include, counted from 1, and `type` is the timing of the payments: 0 at the end of each period, 1 at the beginning. The result is negative, because it is money paid. A `rate`, `nper` or `pv` of zero or less, a start period less than 1 or after the end period, an end period after `nper`, or a `type` other than 0 or 1 returns `#NUM!`.

### Syntax

```text
CUMIPMT(rate, nper, pv, start_period, end_period, type)
```

Category: Financial. Minimum arguments: 6. Maximum arguments: 6.

Available for supported offline calculation.

### Examples

```text
=CUMIPMT(0.01,12,1000,1,12,0)
```

The formula returns -66.19, the total interest of a loan of 1,000 at 1% per month that is paid back in 12 monthly payments.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [CUBEVALUE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cubevalue/llms-full.txt)
- **Next:** [CUMPRINC Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cumprinc/llms-full.txt)
