Ace My Homework - Official Online Homework Help
Login
Ace My Homework - Official Online Homework Help

NPV Calculator with IRR, Payback and PV Table

Use this NPV calculator to find the net present value of a project from a discount rate, an initial investment and its cash flows, with IRR, payback and a PV table.

This NPV calculator finds the net present value of a project from a discount rate, an initial investment and a list of cash flows by period. Along with NPV it returns the IRR, the profitability index, simple and discounted payback, and a present value table you can copy into your homework.

The guide below covers how to calculate NPV with the formula, three problems worked by hand, how to read the results, and the Excel NPV() mistake that gives a wrong answer on a surprising number of finance assignments.

How to Find NPV with the Calculator

  1. Enter the discount rate. Use the required return or cost of capital from your problem, as a percentage. For a company project this is often the firm's WACC.
  2. Enter the initial investment. Type it as a positive number; the NPV calculator treats it as a cash outflow at time 0.
  3. Add the cash flows by period. One row per period, up to 60 rows. The rate must match the period length, so use a monthly rate with monthly cash flows. Enter a negative number for any later outflow, such as a refit in year 3.
  4. Check the timing toggle. The default, t=1, places the first cash flow at the end of period 1, which is the standard convention in finance textbooks. Switch to t=0 only when the first cash flow arrives at the same moment as the investment.
  5. Read the results. NPV, IRR, the profitability index and both payback periods update as you type, with an accept or reject note under them. An Excel panel shows the correct =NPV(r, CF1:CFn)+CF0 formula for your numbers next to the wrong result you get by putting the time 0 flow inside NPV().

The NPV Formula and Its Variables

Net present value is the present value of every future cash flow minus the cost of the investment today:

NPV = −C0 + CF1/(1 + r)^1 + CF2/(1 + r)^2 + … + CFn/(1 + r)^n

  • C0 is the initial investment at time 0, which isn't discounted.
  • CFt is the net cash flow at the end of period t.
  • r is the discount rate per period, written as a decimal.
  • n is the number of periods.
  • 1/(1 + r)^t is the discount factor, the value today of one dollar received at time t.

The decision rule in OpenStax Principles of Finance, section 16.2, is short: accept a project with a positive NPV, reject one with a negative NPV. A positive NPV is the amount by which the project is expected to raise the value of the firm.

The Other Results the Calculator Shows

MeasureHow It Is FoundAccept When
NPVPV of inflows minus the initial investmentNPV > 0
IRRThe discount rate that makes NPV exactly zeroIRR > required return
Profitability index (PI)PV of the later cash flows ÷ the net outlay at time 0PI > 1
Simple paybackYears until undiscounted cash flows repay the costShorter than the firm's cutoff
Discounted paybackYears until discounted cash flows repay the costShorter than the firm's cutoff

Both payback figures are interpolated within the year that crosses zero, which assumes the cash arrives evenly through that period.

NPV, IRR and PI agree on accept or reject for a normal project, one outflow followed by inflows. They can disagree when you rank two projects against each other, and then NPV is the measure to follow. That is why this net present value calculator puts NPV first and the other measures beneath it.

Three NPV Problems Worked by Hand

Each example shows how to find NPV one step at a time, so you can match your own working line by line against the NPV calculator.

Example 1: A Four-Year Project at 8%

A machine costs 10,000 and is expected to bring in 3,000, 4,000, 5,000 and 2,000 over the next four years. The required return is 8%.

YearCash FlowDiscount Factor at 8%Present ValueCumulative PV
0−10,0001.0000−10,000.00−10,000.00
13,0000.92592,777.78−7,222.22
24,0000.85733,429.36−3,792.87
35,0000.79383,969.16176.29
42,0000.73501,470.061,646.35
  • NPV = 11,646.35 − 10,000 = 1,646.35, so accept.
  • IRR = 15.32%, well above the 8% required return.
  • Profitability index = 11,646.35 ÷ 10,000 = 1.16.
  • Simple payback: 7,000 is recovered after two years, leaving 3,000 of the 5,000 in year 3, so 2 + 3,000/5,000 = 2.6 years.
  • Discounted payback: 2 + 3,792.87/3,969.16 = 2.96 years.

Enter a 10,000 investment, the four cash flows and an 8% rate, and the NPV calculator returns the same five figures.

Example 2: Checking a Textbook Answer

OpenStax's Sam's Sporting Goods example has a 16,000 embroidery machine returning 2,000 in year 1, 4,000 in year 2 and 5,000 in each of years 3 through 6, with a 9% cost of funds. The present values add up to 18,835.62, so NPV is 2,835.62. The book prints 2,835.63 because it rounds each present value to the cent before adding; the calculator carries full precision. The PI is 1.18, the simple payback is exactly 4 years, and the discounted payback is 5 + 145.72/2,981.34 = 5.05 years, the same figures the textbook reports.

Example 3: Cash Flows at the Start of Each Period

Take Example 1 again, but assume each inflow arrives at the beginning of its year, so the 3,000 comes in at time 0 alongside the cost. Every present value moves one period earlier and grows by a factor of 1.08. NPV rises to 2,578.06. Switching the timing toggle to t=0 gives this result, because the first listed cash flow is then left undiscounted.

The Excel NPV() Pitfall

Excel's NPV function is not the textbook NPV. Microsoft's documentation states that the NPV investment "begins one period before the date of the value1 cash flow," which means Excel discounts the first number in your list by one full period. If you put the initial investment inside the function, Excel treats it as if it were paid a year from now.

With Example 1 in cells, the common mistake and the fix look like this:

FormulaResultCorrect?
=NPV(8%, −10000, 3000, 4000, 5000, 2000)1,524.40No. Every flow is discounted one extra year.
=NPV(8%, 3000, 4000, 5000, 2000) − 100001,646.35Yes. The year 0 cost stays outside.

The wrong answer is always the true NPV divided by (1 + r): 1,646.35 ÷ 1.08 = 1,524.40. Microsoft's own example follows the same pattern, adding a 40,000 cost outside the function to get 1,922.06; put the 40,000 inside NPV() and the answer drops to 1,779.69. If your spreadsheet and this NPV calculator disagree by exactly that factor, the initial investment is inside the brackets. Two related traps: Excel's NPV needs equally spaced periods, and the XNPV function is the one to use when cash flows land on irregular dates. More spreadsheet questions like this one are covered under Excel homework help.

Interpreting NPV, IRR and Payback

An NPV of 1,646.35 doesn't mean the project earns 1,646.35 in profit. It means that after paying back the 10,000 and earning the full 8% required return on it, the project still leaves 1,646.35 in today's money for the owners. An NPV of zero is a project that earns exactly the required return, nothing more.

  • NPV falls as the rate rises. In the OpenStax example, NPV is 2,836 at 9%, about 42 at 14%, and negative at 21%. The rate where it crosses zero is the IRR.
  • The discount rate drives everything. If you aren't sure what rate to use, the WACC calculator finds a firm's cost of capital from its equity, debt and tax rate.
  • Payback ignores later cash flows. A project with a fast payback and nothing afterward can have a lower NPV than a slower one, so treat payback as a liquidity check.
  • Watch for more than one IRR. When the cash flows change sign more than once, a project can have two IRRs or none. A project costing 100 that returns 230 in year 1 and then needs 132 in year 2 has an NPV of zero at both 10% and 20%. The calculator lists every IRR it finds and adds a warning, and NPV at your required rate still gives one clear answer.

Common Mistakes When You Calculate Net Present Value

  • Discounting the initial investment. A cost paid today has a discount factor of 1.
  • Using an annual rate with monthly cash flows. Convert the rate to a monthly one, or the result is far too low.
  • Typing 8 instead of 0.08 in a hand formula. The calculator takes percentages, but Excel and hand work need decimals or the % sign.
  • Leaving out salvage value or working capital. Money recovered at the end belongs in the last year's cash flow.
  • Counting sunk costs. A market study already paid for doesn't change with the decision, so it stays out.
  • Ranking by IRR. For mutually exclusive projects of different sizes, the higher IRR can belong to the smaller NPV.

Capital budgeting cases often combine all of this with depreciation tax shields and changes in working capital. If one has you stuck, you can get finance homework help and work through the cash flow build-up with a tutor, or use accounting homework help when the problem starts from income statement figures.

Last updated . Cash flows default to the end of each period (t=1), the textbook convention; Excel's NPV() also starts at t=1, so add the time 0 investment outside the function.

Frequently Asked Questions

What Does a Positive NPV Mean?

A positive NPV means the project's cash flows, discounted at the required return, are worth more than the cost today. The project earns more than the investors' required rate, and the excess is the amount it should add to the value of the firm. A negative NPV means the project falls short of that rate, even if its undiscounted cash flows add up to more than its cost.

Why Does Excel's NPV Function Give a Different Answer?

Excel assumes the first value in the NPV function arrives one period from now. If you include the time 0 investment inside the brackets, Excel discounts it by one year along with everything else, so the result equals the true NPV divided by one plus the rate. Keep the initial investment outside the function and subtract it, as Microsoft's own example does.

What Is the Difference Between NPV and IRR?

NPV is an amount of money: how much value the project adds at a given discount rate. IRR is a rate: the discount rate at which NPV equals zero. For a single conventional project they agree on accept or reject. When you compare projects of different size or timing they can rank them differently, and finance textbooks recommend following NPV because it measures value created.

What Discount Rate Should I Use for NPV?

Use the required return that matches the risk of the cash flows. For a company project of average risk, that is usually the firm's weighted average cost of capital. A riskier project needs a higher rate. In homework problems the rate is normally given as the cost of capital, the required return or the hurdle rate, and all three mean the rate to discount at.

How Do You Find NPV on a BA II Plus?

Press CF, enter the initial investment as a negative number for CF0 and press ENTER. Arrow down to C01, enter the first cash flow, press ENTER, and set F01 to the number of times it repeats. Continue for each cash flow. Then press NPV, enter the rate as a whole number for I, press ENTER, arrow down and press CPT to compute the result.

Can NPV and Payback Disagree?

Yes. Payback only measures how fast the cost comes back and ignores every cash flow after that point, while NPV counts them all at their present value. A project that repays its cost in two years and then stops can have a lower NPV than one that takes four years but keeps paying for ten. When the two methods conflict, NPV is the better guide to value.

What Is a Good Profitability Index?

Any profitability index above 1 means the present value of the cash flows exceeds the investment, which is the same as a positive NPV. A PI of 1.16 means each dollar invested returns 1.16 dollars in present value. The index is most useful when capital is limited and you must choose among several positive NPV projects, because it shows value created per dollar spent.