@travishorn/financejs
    Preparing search index...

    Function calculateFutureValue

    • Calculates the future value of an investment based on a constant interest rate. You can use this function with either periodic, constant payments, or a single lump sum payment.

      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.
      • In annuity functions, cash you pay out, such as a deposit to savings, is represented by a negative number. Cash you receive, such as a dividend check, is represented by a positive number. For example, a $1,000 deposit to the bank would be represented by the argument -1000 if you are the depositor and by the argument 1000 if you are the bank.
      • A result of -0 is normalized to 0.

      Parameters

      • options: FutureValueOptions

        The future value calculation options.

      Returns number

      The future value.

      calculateFutureValue({
      rate: 0.06 / 12,
      periods: 10,
      payment: -200,
      presentValue: -500,
      timing: "beginning",
      }); // 2581.4033740601362
      calculateFutureValue({
      rate: 0.005625,
      periods: 60,
      payment: 500,
      presentValue: -30000,
      }); // 6437.6763640914