Valuation Models

Value Stocks With Dcf Model In Excel

Written by admin
Thu May 25 2017
See how MarketXLS helps you take advantage in the markets.
Download Option Templates →

In this article, we will learn about how to value stocks with DCF model in excel. The Discounted Cash Flow Model, or popularly known as the DCF Model, is one of the more widely used equity valuation models in the investment industry. The underlying principle behind the DCF valuation model is that a business is worth the present value of its expected future cash flows. So, we estimate the value of the business as the present value of its expected cash flows by discounting the future cash flows at a risk-adjusted discount rate. Once we arrive at the value of the business based on the DCF model, we can compare it with it’s current market value to determine whether it is undervalued or overvalued.

There are mainly three types of DCF models, namely, Dividend Discount Model (DDM), Free Cash Flow to Equity (FCFE), and Free Cash Flow to Firm (FCFF). In this article, we will build the DFC Model in Excel using Free Cash Flows to Firm (FCFF). The FCFF is the cash flow to all holders of capital in the firm, i.e., the equity holders and the bond holders.

Our Approach

Our approach will be to:

  1. Forecast the firm’s future free cash flows
  2. Discount the cash flows using the firm’s weighted average cost of capital as the discount rate
  3. Equity value will be the firm’s value minus debt value

Since it’s very difficult to forecast cash flows for too far in the future, we focus on forecasting annual cash flows for the near future (say 5 years). Beyond that we focus on forecasting the long-term growth rate. This will allow us to calculate a terminal value for the firm after, say, 5 years.

Inputs to the DCF Model

1. Forecasts of Future Cash Flows

Since we need a base, we start with initial cash flows which we can derive from the available financial statements.

The free cash flow can be calculated using the following formula:

Free Cash Flow = EBIT(1-t) + Depreciation & Amortization – Changes WC – Capital Expenditure

We then need to build the forecast of the cash flows. To do so, we forecast the near and long-term growth rates.

2. Discount Rate

To discount these cash flows, we use the weighted average cost of capital for the firm. This is because we are using the cash flows for the overall firm and not just equity. The WACC calculation requires many inputs and assumptions:

  • Capital Structure: Market value of debt and equity to arrive at the weights
  • Cost of Equity: Risk-free rate, Market risk premium and equity’s beta
  • Cost of Debt: Pre-tax cost of debt and Effective tax rate

While some of these are assumption, we can find some of these information from reliable sources. There are free sources of information as well as premium sources (such as MarketXLS) which make it easy to access and use the information in your excel models.

Once we have all this information, we calculate the WACC using the following formula:

WACC = we*ke +wd*kd(1-t)


  • we is the equity weight in the capital structure
  • ke is the cost of equity
  • wd is the debt weight in the capital structure
  • kd is the cost of debt

3. Terminal Value

In addition to the cash flows for the short-term projection period (say 5 years), we need to estimate a terminal value for the firm which will reflect the value of the firm for all the years beyond our short term period of 5 years.

The terminal value can be calculated as the present value of a growing perpetuity using a long-term stable growth rate (g).

Vt = CFt (1+g)/(k-g)


  • CF is the cash flow
  • k is the discount rate (WACC)
  • g is the long-term growth rate

4. Present Value of All Cash Flows

Now that we have all the required data, we discount the forecasted cash flows and the terminal value to the present using WACC as the discount rate.

Especially relevant here is that the resulting value is the intrinsic value of the entire firm.

5. Intrinsic Value of the Stock

Since the value we got is the value of the entire firm, we first calculate the value of equity by subtracting the debt value from the firm value we calculated above:

Equity Value = Firm Value – Debt value

Then we calculate the intrinsic value per share by dividing the equity value by the total outstanding shares.

Intrinsic Value per Share = Equity Value / Outstanding Shares

We can compare the intrinsic value with the stock’s market value to know whether the stock is undervalued or overvalued.

DCF Model in Excel

We have setup a simple to use DCF model in excel which you can download and use it for valuing any stock. You can also modify it as per your needs.

DCF Model in Excel

Here are a few important points about how to use the spreadsheet:

  1. The model assumes a 5-year short-term growth period and then calculates the terminal value at the end of 5 years. You can easily tweak that to suit your requirements.
  2. The cells marked in ‘Yellow’ are assumptions. Hence, the user should input this data.
  3. In addition, The cells marked in ‘Green’ contain the actual market and fundamentals data for the stock. We fetch this data using MarketXLS’s historical fundamentals functions.
  4. Finally, all the cells in ‘White’ are formulas for automatic calculations.
Interested in building, analyzing and managing Portfolios in Excel?
Download our Free Portfolio Template
Download Option Templates

Top 100 Gainers Today

Top 100 losers Today

Real gdpReal personal consumption expReal private investmentReal govt expenditureReal net exportsReal exportsReal importsFederal receiptsFederal outlaysFederal surplus or deficitFederal debtReal private investment nonresidentialReal private investment residentialReal potential gdpReal personal incomeReal personal consumption exp monthlyRpce durable goodsRpce nondurable goodsRpce servicesPersonal savings rateMonetary baseCurrency in circulationBank reservesMoney supply m1Money supply m2Sp500DjiaWilshire indexVixFinancial stress indexCorporate bond index aaCorporate bond index bbbFederal funds rateTreasury rate 3mTreasury rate 1yTreasury rate 5yTreasury rate 10yTips 5yTips 10yBond yield aaaBond yield baaMortgage rate 15yMortgage rate 30yUs dollar weighted averageUsdollar to euroUsdollar to poundYuan to usdollarCanadiandollar to usdollarYen to usdollarCpiCpi wo food energyCpi foodCpi energyChain price indexChain price index wo food energyGdp price deflatorPpi final demandPpi finished goodsPpi materialPpi crude goodsPpi final demand wo food energyPpi finished goods wo food energyHouse price indexHouse price index 20cityCrude oil priceGasoline priceNatural gas priceIndustrial productionCapacity utilisationInventoriesSales retail foodVehicle sales light weightManufacture orders durablesManufacture orders capital goodsLoansConsumer credit outstandingCorporate profitsHousing startsBuilding permitsResidential constructionEmployees nonfarmEmployees privateEmployees goods producingEmployees service providingEmployees governmentUnemployment rateInitial cliamsAverage weeks unemployedJob openingsHiresSeparationsQuitsLayoffs dischargesHours of productionHourly earningsReal outputPopulationLabor forceLabor force participation rate
Search for a stock

Top MarketXLS Rank stocks

CRA InternationalInc. logo

CRA InternationalInc.

Optionable: Yes
Market Cap: 646 M
Industry: Business Services
52 week range    
Booz Allen Hamilton Holding Corporation logo

Booz Allen Hamilton Holding Corporation

Optionable: Yes
Market Cap: 11,592 M
Industry: Business Services
52 week range    
Gaming and Leisure Properties Inc. logo

Gaming and Leisure Properties Inc.

Optionable: Yes
Market Cap: 11,555 M
Industry: REIT - Diversified
52 week range    
General Mills Inc. logo

General Mills Inc.

Optionable: Yes
Market Cap: 42,311 M
Industry: Packaged Foods
52 week range    
Sanderson Farms Inc. logo

Sanderson Farms Inc.

Optionable: Yes
Market Cap: 4,908 M
Industry: Packaged Foods
52 week range    
Ituran Location and Control Ltd. logo

Ituran Location and Control Ltd.

Optionable: Yes
Market Cap: 504 M
Industry: Communication Equipment
52 week range    
Republic Services Inc. logo

Republic Services Inc.

Optionable: Yes
Market Cap: 40,406 M
Industry: Waste Management
52 week range    
ConAgra Brands Inc. logo

ConAgra Brands Inc.

Optionable: Yes
Market Cap: 16,287 M
Industry: Packaged Foods
52 week range    
Penske Automotive Group Inc. logo

Penske Automotive Group Inc.

Optionable: Yes
Market Cap: 8,406 M
Industry: Auto & Truck Dealerships
52 week range    
Franklin Covey Company logo

Franklin Covey Company

Optionable: Yes
Market Cap: 557 M
Industry: Education & Training Services
52 week range    

More Features

Stand with Ukraine

As the situation in Ukraine escalates, many of us in MarketXLS are left with emotions too overwhelming to name. If you’d like to show your support, but aren’t sure how to, we want to help make it easier for you to act.

For any amount donated, we’ll extend your MarketXLS subscription for double of the donated amount. Please send proof of your payment to to avail the extention

From all of us at MarketXLS, thank you!