Skip to content
My Stock Secret
My Stock Secret

Discover How to Make Money in the Stock Market. Don't be Left Out in the Rain!

  • Home
  • Getting Started
  • Terminology
  • Investment Advice
  • My Stock Performance
  • About My Stock Secret
  • Definitions
My Stock Secret

Discover How to Make Money in the Stock Market. Don't be Left Out in the Rain!

How to Build a Discounted Cash Flow (DCF) Model in Excel or Google Sheets

Chris Carreck, March 12, 2025January 30, 2025

Learning How to Build a Discounted Cash Flow (DCF) Model in Excel or Google Sheets is a Great Way to Check your Stock Thesis. Investing is all about finding great companies at the right price. But how do you know if a stock is undervalued or overvalued? One of the best ways to determine a company’s intrinsic value is by using a Discounted Cash Flow (DCF) model.

A DCF model helps investors estimate the true worth of a business by forecasting future cash flows and discounting them to their present value. This method is widely used by value investors, including Warren Buffett, to make informed investment decisions.

In this guide, we’ll walk through how to set up a DCF model in Excel or Google Sheets, covering:
✅ What is a DCF Model?
✅ How to Gather the Right Data
✅ Step-by-Step Guide to Building a DCF Model
✅ Common Mistakes to Avoid
✅ Why a DCF Model is Important for Investors

By the end of this article, you’ll have a fully functional DCF model that can help you evaluate stocks before investing.


What is a Discounted Cash Flow (DCF) Model?

A Discounted Cash Flow (DCF) model estimates a company’s intrinsic value based on expected future cash flows. It helps answer a crucial investing question:

💡 “If I buy this stock today, how much is it actually worth?”

A company’s value is derived from the present value of all future cash flows it will generate, adjusted for the time value of money.

DCF Formula:

 

Intrinsic Value=∑CFt(1+r)t+TV(1+r)nIntrinsic \ Value = \sum \frac{CF_t}{(1+r)^t} + \frac{TV}{(1+r)^n}

Intrinsic Value=∑(1+r)tCFt​​+(1+r)nTV​

Where:

  • CFₜ = Cash flow in year t
  • r = Discount rate (usually the company’s Weighted Average Cost of Capital, or WACC)
  • t = Number of years in the projection
  • TV = Terminal value (value beyond the forecasted years)

Step 1: Gather Financial Data

Before building a DCF model, you need key financial data from a company’s income statement, balance sheet, and cash flow statement. You can find these on:
📌 Yahoo Finance
📌 SEC Filings (10-K Reports)
📌 Macrotrends.net

For this example, let’s analyze Apple (AAPL). We need:
✔ Free Cash Flow (FCF) from past 5 years
✔ Revenue Growth Rate
✔ Discount Rate (WACC)
✔ Terminal Growth Rate


Step 2: Forecast Future Free Cash Flows (FCF)

Free Cash Flow (FCF) = Operating Cash Flow – Capital Expenditures

Let’s say Apple’s FCF for the last 5 years looks like this:

Year Free Cash Flow ($B)
2019 58.9
2020 73.4
2021 92.9
2022 111.4
2023 110.5

Project Future Cash Flows Using Growth Rate

If we assume a growth rate of 8% per year, we can forecast the next 5 years:

📌 Excel Formula:

scss
=B2*(1+GrowthRate)

(Where B2 is the previous year’s FCF, and GrowthRate is 8% or 0.08.)


Step 3: Calculate the Discount Rate (WACC)

The discount rate represents the risk of investing in the company. It is usually calculated using Weighted Average Cost of Capital (WACC):

 

WACC=(EV×Re)+(DV×Rd×(1−TaxRate))WACC = \left( \frac{E}{V} \times Re \right) + \left( \frac{D}{V} \times Rd \times (1 – TaxRate) \right)

WACC=(VE​×Re)+(VD​×Rd×(1−TaxRate))

Where:

  • E = Market value of equity (Market Cap)
  • D = Market value of debt
  • V = E + D (Total value of company)
  • Re = Cost of equity
  • Rd = Cost of debt

For simplicity, let’s assume Apple’s WACC is 9%.


Step 4: Calculate Present Value of Future Cash Flows

Each year’s cash flow must be discounted to present value using:

 

PV=FCFt(1+WACC)tPV = \frac{FCF_t}{(1+WACC)^t}

PV=(1+WACC)tFCFt​​

📌 Excel Formula (for Year 1):

scss
= B2 / (1 + DiscountRate) ^ Year

(Where B2 is the forecasted FCF, DiscountRate is 9% or 0.09, and Year is 1, 2, 3…)

Repeat this formula for each year up to Year 5.


Step 5: Calculate the Terminal Value (TV)

Since businesses continue beyond 5 years, we estimate the Terminal Value (TV) using the Gordon Growth Model:

 

TV=FCF6(r−g)TV = \frac{FCF_6}{(r – g)}

TV=(r−g)FCF6​​

Where:

  • FCF₆ = Year 6 cash flow
  • r = Discount rate (9%)
  • g = Long-term growth rate (2.5%)

📌 Excel Formula:

scss
= (B7 * (1 + GrowthRate)) / (DiscountRate - GrowthRate)

(Where B7 is Year 5 FCF, GrowthRate is 2.5% or 0.025, and DiscountRate is 9% or 0.09.)


Step 6: Sum Everything to Get Intrinsic Value

Now, add up:
✅ Present Value of Future Cash Flows
✅ Present Value of Terminal Value

📌 Excel Formula:

scss
= SUM(D2:D6) + (D7 / (1 + DiscountRate) ^ 5)

(Where D2:D6 contains discounted FCFs and D7 is the terminal value.)

Finally, divide by shares outstanding to get intrinsic value per share and compare it to the stock price.

📌 Intrinsic Value Per Share:

mathematica
= Total Present Value / Shares Outstanding

Common Mistakes to Avoid with Your Discounted Cash Flow Model

⚠ Overestimating Growth Rates – Be realistic with forecasts.
⚠ Using Incorrect WACC – Check for company-specific risk factors.
⚠ Not Updating Data – Market conditions change; update models frequently.


Why a Discounted Cash Flow (DCF) Model is Important for Investors

📌 Helps You Avoid Overpaying for Stocks
📌 Prevents Emotional Investing (FOMO Buying)
📌 Allows for a Data-Driven Approach to Value Investing

A well-structured DCF model ensures you’re buying stocks based on intrinsic value, not hype.

Discounted Cash Flow (DCF) Model: Free Resources

For investors seeking reputable resources to build or download Discounted Cash Flow (DCF) models, several esteemed financial education platforms offer free templates and comprehensive guides:

  1. Corporate Finance Institute (CFI): CFI provides a free Discounted Cash Flow (DCF) Model template that serves as a solid foundation for building your own model with various assumptions. The template is available for download upon submitting your name and email.
    corporatefinanceinstitute.com
  2. Wall Street Prep: This platform offers a detailed step-by-step guide on constructing a Discounted Cash Flow (DCF) Model in Excel, complete with explanations of each component and the necessary calculations. A sample DCF model template is also available for download.
    wallstreetprep.com
  3. Wisesheets: Wisesheets provides a free Discounted Cash Flow (DCF) template in Excel designed to help investors determine the intrinsic value of a stock. The guide includes instructions on how to use the template effectively for informed investment decisions.
    blog.wisesheets.io
  4. Financial Edge Training: This resource offers a free Discounted Cash Flow (DCF) Model template that allows users to forecast future cash flows and determine their present value by discounting. The template is user-friendly and customizable to fit various financial scenarios.
    fe.training

These resources not only provide downloadable templates but also offer in-depth tutorials on creating and utilizing DCF models, catering to both novice and experienced investors

Conclusion: Building a Discounted Cash Flow (DCF) Model is Important

A DCF model is a powerful way to determine a company’s fair value. With Excel or Google Sheets, you can build a DCF calculator to analyze stocks like Apple, Microsoft, and Amazon before investing.

💡 Want to practice? Pick a stock you’re interested in and build your own DCF model today!

Happy Investing@

General Getting Started AAPLAMZNMSFT

Post navigation

Previous post
Next post

Related Posts

How to Identify When an Investment Is Too Good to Be True

October 29, 2024October 14, 2024

Understanding How to Identify When an Investment Is Too Good to Be True is a Critical Skill for Investors In the world of investing, opportunities often come disguised as golden chances to make a fortune overnight. The internet, social media, and email newsletters are filled with investment tips that promise…

Read More

PE Ratio, PEG Ratio, and Price-to-Book: Which Valuation Metric Should You Trust?

January 11, 2025January 6, 2025

Investing can sometimes feel like navigating a maze of numbers and metrics, all promising to reveal the “true value” of a stock. Among these Valuation Metrics, the PE Ratio, PEG Ratio, and Price-to-Book Ratio are some of the most commonly used tools by investors. But which one should you trust?…

Read More

Black Swan Events: Preparing Your Portfolio for the Unthinkable

April 16, 2025February 8, 2025

What Are Black Swan Events and Why Should Investors Care? Imagine waking up to news that the stock market has plunged 30% overnight. Major banks are failing, companies are shutting down, and investors are panicking. This scenario may sound extreme, but history shows that unpredictable, high-impact financial events—known as Black…

Read More

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Super Investor #31: Terry Smith – The ‘UK’s Warren Buffett’ on Quality Investing
  • Dollar-Cost Averaging: A Stress-Free Way to Grow Your Portfolio
  • How to Use Volume Analysis to Make Better Investment Decisions
  • Moving Averages: A Simple Guide for Stock Investors
  • How Adobe’s Subscription Model Led to Massive Stock Growth

Recent Comments

  • Jesse T. on Getting Started with Buy and Hold Investing

Archives

Categories

  • Definitions
  • General
  • Getting Started
  • Investment Advice
  • My Stock Performance
  • Stock Market
  • Super Investors
  • Terminology

Accounts

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 My Stock Secret About My Stock Secret