# IPMT Function

> Calculate the interest part of a loan payment for a period with IPMT in TX Sheet Control: rate, per, nper, pv, fv, payment timing and #NUM! errors.

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

---

Return the interest part of a payment for a given period of a loan or investment with constant payments and a constant interest rate. `rate` is the interest rate per period, `per` the period, from 1 to `nper`, `nper` the number of periods and `pv` the present value. `fv` is the future value (0 when omitted), and `type` is 0 (the default) for payments at the end of each period or 1 for payments at the beginning. A `per` outside 1 to `nper` returns `#NUM!`. Payments are negative, following the cash flow sign convention.

### Syntax

```text
IPMT(rate, per, nper, pv, fv, type)
```

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

Available for supported offline calculation.

### Examples

```text
=IPMT(0.01,1,12,1000)
```

The formula returns -10, the interest of 1% on a loan of 1,000 in the first of 12 months.

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:** [INTRATE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/intrate/llms-full.txt)
- **Next:** [IRR Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/irr/llms-full.txt)
