Excel

How to Use the NPV Function in Excel (Net Present Value Explained with Examples)

When evaluating an investment or project, it’s important to understand its profitability. One of the most common methods in finance is Net Present Value (NPV), which measures today’s value of future cash flows after considering the time value of money.

Excel’s NPV function makes this calculation easy, allowing you to analyze investments, projects, and loans with just a formula.


🔍 What is the NPV Function?

The NPV function in Excel calculates the net present value of an investment based on a discount rate and a series of future cash flows.

Syntax:

=NPV(rate, value1, [value2], ...)
  • rate → The discount rate (interest rate or required return).

  • value1, value2, … → Cash inflows/outflows for each period.

💡 Important: The NPV function assumes cash flows occur at the end of each period. For an initial investment at the beginning, you must adjust manually.


✅ Example 1: Simple Investment

Suppose you invest $10,000 today in a project that generates $4,000 per year for 3 years. The discount rate is 8%.

Step 1: Use NPV for future cash flows only.

=NPV(0.08, 4000, 4000, 4000)

Result: $9,936

Step 2: Subtract the initial investment:

=NPV(0.08, 4000, 4000, 4000) - 10000

Result: -$64

✔️ Explanation: The NPV is slightly negative, meaning the project does not quite meet the 8% return requirement.


✅ Example 2: Uneven Cash Flows

Project requires $20,000 today and produces the following inflows:

  • Year 1: $5,000

  • Year 2: $7,000

  • Year 3: $10,000

  • Year 4: $12,000
    Discount rate: 10%.

Formula:

=NPV(0.10, 5000, 7000, 10000, 12000) - 20000

Result: $4,620

✔️ Explanation: Since NPV is positive, the project is profitable at a 10% discount rate.


✅ Example 3: Comparing Projects

You want to choose between two projects:

  • Project A: $-15,000 initial cost, returns $6,000 annually for 4 years.

  • Project B: $-15,000 initial cost, returns $4,000 annually for 6 years.
    Discount rate: 9%.

  • Project A:

=NPV(0.09, 6000,6000,6000,6000) - 15000

Result: $2,039

  • Project B:

=NPV(0.09, 4000,4000,4000,4000,4000,4000) - 15000

Result: $3,007

✔️ Conclusion: Project B has the higher NPV, so it’s the better choice.


🎯 Practical Uses of NPV

  1. Investment Decisions → Decide whether a project is profitable.

  2. Loan Analysis → Understand the true cost of borrowing.

  3. Capital Budgeting → Compare multiple projects with different cash flows.

  4. Business Valuation → Estimate today’s value of future income.


📝 Conclusion

The NPV function is one of Excel’s most valuable financial tools. By discounting future cash flows, it helps you make smarter investment and business decisions.

👉 Remember:

  • Positive NPV → Profitable investment.

  • Negative NPV → Likely not worth it.

Mastering NPV will give you an edge in financial analysis, investment planning, and project evaluation.