Uneven cash-flow streams

Time value of money
When the cash flows are not equal, how do I find what the whole stream is worth today?

Learning goals

After this page, you can:

  • Draw a timeline and split a messy stream into pieces: single amounts, annuities, and annuities that start late.
  • Value each piece at today’s date, including the two-step method for an annuity that starts late, and add the pieces.
  • Use Excel’s NPV function for a stream, and add a cash flow that happens today outside the function.

The idea

A dental office is offered a contract. It will receive $15,000 a year for the first three years. In year 4 it must pay $20,000 for an equipment overhaul. Then it will receive $25,000 a year in years 5 to 8. A second offer is simpler: $15,000 a year for eight years. Which offer is worth more?

Adding the numbers cannot answer this. The first offer adds up to $125,000 and the second to $120,000. But the money arrives at different times, and money that comes later is worth less.

An uneven cash-flow stream is a series of cash flows that are not all equal. Some may be negative. Real business cash flows almost always look like this.

The rule has three steps.

  1. Draw the timeline. Put every cash flow on its date. Money you pay is negative.
  2. Bring every cash flow to today. Each one is a present value problem you can already solve.
  3. Add the present values. Negative ones subtract.
 year     0      1      2      3      4       5      6      7      8
          |------|------|------|------|-------|------|------|------|
 cash          15,000 15,000 15,000 −20,000 25,000 25,000 25,000 25,000
Key formula

PV of a stream = CF₁ ÷ (1 + i)¹ + CF₂ ÷ (1 + i)² + … + CFₙ ÷ (1 + i)ⁿ

CFₜ = the cash flow at the end of year t · i = discount rate per year (as a decimal)

Pieces save work. You can discount each cash flow one by one. Or you can look for pieces you know. Equal cash flows in a row are an annuity. A lone cash flow is a single amount.

An annuity that starts late. A deferred annuity is an annuity whose first payment is more than one period away. It needs two steps. The annuity formula (and Excel’s PV) gives a value one period before the first payment. For payments in years 5 to 8, that value sits at year 4, not at today. Step two moves it to today: divide by (1 + i)⁴. Forgetting step two is the most common mistake with uneven streams.

In Excel. =NPV(rate, CF1, CF2, …) discounts a whole list and adds it. Type the cash flows in order, or give a range of cells. One thing to remember: NPV treats its first value as one period away. A cash flow that happens today (year 0) must stay outside the function: =CF0 + NPV(rate, CF1:CFn). If you put it inside, Excel discounts it by a year it never waited.

Try it

The tool starts with the dental contract at 8%. Change a cash flow, or tick “Show as pieces”.

What to notice:

  • Each dark bar (worth today) is shorter than its light bar (the cash flow). The gap grows with the years.
  • The negative year is discounted like any other. Its present value pulls the total down.
  • Tick “Show as pieces”. The annuity for years 5 to 8 needs two steps, and the total is the same as before.
  • Click “Preset: deferred annuity” for a smaller case: three payments of $1,000 in years 3, 4 and 5.

Worked example

Problem. Value the dental contract at 8%. Then compare it with $15,000 a year for eight years.

Step 1. Timeline and pieces. There are three pieces: an annuity in years 1–3, one negative amount in year 4, and an annuity in years 5–8.

Step 2. Piece 1. $15,000 a year for years 1–3. =PV(0.08, 3, -15000, 0) → $38,656.45. The first payment is one year away, so this is already a value today.

Step 3. Piece 2. −$20,000 in year 4. −20,000 ÷ 1.08⁴ = −20,000 ÷ 1.3605 = −$14,700.60.

Step 4. Piece 3, in two steps. $25,000 a year for years 5–8. First: =PV(0.08, 4, -25000, 0) → $82,803.17. This is a value at year 4. Second: 82,803.17 ÷ 1.08⁴ = $60,862.80 today.

Step 5. Add. 38,656.45 − 14,700.60 + 60,862.80 = $84,818.65. Excel, with no rounding between the steps, gives one cent more:

=NPV(0.08, 15000, 15000, 15000, -20000, 25000, 25000, 25000, 25000) → $84,818.66

Step 6. Compare. The second offer is a plain annuity: =PV(0.08, 8, -15000, 0) → $86,199.58. That is $1,380.92 more than the first offer.

Answer. The contract is worth $84,818.66 today. The simple offer is worth $86,199.58, so it is better by $1,380.92. The first offer pays $5,000 more in total, but its large payments come late and it has a negative year. Timing decides, not the total.

Check yourself

Check 1.

A project pays $500 at the end of years 1 and 2 and $800 at the end of year 3. At 10%, the PV of the stream is:

Uneven streams: one PV per cash flow, then add. Excel: =NPV(rate, CF1, CF2, …).

Check 2.

Three payments of $1,000 arrive at the end of years 3, 4 and 5 (a deferred annuity). At 10%, which two-step method values them today?

Deferred annuity: value it one period before the first payment, then discount that lump sum to today.

Check 3.

In Excel, =NPV(0.08, B2:B9) is used for cash flows in years 1–8. Where does a year-0 cash flow go?

Excel’s NPV starts discounting at period 1: NPV(rate, CF1..n) + CF0.

Check 4.

Bluestem Dental’s project has a −$20,000 cash flow in year 4 (equipment overhaul) among positive flows. How is it handled in the PV?

Negative cash flows are discounted the same way; their PVs subtract from the total.

Check 5.

What is the first thing to do with any messy cash-flow problem?

Timeline first, then one PV per piece, then add.

Video

Video coming soon.