@travishorn/financejs
    Preparing search index...

    Function calculatePrincipalPayment

    • Calculates the payment on the principal 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 periods. If you make monthly payments on a four-year loan at 12 percent annual interest, use 0.12 / 12 for rate and 4 * 12 for periods. If you make annual payments on the same loan, use 0.12 for rate and 4 for periods.
      • A result of -0 is normalized to 0.

      Parameters

      • options: PrincipalPaymentOptions

        The principal payment calculation options.

      Returns number

      The payment on the principal for the specified period.

      When period is outside the valid range.

      calculatePrincipalPayment({
      rate: 0.1 / 12,
      period: 1,
      periods: 2 * 12,
      presentValue: 2000,
      }); // -75.62318600836664
      calculatePrincipalPayment({
      rate: 0.02,
      period: 5,
      periods: 5,
      presentValue: -608926,
      futureValue: 37115,
      }); // 118935.78773645744