Discounted Cash Flow (DCF) Model Excel Template

Finance•6 min read•M. Ichsanul Fadhil•Created November 12, 2026

Find out what a company is worth from the cash it will generate, not from a guess. Build a one-sheet DCF in Excel: five years of free cash flow, a WACC discount, a terminal value, and a fair value per share you can compare with the market price.

A founder tells you her company is worth "ten times earnings." An analyst calls a stock cheap because its P/E looks low. Both are using a shortcut, and both can be wrong. A business is worth the cash it will hand back to its owners in the future, not the profit printed on last year's income statement.

This DCF Valuation Model makes that idea concrete. On one sheet you project five years of free cash flow, discount each year back to today, add a terminal value for everything after year five, and end with a fair value per share. With a 9.50% WACC and 2.50% growth, this model lands at $18.05, against a market price of $18.50.

Why Earnings Multiples Are Not Enough

Accounting profit ignores things that drain real cash: equipment purchases, growing inventory, and customers who pay late. A company can report a profit and still run short of money.
A DCF asks a sharper question. After taxes, reinvestment, and working capital, how much cash is left for investors each year, and what is that stream worth today? One spreadsheet answers it, and you can change any assumption to see how the price reacts.

What Every DCF Template Needs

The workbook has one sheet. Projections run across B8:G18 in $ millions, the assumptions sit in I8:J14, and the valuation bridge sits in L8:M15. Four building blocks do all the work:
ComponentWhere It LivesWhat It Does
FCFF projectionB9:G17Turns revenue into unlevered free cash flow for FY26E to FY30E.
Discount rate (WACC)J9, C18:G189.50% rate that converts each future cash flow into today's dollars.
Terminal valueJ10, M10:M11Values everything after FY30E using 2.50% perpetual growth.
EV to equity bridgeM12:M15Subtracts $120.00 net debt and divides by 50.00 M shares.
The other inputs are a 25.00% tax rate (J11), net debt of $120.00 (J12), 50.00 M diluted shares (J13), and the current market price of $18.50 (J14).

Build the Model Step by Step

Five steps take you from raw forecasts to a share price you can defend. Each one uses a different Excel tool, not just the formula bar.

1Step 1: Build the FCFF Engine and Format It

Type revenue, OpEx, D&A, CapEx, and working capital changes for FY26E to FY30E. Then build the rows in between: EBIT is revenue minus OpEx, taxes are EBIT times the tax rate, and NOPAT is EBIT minus taxes. Point the tax formula at $J$11 instead of typing 0.25, so changing the rate updates the whole model.

Free cash flow in row 17 is =C13+C14-C15-C16: NOPAT plus D&A, minus CapEx and working capital. It starts at $42.00 and grows to $85.00 by FY30E. Select C9:G18, press Ctrl + 1, choose Accounting with 2 decimals and the $ symbol, and the columns line up.

Format Cells dialog with Accounting selected over the FCFF projection grid
Click to view fullscreen

Figure 1: The FCFF rows in place, with Format Cells (Ctrl + 1) set to Accounting.

2Step 2: Discount Cash Flows with WACC

A dollar next year is worth less than a dollar today, so each year's cash flow gets divided by one plus the discount rate, raised to the year number. In C18, type =C17/(1+$J$9)^1.

While typing the reference to J9, press F4 to lock it as $J$9. Without the dollar signs, the reference slides when you copy across and you end up discounting with the wrong cell. Copy the formula to D18:G18 and change the exponent to 2, 3, 4, and 5. Press F2 on any cell to see its precedents color-coded.

FY26E becomes $38.36 and FY30E becomes $53.99. Add them in M9 with =SUM(C18:G18) to get $231.77.

Formula bar showing the discount formula in C18 with J9 locked
Click to view fullscreen

Figure 2: Discounting FY26E cash flow with the WACC cell locked.

3Step 3: Add Terminal Value and the Equity Bridge

The company does not stop in year five. In M10, use the Gordon Growth formula =(G17*(1+J10))/(J9-J10): final-year cash flow grown by 2.50%, divided by WACC minus growth. That gives $1,244.64. Discount it five years in M11 with =M10/(1+J9)^5 to get $790.63.

Enterprise value in M12 is M9 plus M11: $1,022.40. Subtract net debt in M13 and M14 to reach $902.40 of equity value. Divide that by shares in M15 to get $18.05 per share. Notice that terminal value is about 77% of enterprise value.

Formula bar showing the Gordon Growth formula in M10 with G17, J10 and J9 highlighted
Click to view fullscreen

Figure 3: The Gordon Growth formula in M10 reads the last cash flow, g, and WACC.

4Step 4: Build a Two-Way Sensitivity Table

One answer hides a lot of uncertainty, so test a range. Below the model, in B22, type =M15. Put growth rates from 1.50% to 3.50% across C22:G22, and WACC from 8.50% to 10.50% down B23:B27.

Select B22:G27, open Data > What-If Analysis > Data Table, and set Row input cell to $J$10 and Column input cell to $J$9. Excel fills all 25 cells at once. The input cells must be on the same sheet as the table.

Data Table dialog with row input J10 and column input J9 over the empty sensitivity grid
Click to view fullscreen

Figure 4: The Data Table dialog tells Excel which two inputs to vary.

5Step 5: Add a Conditional Formatting Alert

Make the answer announce itself. Select M15, open Home > Conditional Formatting > New Rule, and choose Format only cells that contain. Set Cell Value, less than, =$J$14, and pick a red fill.

Add a second rule for greater than or equal to =$J$14 with a green fill. Right now $18.05 sits below $18.50, so M15 turns red: the market price is about 2.5% above fair value, a hint that the shares look slightly expensive.

New Formatting Rule dialog with a cell value less than J14 rule and a red preview
Click to view fullscreen

Figure 5: A rule that turns M15 red whenever fair value falls below the market price.

Sensitivity: Why Small WACC Changes Matter

Your Step 4 table should look like this (the base case is bold):
WACCg 1.50%g 2.00%g 2.50%g 3.00%g 3.50%
8.50%$18.77$20.11$21.69$23.55$25.78
9.00%$17.26$18.40$19.73$21.27$23.10
9.50%$15.94$16.92$18.05$19.35$20.86
10.00%$14.77$15.63$16.60$17.70$18.98
10.50%$13.74$14.49$15.33$16.28$17.36
Moving WACC from 9.50% to 10.00% cuts fair value to $16.60, about 8% lower. Moving it to 9.00% lifts it to $19.73, about 9% higher. Since terminal value drives most of the price, a half-point change in the discount rate or growth moves the answer far more than a small forecast tweak.
Want the break-even point? Open Data > What-If Analysis > Goal Seek, set M15 to 18.5 by changing J9. Excel returns a WACC of about 9.36%. Goal Seek overwrites J9, so type 9.50% back afterward.

Download and Wrap-Up

You now have a model that turns forecasts into a fair value, shows how fragile that value is, and flags it against the market. The download below has the base model ready to edit. Add Steps 4 and 5 on top, swap in your own company's numbers, and see what the cash flows say.
Share:
Keywords
Finance and ValuationDCF ModelFinancial ModelingWACCTerminal ValueFree Cash FlowSensitivity Analysis
M. Ichsanul Fadhil
M. Ichsanul Fadhil

Spreadsheet educator and web developer passionate about hands-on interactive spreadsheet practice.

Related Practical Exercises

Explore more hands-on spreadsheet models with downloadable practice workbooks.

All Exercises →

Discussion

Ask questions, share formula tips, or discuss alternative approaches with fellow spreadsheet builders.

0 Comments

Loading discussion...