Blog

The Time Value of Money: NPV and IRR Explained Simply

Why a ringgit next year is worth less than one today, and how NPV and IRR turn that idea into go/no-go decisions on energy-efficiency projects. Worked in full.

Tan Kok XinTan Kok XinEnergy Management: The Economics of Saving Energy
Illustration of two people at a table, one sliding over a chart of future cash flows, the other with coins

Part 6 of 10 in Cobler's Energy Management: The Economics of Saving Energy course. New here? See the course page.

Suppose someone offers you RM1,000 today or RM1,000 in a year's time. Most of us take it today, and we're right to. Money we hold now can go in the bank or into the business, so a year from now it has grown.

An energy efficiency project asks the same question the other way round. We pay a lump sum now and get smaller savings back over many years.

But simple payback, from Part 5, treats a ringgit saved in Year 5 exactly like a ringgit saved in Year 1. So how do we compare money that arrives at different times?

Finance teams use two tools for this, net present value (NPV) and internal rate of return (IRR). Let's build them up one step at a time, until we can judge a pump retrofit the way a finance team does.

The time value of money

So why is a ringgit today worth more? If we have RM1,000 today, we can deposit it, lend it or reinvest it in the business, and a year from now it has grown.

So RM1,000 a year from now is worth less to us than RM1,000 in our hand today, because we lose a year of earnings. That's what we call the time value of money.

The yearly rate at which we expect money to grow is the discount rate, written \(r\). The discount rate combines three things:

  • what we could earn elsewhere at similar risk
  • what it costs to borrow the money
  • an allowance for uncertainty

Each company sets its own rate. Many companies also set a hurdle rate of about 8–12%, which is the minimum yearly return a project must beat to be worth funding.

This course uses a discount rate of 8% a year, nominal. It's an illustrative figure, not a rule, so use your own company's rate if finance has set one.

Nominal or real? A nominal rate includes expected inflation, and a real rate has inflation taken out. The two must match the cash flows.

With an 8% nominal rate, each year's saving must be the ringgit we expect to actually save in that year. Here we assume the saving stays at the same ringgit amount every year, which is the same as assuming energy prices don't change.

Part 8 explains real and nominal rates in more detail.

Discounting

To compare money from different years, we turn every future amount into "today's ringgit". The tool for that is the discount factor:

$$DF = \frac{1}{(1+r)^{t}}$$

Here \(t\) is the number of years in the future and \(r\) is the discount rate. Multiply a future cash amount by its discount factor, and we get its present value (PV). That's what the future money is worth in today's terms:

$$PV = \text{future cash} \times DF$$

Let's try one. Say the building will save RM2,500 on electricity three years from now. At \(r = 8\%\):

$$DF = \frac{1}{(1.08)^{3}} = \frac{1}{1.2597} = 0.7938$$

$$PV = 2{,}500 \times 0.7938 = RM1{,}984.50$$

So a RM2,500 saving in Year 3 is worth about RM1,985 today. The further in the future the money arrives, and the higher the discount rate, the smaller its present value. And that's the idea NPV is built on.

Net present value

NPV takes the present value of every future cash flow, adds them together, and subtracts what we paid up front. That up-front payment is the capital expenditure, or Capex:

$$NPV = \sum_{t=1}^{n} \frac{CF_{t}}{(1+r)^{t}} - \text{Capex}$$

Here \(CF_t\) is the cash flow (the net saving) in year \(t\), and \(n\) is the number of years. The \(\sum\) sign means "add up the discounted cash flows for years 1 to \(n\)". The decision rule is:

  • NPV > 0: the project earns more than our discount rate requires. It adds value, so do it.
  • NPV = 0: it exactly meets our required return. We're no better or worse off.
  • NPV < 0: it loses value at that rate, so don't do it.

NPV answers the question a business cares about most. How much better off does this project make us, in today's money? That's why many finance teams treat NPV as the main measure for a project.

The pump

So let's try it on a real decision. An old pump uses too much electricity. A high-efficiency replacement costs RM6,000 installed and cuts the power bill by RM2,500 every year for its 5-year economic life. The finance team uses an 8% nominal discount rate. Is it worth it?

We discount each year's RM2,500 saving back to today:

Year (t)

Cash flow

Discount factor at 8%

Present value

1

RM2,500

0.9259

RM2,314.75

2

RM2,500

0.8573

RM2,143.25

3

RM2,500

0.7938

RM1,984.50

4

RM2,500

0.7350

RM1,837.50

5

RM2,500

0.6806

RM1,701.50

Σ PV

RM9,981.50

Bar chart of five years of the pump saving. Each year saves RM2,500, but its present value at 8 percent falls from RM2,314.75 in year 1 to RM1,701.50 in year 5. The five present values add up to RM9,981.50.

Each year's RM2,500 is worth a little less in today's money than the year before. The blue bars add up to RM9,981.50.

Now subtract the Capex:

$$NPV = 9{,}981.50 - 6{,}000 = RM3{,}981.50$$

So the project adds about RM3,980 of value in today's ringgit. The NPV is positive, so the project goes ahead.

There's a shortcut when the saving is the same every year, which we call an annuity. We don't need the full table, because we can multiply the yearly saving by the annuity factor for that rate and number of years.

The annuity factor is the sum of the discount factors. For 8% over 5 years it's 3.9927, and the rounded factors in the table add up to 3.9926:

$$2{,}500 \times 3.9927 = RM9{,}981.75$$

That matches the table to within 25 sen of rounding. With an annuity-factor table, most simple retrofits take a few seconds to check.

Internal rate of return

But NPV needs us to choose a discount rate. IRR turns the question around and asks what discount rate would make this project's NPV exactly zero.

That rate is the project's own return, the yearly percentage at which the future savings exactly repay the Capex. Formally, IRR is the value of \(r\) that solves:

$$\sum_{t=1}^{n} \frac{CF_{t}}{(1+r)^{t}} - \text{Capex} = 0$$

The decision rule is to accept the project if its IRR is greater than your hurdle rate (typically 8–12%). So a 25% IRR against a 10% hurdle is a strong yes.

There's no simple algebra that gives IRR directly, so we find it by trial and error. We try a rate, calculate the NPV, adjust the rate, and repeat.

First we find two rates that give NPVs of opposite sign, which is called bracketing. Then we estimate the point in between where NPV is zero, which is called interpolating.

Spreadsheets do this with the IRR function, but it helps to see it done once by hand.

The pump's IRR

It's the same pump: Capex RM6,000, savings RM2,500 a year, 5 years. Because the savings are equal each year, the IRR is the rate at which the annuity factor equals \(6{,}000 \div 2{,}500 = 2.40\). So let's bracket it.

Try 30%. The 5-year annuity factor at 30% is 2.4356.

$$NPV = 2{,}500 \times 2.4356 - 6{,}000 = 6{,}089 - 6{,}000 = +RM89$$

The NPV is still slightly positive, so the IRR is a little higher than 30%.

Try 32%. The annuity factor at 32% is 2.3452.

$$NPV = 2{,}500 \times 2.3452 - 6{,}000 = 5{,}863 - 6{,}000 = -RM137$$

Now the NPV is negative, so the IRR lies between 30% and 32%. To interpolate, we assume NPV changes in a straight line between the two rates. The NPV has to fall by 89 out of the total drop of 89 + 137 = 226:

$$IRR \approx 30\% + 2\% \times \frac{89}{89 + 137} = 30\% + 2\% \times 0.394 \approx 30.8\%$$

So the pump's internal rate of return is about 31%, close to three times a 10% hurdle rate. That makes it an excellent project. Simple retrofits with short lives and large yearly savings often have high IRRs like this.

Curve of the pump's NPV against the discount rate. At 0 percent the NPV is RM6,500, at 8 percent it is about RM3,980, and it falls to zero at about 30.8 percent, which is the IRR. Above that rate the NPV is negative.

The same pump at every discount rate: NPV falls as the rate rises and crosses zero at the IRR, about 30.8%.

Try it

Loading the interactive
Worth knowing: what if both trial rates give NPVs with the same sign? Then we haven't bracketed the answer yet. So we widen the gap until one NPV is positive and one is negative, and then interpolate between them.

Four IRR traps

IRR is popular because a single percentage seems easy to compare across projects. But it can mislead in four ways:

  • Projects of different size. A RM5,000 gadget with a 40% IRR looks better than a RM400,000 chiller upgrade at 18%. But the chiller might add RM120,000 of NPV against the gadget's RM4,000, and a percentage doesn't show the size of the gain.
  • Projects of different life. A 2-year quick win and a 15-year deep retrofit can have the same IRR and deliver very different total value.
  • A high IRR with a smaller NPV. When IRR and NPV rank two projects differently, follow NPV. NPV measures money, while IRR measures a rate.
  • Unusual cash flows. Say a project has a large cash outflow partway through its life, such as a mid-life overhaul. Then the IRR equation can have more than one answer, two different rates that both make NPV zero. Neither is meaningful, so in that case don't use IRR, and rank by NPV.

So here's a good rule of thumb. Use NPV to make the decision, and use IRR to tell the board how hard the money is working. When the two disagree, NPV wins.

Which measure, for whom

So far we've met simple payback, ROI, NPV and IRR. Three related measures also turn up in proposals and grant forms:

  • Discounted payback is payback counted with discounted savings. For our pump, the discounted savings pass RM6,000 during Year 3, at about 2.8 years. The simple payback is 2.4 years, and discounted payback is always the longer of the two.
  • Savings-to-investment ratio (SIR) is the present value of the energy savings divided by the investment. Above 1 means the project returns more than it costs.
  • Benefit-cost ratio (BCR) is the present value of all benefits divided by the present value of all costs. It can include non-energy benefits such as lower maintenance, if we can support a number for each.

These measures don't compete with each other. Each answers a slightly different question for a different reader:

Metric

Best used for

Audience

Simple payback

Fast screening, first-pass gut check

Anyone, including non-financial managers

Discounted payback

Risk and liquidity view (how long cash is tied up)

Cautious owners, lenders

NPV

The best all-round measure, ranking projects, absolute value in RM

Owners, investment committees

IRR

Comparing return against a hurdle rate

CFOs, boards, financiers

SIR

Efficiency of capital per ringgit of energy saved

ESCOs, government grant schemes

BCR

Projects with real non-energy benefits

Owners weighing comfort, health, carbon

Worth knowing: ESCOs are energy service companies, which fund or guarantee energy savings under contract. CFO means chief financial officer.

We can read the table as an order of work:

  1. First we screen a long list of ideas with simple payback to remove the clear non-starters.
  2. Then we rank the rest by NPV, because NPV accounts for both timing and size.
  3. And we present the chosen project as an IRR to the finance director. That's the figure finance teams compare against a hurdle rate.

SIR goes on a grant form, and BCR is for when part of the value isn't on the electricity bill.

Worth knowing: the optional side reading SIR, BCR and Discounted Payback works through these three in full. You don't need it for the rest of the course.

Every one of these numbers is only as good as the yearly saving we feed into it. If the project reduces maximum demand, the Cobler maximum-demand calculator helps size the yearly RM saving that becomes our \(CF_t\).

The guide kW vs kWh explained covers the difference between power and energy that sets those savings.

And measured before-and-after data turns an estimated cash flow into one we can check. That data comes from meters like those in how electricity meters work, as the Part 4 M&V (measurement and verification) plan sets out.

The cost of owning

So far we've used discounting on savings, a stream of ringgit that comes back to us. But the same tool works on a stream of costs too.

So what if we added up every cost of owning a machine over its life, in today's money? That's the price, the energy, the maintenance and the replacement parts.

We'll do that, and compare a cheap motor with an efficient one, in Life-Cycle Costing: The Cheapest to Buy Is Often the Costliest to Own.

Check your understanding

1. At an 8% nominal discount rate, what is RM10,000 received in two years' time worth today?

Show the answer

The discount factor for 2 years at 8% is 1 ÷ (1.08)², which is 1 ÷ 1.1664 = 0.8573. So the present value is RM10,000 × 0.8573 = RM8,573.

2. Project A has an IRR of 40% and an NPV of RM4,000. Project B has an IRR of 18% and an NPV of RM120,000. You can fund only one. Which should you choose, and why?

Show the answer

Project B. IRR is a percentage and doesn't show the size of the gain. NPV measures the value added in today's ringgit, and B adds far more. When NPV and IRR disagree, follow NPV.

Recap

  • A ringgit in the future is worth less than a ringgit today.
  • The discount factor \(1/(1+r)^t\) turns a future amount into its present value. This course uses 8% a year, nominal, with nominal cash flows.
  • NPV adds up the present values of all the savings and subtracts the Capex. A positive NPV means the project adds value.
  • IRR is the discount rate at which NPV is zero, found by bracketing and interpolating. Accept when it beats the hurdle rate.
  • When the two disagree, follow NPV.
  • Screen with payback, rank with NPV and present with IRR.

This is Part 6 of 10 in Cobler's Energy Management: The Economics of Saving Energy course. Previous: Simple Payback and ROI: The Quick Screening Tools. Next: Life-Cycle Costing: The Cheapest to Buy Is Often the Costliest to Own.

Cobler builds CobiNeural, a platform that shows a facility team its building's energy, water and indoor air data as live numbers across the whole site. To see how your building performs, talk to us.

FAQ

Frequently asked questions

Ask us about this topic

Something in this article you want to dig into — or a situation in your own building it doesn't quite cover? Send us your question. We don't run public comments; the team replies to you directly by email.

0/500

Keep reading