@travishorn/financejs
    Preparing search index...

    Function calculateNominalRate

    • Calculates the nominal annual interest rate, given the effective rate and the number of compounding periods per year.

      Remarks:

      • periodsPerYear is truncated to an integer.
      • If either argument is nonnumeric, an error is thrown.
      • If effectiveRate <= 0 or if periodsPerYear < 1, an error is thrown.
      • calculateNominalRate() is related to calculateEffectiveRate() through effectiveRate = (1 + (nominalRate / periodsPerYear)) * periodsPerYear - 1.

      Parameters

      • options: NominalRateOptions

        The nominal rate calculation options.

      Returns number

      The nominal annual interest rate.

      calculateNominalRate({
      effectiveRate: 0.053543,
      periodsPerYear: 4,
      }); // 0.052500319868356016