All components

Discounted Cash Flow

Discount signed cash flows at explicit year fractions without imposing a price floor.

How it works

Discounted Cash Flow (3)
  1. Available

    if Conditional result using (Discount Rate > -1), then 1, otherwise 0

  2. Discounted

    Discounted

  3. Value

    Sum(Discounted)

Calculation steps (3)
  1. (Discount Rate > -1)

    (Discount Rate > -1)

  2. Conditional result using (Discount Rate > -1)

    if (Discount Rate > -1), then if (Sum(Higher of (Elapsed Years × -1) and 0) = 0), then true, otherwise false, otherwise false

  3. Discounted

    if Conditional result using (Discount Rate > -1), then (Cash Flow ÷ ((1 + if (Discount Rate > -1), then Discount Rate, otherwise 0) ^ Higher of Elapsed Years and 0)), otherwise 0

Conventions (4)
  • Cash flows are signed amounts in one currency and scale; elapsed years locate each payment relative to the valuation date.
  • Use one effective annual discount rate greater than minus one. Rates, timing, cash availability and equity versus enterprise scope belong to the caller.
  • Negative cash flows and negative present values remain visible. There is no price floor, inferred terminal value or automatic addition of balance-sheet cash.
  • Invalid negative times or an inadmissible discount rate produce zero placeholders with availability false; read the flag with every value.

Inputs and outputs

Inputs (3)
Inputs
NameUnitApplies to
Cash FlowDollarsPayment
Discount RatePercentSingle value
Elapsed YearsUnitlessPayment
Outputs (3)
Outputs
NameUnitApplies to
AvailableFlagSingle value
DiscountedDollarsPayment
ValueDollarsSingle value

Libraries