# WorksheetFunction.Ipmt (Excel)

Returns the interest payment for a given period for an investment based on periodic, constant payments and a constant interest rate.

The following table describes the values that can be used for Arg6.

**Ipmt** (Arg1, Arg2, ..., Arg6)

```
Dim dblArg1 As Double: dblArg1 =
Dim dblArg2 As Double: dblArg2 =
Dim dblArg3 As Double: dblArg3 =
Dim dblArg4 As Double: dblArg4 =
Dim dblIpmt As Double
dblIpmt = WorksheetFunction.Ipmt(Arg1:=dblArg1, Arg2:=dblArg2, Arg3:=dblArg3, Arg4:=dblArg4)
```

## Arguments

Arg1, Arg2, ..., Arg6Arg1 (Double) - Rate - the interest rate per period.

Arg2 (Double) - Per - the period for which you want to find the interest; must be in the range 1 to nper.

Arg3 (Double) - Nper - the total number of payment periods in an annuity.

Arg4 (Double) - Pv - the present value, or the lump-sum amount that a series of future payments is worth right now.

Arg5 - Fv - the future value, or a cash balance that you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0)

Arg6 - Type - the number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0