सामग्री पर जाएँ

लेसन 12 · Capital Budgeting

NPV, IRR and Ranking Projects

Apply NPV, IRR, payback and profitability index in Python, handle conflicting rankings, multiple IRRs, unequal project lives and limited budgets.

You now have cash flows. Next you need a decision rule. The theory is in the NPV rule and IRR and payback. This lesson focuses on applying them and on what goes wrong.

The measures

  • Net present value (NPV): the present value of all flows, including the initial cost. Positive means the project earns more than the required rate, based on your assumptions.
  • Internal rate of return (IRR): a discount rate at which NPV is zero.
  • Payback: how long until cumulative cash turns positive. Discounted payback uses present values.
  • Profitability index (PI): present value of future flows divided by the initial investment.

Evaluate the new roaster

The flows from the previous lesson are -215,000, then 58,750 for four years, then 88,750. We use a 10% rate.

Python NPV, IRR, payback and PI

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

NPV is positive, IRR is above 10% and discounted payback is clearly longer than simple payback. The payback calculation assumes cash arrives evenly within each year.

The NPV profile

An NPV profile shows NPV at many rates, so you can see how the decision depends on the rate.

Python NPV profile

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

When IRR misleads

Different sizes. A 40% IRR on 1,000 can create less value than 15% on 1,000,000. For mutually exclusive projects of similar risk and life, where you can pick only one, the higher NPV is usually the better guide.

Multiple IRRs. If flows change sign more than once, such as a cleanup cost at the end, there can be two or more IRRs, or none.

Python A project with two IRRs

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

NPV is zero at both 10% and 40%. In between it is positive. A single "IRR above the hurdle" rule fails here. Use the NPV profile.

Unequal lives

A cheap machine lasting 3 years and a costlier one lasting 5 cannot be compared by NPV alone if you must keep replacing them. The equivalent annual annuity (EAA) converts NPV into an equal yearly amount:

EAA = NPV × r / (1 - (1 + r)^-n)

Python Compare machines with different lives

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The compact machine has a lower NPV but a slightly higher yearly equivalent. EAA assumes you can repeat each choice on similar terms. If that is not realistic, model the actual replacement plan.

Limited budgets

With a fixed budget, ranking by PI is a useful first guess, but projects usually cannot be bought in fractions. Test every combination when the list is short.

Python Choose projects within a budget

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

This assumes the projects are independent. If one needs another or they compete for staff, add those constraints. For bigger problems of this kind, see Linear Programming.

What NPV means in plain words

An NPV of about 26,000 means: under these assumptions, the project returns the 10% required rate and, in today's money, about 26,000 more. It does not mean the company will receive 26,000 in profit, and it does not guarantee the result. If actual earnings are lower, the value changes.

IRR is not the return you will earn on reinvested cash

IRR solves for the rate at which present values balance. Comparing projects by IRR can quietly suggest that each one's cash can be reinvested at its own high rate, which may not be possible. A modified IRR makes the reinvestment and financing rates explicit. If you use it, state both rates.

Choosing a rule

Which measure answers which question?

NPV How much value?
IRR What break-even rate?
Payback How soon is cash back?
PI Value per unit invested
1 / 2

Beyond the numbers

Some effects are hard to model: staff safety, legal duties, reputation or the option to expand later. List them next to the numbers. If management accepts a project with negative NPV for such a reason, record the reason and the size of the value given up. That keeps the decision honest.

A decision can also be to wait. If waiting gives better information and little value is lost, delaying may be better than choosing today.

Common mistake: presenting NPV as certain. It is only as good as the cash flows and discount rate. Always pair it with sensitivity analysis.

Explaining the decision

Decision makers rarely need the formula. They need to know what was compared, what you assumed and what would change the answer. A good short explanation names the required rate and why it fits the project's risk, gives NPV first, adds IRR and payback as context, and states which assumption could turn NPV negative. For example: "At a 10% required rate, the roaster adds value in our base case. The result depends mostly on the extra yearly earnings, so we should confirm expected orders before buying." Avoid words such as "guaranteed" or "safe". Also say what you compared against. Here the alternative is to keep the old roaster, and if the old one is likely to break soon, that alternative has costs of its own that belong in the analysis.

Practice tasks

Try each task on paper or in the editor above before you read the answer. When your result differs, compare definitions first, then timing, then arithmetic.

Task 1. A project costs 1,000 today and pays 1,210 in two years. What is its IRR, and what is its NPV at 5%?

Answer: The IRR is the square root of 1.21, minus 1, which is 10%. At 5%, NPV is 1,210 / 1.1025 - 1,000, about 97.5.

Task 2. Using the two-IRR project above, would you accept it at a required return of 25%?

Answer: The table shows a positive NPV of about 14.40 at 25%, so under the NPV rule it adds value at that rate. The rule 'accept if the IRR is above the required rate' cannot answer, because there are two IRRs.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Two mutually exclusive projects of equal risk and life: A has IRR 30% and NPV 5,000; B has IRR 18% and NPV 40,000. Which is usually preferred?

    NPV measures value created; IRR ignores scale.
  2. 2. When can a project have more than one IRR?

    Extra sign changes can create extra solutions.
  3. 3. What does the equivalent annual annuity help compare?

    It expresses each NPV as a yearly amount.
  4. 4. What is a weakness of simple payback?

    Simple payback ignores discounting and everything after the break-even point.

Summary

  • NPV is the main value measure; IRR, payback and PI add context.
  • IRR can mislead on scale and with several sign changes.
  • Use equivalent annual annuities for repeatable choices with different lives.
  • Under a budget, test combinations.

Next: Sensitivity and Scenario Analysis

आपकी प्रगति इसी ब्राउज़र में सेव होती है। खाते की ज़रूरत नहीं है।