@travishorn/financejs
    Preparing search index...

    Function calculateEffectiveRate

    • Calculates the effective annual interest rate, given the nominal annual interest 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 nominalRate <= 0 or if periodsPerYear < 1, an error is thrown.
      • Rate is calculated as follows: (1 + nominalRate / periodsPerYear)^periodsPerYear - 1
      • This function is related to calculateNominalRate() through effectiveRate = (1 + (nominalRate / periodsPerYear)) * periodsPerYear - 1.

      Parameters

      • options: EffectiveRateOptions

        The effective rate calculation options.

      Returns number

      The effective annual interest rate.

      calculateEffectiveRate({
      nominalRate: 0.0525,
      periodsPerYear: 4,
      }); // 0.05354266737075819