@travishorn/financejs
    Preparing search index...

    Function calculateDecliningBalanceDepreciation

    • Calculates the depreciation of an asset for a specified period using the fixed-declining balance method.

      Remarks:

      • The fixed-declining balance method computes depreciation at a fixed rate. Uses the following formulas to calculate depreciation for a period: `(cost
        • total depreciation from prior periods) * rate, where rate = 1 - ((salvage / cost) ^ (1 / life))`, rounded to three decimal places.
      • Depreciation for the first and last periods is a special case. For the first period, this function uses this formula: cost * rate * month / 12
      • For the last period, DB uses this formula: ((cost - total depreciation from prior periods) * rate * (12 - month)) / 12

      Parameters

      • options: DecliningBalanceDepreciationOptions

        The declining balance depreciation calculation options.

      Returns number

      The depreciation.

      calculateDecliningBalanceDepreciation({
      cost: 1000000,
      salvage: 100000,
      life: 6,
      period: 1,
      month: 7,
      }); // 186083.33333333