> For the complete documentation index, see [llms.txt](https://docs.valq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.valq.com/model/formula-functions/finance-functions/cumipmt.md).

# CUMIPMT

The CUMIPMT function returns the cumulative interest paid between two periods.

### Syntax

CUMIPMT (Rate, Nper, PV, start\_period, end\_period, Type) - > Number&#x20;

### Arguments

<table><thead><tr><th width="159">Arguments</th><th width="147">Datatype</th><th>Description</th></tr></thead><tbody><tr><td>Rate</td><td>Number, Node reference</td><td>The interest rate per period.</td></tr><tr><td>Nper</td><td>Number</td><td>The total number of periods.</td></tr><tr><td>PV</td><td>Number</td><td>The present value of the loan.</td></tr><tr><td>start_period</td><td>Number</td><td>The first payment period.</td></tr><tr><td>end_period</td><td>Number</td><td>The last payment period.</td></tr><tr><td>Type</td><td>Number</td><td>Indicates when the payments are made. Type is zero if payments are made at the end of the period and non-zero if payments are made at the start of the period.</td></tr></tbody></table>

### Example

Consider a $10,000 loan at an annual rate of 10% that is to be paid off in 1.5 years. All payments are made at the beginning of the month. Calculate Cumulative Interest Payments for all periods.

<table><thead><tr><th width="193">Periods</th><th width="81">1</th><th width="64">2</th><th width="64">3</th><th width="64">4</th><th width="64">5</th><th width="64">6</th><th width="64">7</th><th width="64">8</th><th width="64">9</th><th width="64">10</th><th width="64">11</th><th width="64">12</th><th width="64">13</th><th width="64">14</th><th width="64">15</th><th width="64">16</th><th width="64">17</th><th width="64">18</th></tr></thead><tbody><tr><td><mark style="color:purple;">Rate</mark></td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td><td>10%</td></tr><tr><td><mark style="color:orange;">Number of Years</mark></td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td><td>1.5</td></tr><tr><td><mark style="color:red;">Loan Amount</mark></td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td><td>10000</td></tr><tr><td>Start Period</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td></tr><tr><td><mark style="color:green;">End Period</mark></td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td><td>11</td><td>12</td><td>13</td><td>14</td><td>15</td><td>16</td><td>17</td><td>18</td></tr><tr><td>Payments Type</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td></tr></tbody></table>

To achieve this, the following formula should be written in the \[Cumulative Interest Payments] node:

<mark style="color:blue;">**`CUMIPMT`**</mark>**` ``(`**<mark style="color:purple;">**`[Rate]`**</mark>**`/12,`**<mark style="color:orange;">**`[Number of Years]`**</mark>**`*12,`**<mark style="color:red;">**`[Loan Amount]`**</mark>**`,1,`**<mark style="color:green;">**`[End Period]`**</mark>**`,1)`**

### Result

<table data-header-hidden><thead><tr><th width="193">Column1</th><th width="81">Column2</th><th width="71">Column3</th><th width="71">Column4</th><th width="71">Column5</th><th width="71">Column6</th><th width="71">Column7</th><th width="71">Column8</th><th width="71">Column9</th><th width="77">Column10</th><th width="77">Column11</th><th width="77">Column12</th><th width="77">Column13</th><th width="77">Column14</th><th width="77">Column15</th><th width="77">Column16</th><th width="77">Column17</th><th width="77">Column18</th><th width="77">Column19</th></tr></thead><tbody><tr><td>Cumulative Interest Payments</td><td>0</td><td>-78.369938</td><td>-152.42956</td><td>-222.14296</td><td>-287.4739</td><td>-348.38588</td><td>-404.84206</td><td>-456.80531</td><td>-504.238192</td><td>-547.102955</td><td>-585.361529</td><td>-618.97553</td><td>-647.906252</td><td>-672.114668</td><td>-691.561427</td><td>-706.206846</td><td>-716.010916</td><td>-720.933291</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.valq.com/model/formula-functions/finance-functions/cumipmt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
