@travishorn/financejs
    Preparing search index...

    Function ipmt

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

      Remarks:

      • Make sure that you are consistent about the units you use for specifying rate and nper. If you make monthly payments on a four-year loan at 12 percent annual interest, use .12/12 for rate and 4*12 for nper. If you make annual payments on the same loan, use .12 for rate and 4 for nper.
      • For all the arguments, cash you pay out, such as deposits to savings, is represented by negative numbers. Cash you receive, such as dividend checks, is represented by positive numbers.

      Parameters

      • rate: number

        The interest rate per period.

      • per: number

        The period for which you want to find the interest and must be in the range 1 to nper.

      • nper: number

        The total number of payment periods in an annuity.

      • pv: number

        The present value, or the lump-sum amount that a series of future payments is worth right now.

      • Optionalfv: number = 0

        The future value, or a cash balance 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).

      • Optionaltype: 0 | 1 = 0

        The number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0. Set type equal to 0 if payments are due at the end of the period. Set type equal to 1 if payments are due at the beginning of the period.

      Returns number

      The interest payment for the specified period.

      When per is outside the valid range.

      ipmt(0.1 / 12, 1, 3, 8000); // -66.67