1. Home
  2. Explore
  3. Business
  4. Discounted Cash Flow Model Steps

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Discounted Cash Flow Model Steps

Full Discounted Cash Flow (DCF) Model on Excel – Five-Step Process

This guide walks through building a complete DCF model in Excel to estimate a company’s intrinsic value. The process is broken into five steps:

  1. Forecast the company’s future free cash flows

  2. Calculate the Weighted Average Cost of Capital (WACC) – the discount rate

  3. Calculate the terminal value – value beyond the forecasted period

  4. Discount future cash flows and terminal value to present value

  5. Calculate the implied share price and build a sensitivity table


Step 1: Forecasting Free Cash Flows

What is Free Cash Flow?

Free cash flow (FCF) is the cash flow available to both debt and equity holders after a company has paid for everything it needs to continue operating – including operating expenses, capital expenditures, and changes in working capital.

The general formula for unlevered free cash flow is:

UFCF=EBIT×(1−tax rate)+Depreciation & Amortization−Capital Expenditures−Change in Non-Cash Working Capital\text{UFCF} = \text{EBIT} \times (1 - \text{tax rate}) + \text{Depreciation \& Amortization} - \text{Capital Expenditures} - \text{Change in Non-Cash Working Capital}UFCF=EBIT×(1−tax rate)+Depreciation & Amortization−Capital Expenditures−Change in Non-Cash Working Capital

(In the spreadsheet, EBIT – taxes is calculated first, then D&A is added back, then CapEx and the change in working capital are subtracted.)

Building the Free Cash Flow Forecast in Excel

The model uses an income statement, balance sheet, and cash flow statement from the company’s historical data. The forecast begins on the Free Cash Flow tab.

Revenue projection – The simplest approach multiplies the previous year’s revenue by (1+growth rate)(1 + \text{growth rate})(1+growth rate), where the growth rate comes from assumptions (often based on historical trends or analyst estimates). A more sophisticated method would model each business segment separately (e.g., units sold × price per unit).

COGS and SG&A – Typically projected as a percentage of revenue. For example:

COGS=Revenue×COGS%\text{COGS} = \text{Revenue} \times \text{COGS\%}COGS=Revenue×COGS%
  • COGS and SG&A are often taken as the average of recent historical years.

Gross profit = Revenue – COGS
EBITDA = Gross profit – Total operating expenses (SG&A + other)

Depreciation & Amortization (D&A) and Capital Expenditures (CapEx)

These are calculated using a Fixed Assets schedule.

  • Beginning PPE = previous year’s ending PPE

  • D&A = D&A% × Beginning PPE

  • CapEx = CapEx% × Beginning PPE

  • Ending PPE = Beginning PPE – D&A + CapEx

The percentages (D&A% and CapEx%) are based on historical averages or management guidance.

Non-Cash Working Capital

Non-cash working capital is the capital a company uses in its day-to-day operations. It is calculated as:

Non-Cash Working Capital=(Current Assets−Cash)−Current Liabilities\text{Non-Cash Working Capital} = (\text{Current Assets} - \text{Cash}) - \text{Current Liabilities}Non-Cash Working Capital=(Current Assets−Cash)−Current Liabilities

An increase in non-cash working capital means the company is using cash (e.g., building inventory), so it subtracts from free cash flow. A decrease adds cash.

Forecasting Working Capital Items

To project working capital, analysts often use operating ratios:

  • Days Sales Outstanding (DSO) – Number of days to collect payment on a sale.

    DSO=Accounts ReceivableRevenue×360\text{DSO} = \frac{\text{Accounts Receivable}}{\text{Revenue}} \times 360DSO=RevenueAccounts Receivable​×360

    Used to forecast accounts receivable:

    AR=DSO×Revenue360\text{AR} = \frac{\text{DSO} \times \text{Revenue}}{360}AR=360DSO×Revenue​
  • Days Inventory Outstanding (DIO) – How many days inventory stays in the warehouse before being sold.

    DIO=InventoryCOGS×360\text{DIO} = \frac{\text{Inventory}}{\text{COGS}} \times 360DIO=COGSInventory​×360
  • Days Payable Outstanding (DPO) – How many days the company takes to pay its bills.

    DPO=Accounts PayableCOGS×360\text{DPO} = \frac{\text{Accounts Payable}}{\text{COGS}} \times 360DPO=COGSAccounts Payable​×360

    A higher DPO is generally better (delayed cash outflow).

These ratios are held constant (or averaged) over the forecast period.

Other current assets/liabilities (e.g., accrued salaries, other current assets) are often projected as a percentage of revenue, based on historical averages.

Once all components are forecast, current assets and current liabilities are summed, and net working capital = Current Assets – Current Liabilities.

Change in net working capital = Current year NWC – Previous year NWC.

Final Free Cash Flow

The unlevered free cash flow for each forecast year is now calculated by combining all the pieces:

UFCF=(EBIT−Taxes)+D&A−CapEx−ΔNWC\text{UFCF} = (\text{EBIT} - \text{Taxes}) + \text{D\&A} - \text{CapEx} - \Delta \text{NWC}UFCF=(EBIT−Taxes)+D&A−CapEx−ΔNWC

(EBIT – Taxes is often called NOPAT – Net Operating Profit After Tax.)


Step 2: Calculating the WACC (Weighted Average Cost of Capital)

WACC is the average rate of return a company must pay to its capital providers (debt and equity). It is used as the discount rate to bring future cash flows to present value.

The formula for WACC is:

WACC=EE+D×re+DE+D×rd×(1−t)\text{WACC} = \frac{E}{E+D} \times r_e + \frac{D}{E+D} \times r_d \times (1 - t)WACC=E+DE​×re​+E+DD​×rd​×(1−t)

Where:

  • EEE = market value of equity

  • DDD = market value of debt

  • rer_ere​ = cost of equity

  • rdr_drd​ = cost of debt

  • ttt = corporate tax rate

Cost of Debt (rdr_drd​)

The cost of debt reflects the interest rate the company pays on its borrowings. It can be estimated as:

rd=Interest ExpenseTotal Debtr_d = \frac{\text{Interest Expense}}{\text{Total Debt}}rd​=Total DebtInterest Expense​

After-tax cost of debt = rd×(1−t)r_d \times (1 - t)rd​×(1−t), because interest is tax-deductible.

Cost of Equity (rer_ere​) – The Capital Asset Pricing Model (CAPM)

CAPM states:

re=rf+β×(rm−rf)r_e = r_f + \beta \times (r_m - r_f)re​=rf​+β×(rm​−rf​)

Where:

  • rfr_frf​ = risk-free rate (typically the 10-year U.S. Treasury yield)

  • β\betaβ = measure of the stock’s volatility relative to the market (market beta = 1)

  • rm−rfr_m - r_frm​−rf​ = market risk premium (expected return of the market minus the risk-free rate)

A higher beta means more risk and a higher cost of equity.

Calculating the Proportions

  • Equity proportion: EE+D\frac{E}{E+D}E+DE​

  • Debt proportion: DE+D\frac{D}{E+D}E+DD​

Bringing It Together

The after-tax cost of debt is multiplied by the debt proportion, then added to the cost of equity multiplied by the equity proportion:

WACC=(rd(1−t)×DE+D)+(re×EE+D)\text{WACC} = \left( r_d (1-t) \times \frac{D}{E+D} \right) + \left( r_e \times \frac{E}{E+D} \right)WACC=(rd​(1−t)×E+DD​)+(re​×E+DE​)

In the example file, WACC came out to 6.2%.


Step 3: Calculating Terminal Value

Because the company is expected to continue operating beyond the forecast period, we need to estimate its value at the end of the forecast horizon. This is the terminal value.

The Perpetuity Growth Method (also called the Gordon Growth Model) is used:

Terminal Value=UFCFfinal year×(1+g)WACC−g\text{Terminal Value} = \frac{\text{UFCF}_{\text{final year}} \times (1 + g)}{\text{WACC} - g}Terminal Value=WACC−gUFCFfinal year​×(1+g)​

Where:

  • UFCFfinal year\text{UFCF}_{\text{final year}}UFCFfinal year​ = free cash flow in the last forecast year

  • ggg = perpetual growth rate (typically based on long-term GDP growth or industry growth – often 2–3%)

A common assumption is ggg = the company’s expected long-term growth rate, which should be less than the economy’s growth rate.


Step 4: Discounting Cash Flows and Terminal Value to Present Value

All forecasted UFCFs and the terminal value are discounted back to the present using the WACC.

Present Value of a Future Cash Flow

For each year nnn:

PV=UFCFn(1+WACC)n\text{PV} = \frac{\text{UFCF}_n}{(1 + \text{WACC})^n}PV=(1+WACC)nUFCFn​​

Present Value of the Terminal Value

The terminal value occurs at the end of the forecast period (year 5 in the example), so it must be discounted back as well:

PV of Terminal Value=Terminal Value(1+WACC)5\text{PV of Terminal Value} = \frac{\text{Terminal Value}}{(1 + \text{WACC})^5}PV of Terminal Value=(1+WACC)5Terminal Value​

Enterprise Value

The enterprise value (EV) is the sum of the present value of all discounted cash flows plus the present value of the terminal value:

Enterprise Value=∑n=1NUFCFn(1+WACC)n+Terminal Value(1+WACC)N\text{Enterprise Value} = \sum_{n=1}^{N} \frac{\text{UFCF}_n}{(1 + \text{WACC})^n} + \frac{\text{Terminal Value}}{(1 + \text{WACC})^N}Enterprise Value=∑n=1N​(1+WACC)nUFCFn​​+(1+WACC)NTerminal Value​

Step 5: Calculating Implied Share Price and Sensitivity Table

From Enterprise Value to Equity Value

To get the value attributable to shareholders (“equity value”), we adjust enterprise value:

Equity Value=Enterprise Value+Cash−Debt−Minority Interest\text{Equity Value} = \text{Enterprise Value} + \text{Cash} - \text{Debt} - \text{Minority Interest}Equity Value=Enterprise Value+Cash−Debt−Minority Interest
  • Cash and cash equivalents are added because they are available to shareholders after debt is paid off.

  • Debt is subtracted because it belongs to creditors.

  • Minority interest (or non-controlling interest) is subtracted because it represents the portion of subsidiaries not owned by the parent company.

Implied Share Price

Implied Share Price=Equity ValueShares Outstanding\text{Implied Share Price} = \frac{\text{Equity Value}}{\text{Shares Outstanding}}Implied Share Price=Shares OutstandingEquity Value​

Where shares outstanding is the total number of fully diluted shares in the market.

Sensitivity Table

Because the DCF result depends heavily on assumptions (especially the WACC and perpetual growth rate ggg), a sensitivity table shows how the implied share price changes as these two variables vary.

  • Create a grid with different WACC values on one axis and different growth rates on the other.

  • Use Excel’s Data Table function (under Data > What-If Analysis > Data Table) to automatically fill the cells.

    • Row input cell: growth rate assumption

    • Column input cell: WACC assumption

The sensitivity table helps visualize the range of possible valuations and highlights how sensitive the price is to input changes.


Key Takeaways

  • DCF is a fundamental valuation method that values a company based on its ability to generate cash in the future.

  • Free cash flow is the cash available to all capital providers after necessary investments.

  • WACC represents the blended cost of financing; a higher WACC lowers present values.

  • Terminal value often makes up a large portion of total enterprise value – small changes in ggg can have a big impact.

  • The sensitivity table reveals the robustness (or fragility) of the valuation.

  • Always use realistic, defensible assumptions for growth rates, WACC, and operating ratios.

This structured approach – forecasting, discounting, and adjusting – produces a theoretically sound estimate of a company’s intrinsic value per share.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent