Get startedGet started for free

Comparing project NPV with IRR

Companies use their WACC as the discount rate when calculating the net present value of potential projects.

In the same way that you discounted values by inflation in the previous chapter to account for costs over time, companies adjust the cash flows of potential projects by their cost of financing (the WACC) to account for their investor's required rate of return based on market conditions.

Now that you calculated the WACC, you can determine the net present value (NPV) of each project's cash flows. The cash flows for projects 1 and 2 are available as cf_project1 and cf_project2.

This exercise is part of the course

Introduction to Financial Concepts in Python

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

import numpy as np

# Set your weighted average cost of capital equal to 12.9%
wacc = ____

# Calculate the net present value for Project 1
npv_project1 = ____
print("Project 1 NPV: " + str(round(npv_project1, 2)))

# Calculate the net present value for Project 2
npv_project2 = ____
print("Project 2 NPV: " + str(round(npv_project2, 2)))
Edit and Run Code