Home › Templates › DCF valuation spreadsheet

DCF Template: Discounted Cash Flow Spreadsheet

A free discounted cash flow spreadsheet for Excel and Google Sheets: type a stock's free cash flow, two growth stages, a discount rate (or build one with the CAPM/WACC helper) and a terminal value, and the sheet works out enterprise value, equity value, intrinsic value per share, the margin of safety against the price, and two sensitivity grids that show how much the answer moves when your assumptions change.

Download Excel template (.xlsx) 31 KB · no macros · no sign-up · Excel 2016+ and Google Sheets · v1.0, 2 Nov 2026

Use it in Google Sheets: choose File → Import → Upload in Sheets and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. The sensitivity grids are plain formulas, not Excel Data Tables, so they work in Sheets too.

Preview: the Example tab. Example Co. is a made-up company; every number below is fictional and in $ millions except per-share figures.
$16.48intrinsic value per share
$14.00share price (fictional)
15.1%margin of safety
62.6%of enterprise value from the terminal value
YearGrowthFree cash flowDiscount factorPV of FCF
18.0%$129.60.9256$120.0
28.0%$140.00.8568$119.9
38.0%$151.20.7930$119.9
48.0%$163.30.7340$119.8
58.0%$176.30.6794$119.8
65.0%$185.10.6289$116.4
75.0%$194.40.5821$113.2
85.0%$204.10.5388$110.0
95.0%$214.30.4987$106.9
105.0%$225.00.4616$103.9
Total$1,783.3$1,149.7
Example Co. (fictional), $ millions: PV of forecast free cash flow $1,149.7 plus PV of terminal value $1,923.0 equals enterprise value $3,072.7; less net debt $600.0 equals equity value $2,472.7. The terminal value is 62.6% of enterprise value.PV of forecast FCF$1,149.7PV of terminal value$1,923.0Enterprise value$3,072.7Less net debt$600.0Equity value$2,472.7

Chart: from discounted cash flow to equity value, built from the Example tab. Discount rate 8.037% (WACC helper), terminal growth 2.5%.

What's inside the spreadsheet

TabWhat you typeWhat it calculates
Start hereNothingSteps, the maths, status messages, reference inputs with dates, limits, disclaimer
DCFBase free cash flow, forecast years (1-10), stage 1 length and growth, stage 2 growth, terminal method (dropdown), terminal growth or exit multiple, discount rate or WACC helper inputs (risk-free rate, beta, equity risk premium, cost of debt, tax rate), cash, debt, other claims, diluted shares, share price, grid stepsProjected FCF, discount factors, PV of each year, terminal value and its PV, enterprise value, equity value, value per share, margin of safety, terminal value share, implied multiple and implied growth, an NPV() cross-check, a status line with a guard for terminal growth ≥ discount rate, two 5 x 5 sensitivity grids, a chart
SummaryNothingYour DCF and the example side by side
ExampleAlready filledThe same sheet for the fictional Example Co., so you can see every formula working

Most free DCF templates sit behind an account or email form, model a full three-statement company, and leave the per-share step and the sensitivity checks to you. This one is one sheet, a stock investor's view: from free cash flow to a value per share you can put next to the price.

How to use it

  1. Get the cash flow statement. Search the company on SEC EDGAR and open its latest Form 10-K. The SEC's "How to Read a 10-K" bulletin explains that Item 8, "Financial Statements and Supplementary Data", "requires the company’s audited financial statements", including the statement of cash flows.
  2. Type the base free cash flow (B9): cash flow from operating activities minus capital expenditures, for the last fiscal year or the last 12 months. Pick one unit, such as $ millions, and use it for cash, debt and shares too.
  3. Set the forecast: years (B10, up to 10), how many of them are stage 1 (B11), and the growth rate for each stage (B12, B13).
  4. Choose the terminal value: Gordon growth with a terminal growth rate (B15), or an exit multiple of final-year FCF (B16).
  5. Set the discount rate: type it in B18, or set B17 to WACC helper and fill the helper below it (rows 29-34).
  6. Type the balance sheet items and shares: cash, total debt, other claims, diluted shares outstanding and the current price.
  7. Read B3 and B4. B3 says OK when the inputs are complete; B4 warns about weak spots. Then read the valuation block and both sensitivity grids before you look at the margin of safety.

The SEC's Beginners' Guide to Financial Statements says why cash flow is the starting point: "While an income statement can tell you whether a company made a profit, a cash flow statement can tell you whether the company generated cash."

Discount rate: CAPM and WACC

The helper builds a WACC in three steps. Cost of equity (CAPM) = risk-free rate + beta x equity risk premium. After-tax cost of debt = pre-tax cost of debt x (1 - tax rate). WACC = weight of equity x cost of equity + weight of debt x after-tax cost of debt, with weights from market values: shares x price for equity, and total debt.

Two public reference points, retrieved 2 Nov 2026 (they change, so look them up again when you use the sheet):

The Example tab uses round, made-up inputs instead (risk-free rate 4.5%, beta 1.10, equity risk premium 4.5%, cost of debt 6.0%, tax rate 21%). That gives a cost of equity of 9.45%, weights of 70% equity and 30% debt, and a WACC of 8.037%.

Terminal value: Gordon growth or exit multiple

The forecast stops after a few years, so a terminal value stands in for every year after that. Gordon growth: TV = final-year FCF x (1 + g) ÷ (r - g). Exit multiple: TV = final-year FCF x multiple. Either one is discounted back n years.

This is the input that matters most. In "The Stable Growth Rate", Damodaran writes: "Of all the inputs into a discounted cash flow valuation model, none can affect the value more than the stable growth rate," because "small changes in the stable growth rate can change the terminal value significantly and the effect gets larger as the growth rate approaches the discount rate used in the estimation." His rule of thumb: the stable growth rate "should not exceed the riskless rate used in the valuation." B4 warns you when it does.

On exit multiples, his chapter "Closure in Valuation: Estimating Terminal Value" warns that "using multiples to estimate terminal value, when those multiples are estimated from comparable firms, results in a dangerous mix of relative and discounted cash flow valuation." The sheet shows the implied multiple behind a Gordon value and the implied growth behind an exit multiple, so each method checks the other.

The guard: if terminal growth is equal to or above the discount rate, the Gordon formula divides by zero or gives a negative value. B3 then says STOP: terminal growth must be below the discount rate and every result and grid cell stays blank instead of showing a number that means nothing.

The formulas, explained

Exact formulas from the DCF tab. Inputs are in column B: B9 base FCF, B10 forecast years, B11 stage 1 length, B12/B13 stage growth, B14 method, B15 terminal growth, B16 exit multiple, B17 rate source, B18 manual rate, B19 cash, B20 debt, B21 other claims, B22 shares, B23 price. Projection rows 44-53 are years 1-10; column F is a grey helper that turns unused years into 0 for NPV().

FieldFormula
Status / guard (B3)=IF(COUNT($B$9)=0,"Enter the base free cash flow in B9",IF(OR(COUNT($B$10)=0,N($B$10)<1,N($B$10)>10),"Forecast years in B10 must be 1 to 10",IF(COUNT($B$57)=0,"Enter a discount rate in B18 or complete the WACC helper",IF($B$57<=0,"The discount rate must be above 0%",IF(AND($B$14="Gordon growth",COUNT($B$15)=0),"Enter a terminal growth rate in B15",IF(AND($B$14="Gordon growth",N($B$15)>=$B$57),"STOP: terminal growth must be below the discount rate",IF(AND($B$14="Exit multiple",N($B$16)<=0),"Enter an exit multiple above 0 in B16",IF(N($B$22)<=0,"Enter diluted shares outstanding in B22","OK"))))))))
Growth, year 1 (B44)=IF(A44>$B$10,"",IF(A44<=IF(COUNT($B$11)=0,$B$10,$B$11),N($B$12),N($B$13)))
Free cash flow, year 2 (C45)=IF(OR(COUNT($B$9)=0,A45>$B$10),"",C44*(1+B45))
Discount factor, year 1 (D44)=IF(OR(NOT($B$3="OK"),C44=""),"",1/(1+$B$57)^A44)
PV of FCF (E44)=IF(D44="","",C44*D44)
Discount rate used (B57)=IF($B$17="WACC helper",$B$40,IF(COUNT($B$18)=0,"",$B$18))
Terminal value (B60)=IF(NOT($B$3="OK"),"",IF($B$14="Gordon growth",$B$59*(1+$B$15)/($B$57-$B$15),$B$59*$B$16))
PV of terminal value (B61)=IF(NOT($B$3="OK"),"",$B$60/(1+$B$57)^$B$10)
Enterprise value (B62)=IF(NOT($B$3="OK"),"",$B$58+$B$61)
Equity value (B65)=IF(NOT($B$3="OK"),"",$B$62-$B$63-$B$64)
Value per share (B66)=IF(NOT($B$3="OK"),"",$B$65/$B$22)
Margin of safety (B68)=IF(OR(NOT(ISNUMBER($B$66)),NOT(ISNUMBER($B$67))),"",IF($B$66<=0,"",($B$66-$B$67)/$B$66))
Implied perpetual growth (B73)=IF(NOT($B$3="OK"),"",IF($B$60+$B$59=0,"",($B$60*$B$57-$B$59)/($B$60+$B$59)))
NPV() cross-check (B74)=IF(NOT($B$3="OK"),"",NPV($B$57,F44:F53)+$B$61)
CAPM cost of equity (B32)=IF(COUNT($B$29,$B$30,$B$31)<3,"",$B$29+$B$30*$B$31)
WACC (B40)=IF(OR($B$32="",$B$38=""),"",IF($B$39=0,$B$32,IF($B$35="","",$B$38*$B$32+$B$39*$B$35)))
Sensitivity grid 1, one cell (B80)=IF(OR($A80="",B$79=""),"",IF($A80<=0,"",IF(B$79>=$A80,"g >= r",(NPV($A80,$F$44:$F$53)+$B$59*(1+B$79)/($A80-B$79)/(1+$A80)^$B$10-$B$63-$B$64)/$B$22)))

Why the NPV() cross-check? NPV(rate, values) discounts the first value by one full period, which matches year-end cash flows. NPV of the forecast FCF plus the PV of the terminal value must equal the enterprise value built line by line. B75 shows the difference; in the example it is $0.0.

Sensitivity grids without Data Tables: each cell recomputes the value per share with its own discount rate (row) and terminal growth or exit multiple (column), using NPV() for the forecast part. The centre cell equals the main result.

Worked example: Example Co. (fictional)

Base free cash flow $120.0 million, growing 8% a year for 5 years, then 5% for 5 more. Terminal growth 2.5%. Discount rate 8.037% from the WACC helper. Cash $300 million, debt $900 million, 150 million shares, share price $14.00.

Valuation (Example Co., $ millions)Value
Sum of PV of forecast FCF (years 1-10)$1,149.7
Terminal value at end of year 10 (Gordon, g = 2.5%)$4,165.8
PV of terminal value$1,923.0
Enterprise value$3,072.7
Less: net debt ($900.0 debt - $300.0 cash)$600.0
Equity value$2,472.7
Intrinsic value per share (÷ 150.0 million shares)$16.48
Current share price (fictional)$14.00
Margin of safety: (value - price) ÷ value15.1%
NPV() cross-check minus enterprise value$0.0

How much the answer moves

Grid 1 (Gordon growth): value per share for discount rates from 6.04% to 10.04% and terminal growth from 1.5% to 3.5%. Green is at or above the $14.00 price, red is below; the outlined cell is the main result.

Discount rate ↓ / growth →1.5%2.0%2.5%3.0%3.5%
6.04%$23.16$25.58$28.68$32.80$38.54
7.04%$17.99$19.45$21.23$23.45$26.30
8.04%$14.42$15.37$16.48$17.83$19.46
9.04%$11.80$12.45$13.20$14.07$15.10
10.04%$9.81$10.27$10.80$11.39$12.08

The same company is worth anywhere from $9.81 to $38.54 a share inside this grid. One percentage point on the discount rate moves the value from $16.48 to $13.20 or $21.23. Grid 2 swaps terminal growth for an exit multiple:

Discount rate ↓ / multiple →10x12x14x16x18x
6.04%$12.83$14.50$16.17$17.84$19.51
7.04%$11.66$13.18$14.70$16.22$17.74
8.04%$10.59$11.97$13.36$14.74$16.13
9.04%$9.61$10.88$12.14$13.40$14.67
10.04%$8.72$9.87$11.03$12.18$13.33

At the 14x exit multiple typed in the example, the value is $13.36, below the $14.00 price, while the Gordon method says $16.48. Neither is "right": the gap comes from the assumption about the years after year 10. That is the main lesson of any DCF.

Common mistakes

Limits

FAQ

How do you calculate DCF in Excel?

Project free cash flow for each year, discount each year with 1 / (1 + r)^t, add a terminal value for the years after the forecast, and discount that too. The sum is enterprise value. Subtract net debt to get equity value, then divide by diluted shares. This template does every step with plain formulas, and checks the result against Excel's NPV() function.

What discount rate should I use in a DCF?

Usually the weighted average cost of capital (WACC) when you discount free cash flow to the firm, or your own required return. The template's WACC helper uses CAPM for the cost of equity: risk-free rate + beta x equity risk premium. For reference, Aswath Damodaran's site (NYU Stern) listed an implied equity risk premium of 4.20% on October 1, 2026 (trailing 12 month, with adjusted payout) with a 5.29% US Treasury rate as the riskfree rate. These inputs change every month, so check them first.

What terminal growth rate should I use?

A low, long-run rate. Damodaran writes that "a simple rule of thumb on the stable growth rate is that it should not exceed the riskless rate used in the valuation." The template blocks any terminal growth rate at or above the discount rate, because the Gordon growth formula has no finite answer there, and warns when it is above the risk-free rate you typed.

Gordon growth or exit multiple: which terminal value method is better?

Both are in the file. Gordon growth ties the terminal value to your discount rate and long-run growth. An exit multiple is simpler but borrows today's market pricing: Damodaran calls multiples taken from comparable firms "a dangerous mix of relative and discounted cash flow valuation." The sheet shows the implied multiple for a Gordon value and the implied growth rate for an exit multiple, so you can sanity-check one with the other.

Where do I find free cash flow for a stock?

In the statement of cash flows in the company's annual report (Form 10-K, Item 8) or quarterly report (10-Q), free on SEC EDGAR. A common simple measure is cash flow from operating activities minus capital expenditures (often labelled purchases of property and equipment). Use the same units for cash, debt and shares.

Can I use this DCF template in Google Sheets?

Yes. In Google Sheets choose File → Import → Upload and pick the .xlsx, or open it from Google Drive. The formulas use IF, AND, OR, NOT, N, COUNT, ISNUMBER, INDEX, SUM, NPV and ROUND, which work in Excel 2016+, Google Sheets and LibreOffice. No macros, no Data Tables: the sensitivity grids are ordinary formulas, so they update in every app.

Related tools and templates

Educational template only, not financial advice or a recommendation to buy or sell any security. A DCF gives an estimate that depends on your assumptions, not a fair price. Example Co. is fictional and its numbers are made up. Reference figures from NYU Stern (Damodaran), the U.S. Treasury and the SEC were retrieved on 2 November 2026 and change over time.