Guides/Financial Modelling

How to Build a DCF Model: From Operating Assumptions to a Defensible Valuation

A DCF is 70% terminal value and 100% assumptions. Build it in a workbook where both can be defended, and know which cell to change when the answer looks wrong.

By Surojit Chakraverti, founder of L3VLUP and an investor running a long-short healthcare and technology equities strategy.

On this subject: trains modelling at investment banks, PE firms and asset managers.Updated 4 November 202616 min read

A discounted cash flow model takes an afternoon to learn and a career to get right, because most of the answer sits in two numbers nobody can observe: the discount rate and the terminal growth rate. This guide builds the DCF model in the Models library sheet by sheet, and every figure it quotes is the workbook’s own base case.

What you will build

  • Five years of unlevered free cash flow from operating assumptions, taxed on EBIT so the capital structure stays out of it
  • A WACC built from CAPM and an after-tax cost of debt, weighted at a target structure
  • A terminal year normalised so that reinvestment matches terminal growth, and both terminal values reconciled through the multiple and the growth rate each implies
  • The bridge from enterprise value to a value per share, and the grids that turn it into a range

The problem, and the workbook that solves it

Diagram

From operating drivers to a value per share

The whole chain the workbook builds, from five years of operating drivers to a value per share, and how far the two unobservable inputs move it.

1. Drivers to free cash flow

EBITDAUnlevered free cash flow153FY1E53%179FY2E54%206FY3E55%221FY4E56%247FY5E57%

Revenue of $1,200m grows 10% slowing to 5%, at a margin widening from 22% to 25%. About half of each year’s EBITDA becomes free cash flow once tax, capex and working capital are paid.

2. Cash flows to a value per share

Present value of FY1E to FY5E cash flows$800.6mPresent value of terminal value+$2,000.5m71.4% of enterprise valueEnterprise value$2,801.1mLess debt−$400.0mPlus cash+$150.0mEquity value$2,551.1m

Divided by 100m diluted shares, the equity is worth $25.51 a share against an illustrative $34.00. The terminal value is 71% of the enterprise value.

3. What the two unobservable inputs do

WACC \ growth1.0%1.5%2.0%2.5%3.0%
8.0%$29.03$29.14$29.26$29.37$29.49
8.5%$27.06$27.17$27.27$27.38$27.48
9.0%$25.31$25.41$25.51$25.61$25.71
9.5%$23.76$23.85$23.94$24.03$24.12
10.0%$22.36$22.44$22.53$22.61$22.69

Each cell is the Sensitivity sheet’s value per share. Shaded cells are above the illustrative $34.00 price; the outlined cell is the base case. Half a point of WACC moves it by $1.57 a share; half a point of growth by $0.10. Growth moves it so little because the terminal year pays for its growth: new capital earning the WACC costs as much as the growth it buys.

The DCF model’s base case, read from its Forecast, Valuation and Sensitivity sheets: a 9.0% WACC and 2.0% terminal growth.

Read as a table
Free cash flow by year ($m)
YearRevenueGrowthEBITDA marginEBITDAUnlevered free cash flowCash conversion
FY1E$1,320.0m10.0%22.0%$290.4m$153.0m52.7%
FY2E$1,438.8m9.0%23.0%$330.9m$178.8m54.0%
FY3E$1,553.9m8.0%24.0%$372.9m$206.0m55.2%
FY4E$1,647.1m6.0%24.0%$395.3m$221.3m56.0%
FY5E$1,729.5m5.0%25.0%$432.4m$246.9m57.1%
Enterprise value to equity value
LineValue
Present value of FY1E to FY5E cash flows$800.6m
Present value of terminal value$2,000.5m
Enterprise value$2,801.1m
Less debt−$400.0m
Plus cash$150.0m
Equity value$2,551.1m
Terminal value, % of enterprise value71.4%
Implied value per share$25.51
Illustrative share price$34.00
Value per share: WACC (rows) against terminal growth (columns)
WACC1.0%1.5%2.0%2.5%3.0%
8.0%$29.03$29.14$29.26$29.37$29.49
8.5%$27.06$27.17$27.27$27.38$27.48
9.0%$25.31$25.41$25.51$25.61$25.71
9.5%$23.76$23.85$23.94$24.03$24.12
10.0%$22.36$22.44$22.53$22.61$22.69

The analyst’s problem is rarely the arithmetic. It is that a set of operating assumptions (growth slowing from 10% to 5% over five years, a margin widening from 22% to 25%, capex at 5% of revenue) has to become one number a reviewer will accept, and the reviewer will ask which assumption the number depends on. A model built as a chain of visible steps can answer; a model built as one long formula cannot.

The workbook is that chain. Six sheets after the cover: Assumptions (every input, in blue), Forecast (revenue to unlevered free cash flow, FY1E to FY5E), WACC (cost of equity, after-tax cost of debt and the weights), Valuation (discount factors, the terminal year, both terminal values, the bridge to equity and a value per share), Sensitivity (two five-by-five grids, every cell a formula) and Checks (an input test, a terminal value warning and a tie-out). In the base case a company with $1,200m of revenue and a 9.0% WACC is worth $2,801m of enterprise value and $25.51 a share, against an illustrative share price of $34.

Each section below builds one link of that chain and names the rows it is about; the figures in the prose are the figures in the cells.

Step 1 of 6

Unlevered free cash flow: the build

Start from EBIT, subtract taxes calculated on EBIT rather than on earnings before tax, add back depreciation and amortisation, subtract capital expenditure, and subtract the increase in net working capital. The result is the cash the business generates before any financing decision.

In the workbook this is the Forecast sheet, and FY1E reads: revenue $1,320m (FY0A’s $1,200m grown 10%), EBITDA $290.4m at a 22% margin, depreciation and amortisation $52.8m at 4% of revenue, EBIT $237.6m, tax on EBIT $59.4m at 25%, NOPAT $178.2m. Then the cash lines: add back the $52.8m, less capex of $66.0m at 5% of revenue, less a $12.0m increase in net working capital (held at 10% of revenue, up from $120m), to unlevered free cash flow of $153.0m. The last row, cash conversion, divides that by EBITDA: 52.7%. Check it against the company’s own history before trusting anything downstream; a conversion far above the past is usually a capex or working capital assumption that has quietly become generous.

The reason tax is calculated on EBIT rather than on EBT is that unlevered cash flow must be independent of the capital structure. Taxing EBT would import the interest tax shield into the cash flows, and that shield is already accounted for in the after-tax cost of debt inside WACC. Doing both double-counts it. The Forecast sheet has no interest line anywhere above the bridge, which is the easiest way to be sure.

Step 2 of 6

WACC: build it component by component

The formula is the equity weight times the cost of equity plus the debt weight times the after-tax cost of debt, using market values throughout. What matters in a review is not the formula but whether each component was derived or assumed.

Cost of equity comes from CAPM: the risk-free rate plus levered beta times the equity risk premium. Beta should generally be taken from comparable companies, unlevered to strip out each peer’s capital structure, averaged, then relevered at your target’s own structure. A thinly traded company’s own historical beta is not a defensible input.

The WACC sheet does the arithmetic in three short blocks. Cost of equity: a 4.2% risk-free rate plus a levered beta of 1.15 times a 5.5% equity risk premium, 10.5%. After-tax cost of debt: 6.0% pre-tax times one less the 25% tax rate, 4.5%. Weights: a target debt share of 25%, an input on the Assumptions sheet rather than a reading of today’s balance sheet, so the equity weight is 75%. WACC is 0.75 times 10.5% plus 0.25 times 4.5%, which is 9.0%. The beta is typed here; in practice it comes from the peer unlevering and relevering described above, which the WACC Builder lab works through.

  • Market values of debt and equity, never book values.
  • Peer-derived beta, unlevered and relevered. Show the working in the model.
  • Cost of debt after tax. Forgetting the (1 − t) factor overstates WACC and understates the valuation.
  • One WACC per risk profile. A conglomerate with genuinely different divisional risk needs more than one.

Step 3 of 6

Terminal value: build both methods, then argue

Terminal value is typically 60% to 75% of total enterprise value in a ten-year model, and more in a five-year one, which means the DCF is mostly a statement about the terminal assumption. Treating it as a footnote is the most common way a DCF loses credibility.

The perpetuity growth method: final-year free cash flow times one plus g, divided by WACC less g. The exit multiple method: final-year EBITDA times a terminal EV/EBITDA multiple anchored on where comparables trade today.

Before either, normalise the terminal year, because the perpetuity repeats it for ever. The final forecast year is rarely a steady state: in the workbook FY5E grows revenue 5%, spends capex of 5% of revenue against depreciation of 4%, and builds working capital for 5% growth. Grow FY5E unlevered free cash flow of $246.9m by 2% and the perpetuity starts from $251.8m, carrying reinvestment sized for 5% growth into a business growing at 2%. Put as a return, that cash flow can grow at 2% only if every new dollar invested earns 21.3% for ever, more than twice the 9.0% cost of capital.

The consistent terminal year starts from operating profit and pays for its growth. Growth at g needs reinvestment of g divided by the return on new invested capital (RONIC), as a share of NOPAT. The Valuation sheet’s terminal-year block does this: FY5E NOPAT of $272.4m grown 2% is $277.8m, the reinvestment rate at a RONIC equal to WACC is 2% over 9.0%, or 22.2%, so $61.6m is reinvested and $216.2m is free cash flow. Of the reinvestment, $3.5m is working capital (10% of the year’s revenue growth) and the rest is capex above depreciation, which puts terminal capex at 1.8x depreciation. The block shows the old basis beside it, and one input, Terminal year basis, switches between them.

Setting RONIC equal to WACC is the conservative convention and the one to start from. At that return growth adds nothing: the terminal value is the terminal year’s NOPAT divided by WACC, whatever g is, because each dollar of growth costs as much to fund as it is worth. Growth creates value only when new capital earns more than it costs, so the return on new capital is an input too. Raise it above WACC and terminal growth starts to add value; the question a reviewer asks is then why the business keeps earning that return after five years of competition.

The Valuation sheet then carries both methods. Perpetuity growth: the normalised $216.2m divided by WACC less growth gives $3,081m at the end of FY5E, worth $2,001m today. That is 71.4% of enterprise value, and the row beneath restates it as an implied exit multiple of 7.1x FY5E EBITDA. Exit multiple: FY5E EBITDA of $432.4m times 10x is $4,324m, and an enterprise value of $3,608m, 28.8% above the perpetuity answer.

The two methods are not supposed to agree, and the gap is the argument you have to be able to have. Here it is wide, and two rows put a number on it. The implied perpetuity growth row says that FY5E’s cash flow, grown as it stands, would need 3.1% growth for ever to be worth 10x. The ceiling multiple row says that even if growth needed no reinvestment at all, 2% growth for ever is worth 9.2x FY5E EBITDA. A 10x exit multiple is therefore assuming faster growth, a higher return on new capital, or both. Back out what your multiple implies; if you cannot defend it, the multiple is too high. Back out the multiple your growth rate implies; if it sits far below where the sector trades, the growth rate or the return may be too cautious. This reconciliation is what a good reviewer looks for and most models omit.

A see-saw carries ten small stones marked ten years of cash on one arm and a large sack marked terminal value on the other. Lev works a hand pump marked growth rate into the sack and the see-saw tips.
Ten years of cash on one side, one assumption about growth on the other. Watch which way it tips.

Step 4 of 6

Discounting, and the mid-year convention

Discount each forecast year’s free cash flow at WACC, and discount the terminal value back from the end of the forecast period. Forgetting to discount terminal value is a mechanical error that inflates the valuation by a large margin and is more common than it should be.

The mid-year convention treats cash flows as arriving evenly through the year rather than in a lump on the final day, using discount periods of 0.5, 1.5, 2.5 and so on. It raises the valuation modestly and is more realistic for most operating businesses.

In the workbook the choice is one input, Discounting convention on the Assumptions sheet: 1 for mid-year, 0 for end-year. The Valuation sheet’s discount period row reads 0.5, 1.5, 2.5, 3.5 and 4.5 years under mid-year and 1 to 5 under end-year, while the terminal value is discounted five full years either way, so the two methods stay comparable. Flip the switch and the value per share moves from $25.51 to $25.17. The number is small. The terminal value is the part that needs a stated rule. Five full years is right for the exit multiple value, which is a price at the end of FY5E. For the perpetuity growth value it is the conservative reading: a perpetuity of cash flows that arrive mid-year is worth half a year more, and some practitioners discount it 4.5 years rather than five, which here would add about $88m of enterprise value, or $0.88 a share. Either can be defended. What a reviewer looks for is a model that states its choice, as the workbook’s cover does, and applies it the same way in every grid.

Step 5 of 6

The equity bridge

Summing the discounted cash flows and discounted terminal value gives enterprise value. To get to a share price: subtract total debt, subtract preferred stock, subtract minority interest, add cash and equivalents, then divide by the fully diluted share count.

Other debt-like claims belong in the same bridge, and the accounting decides some of them. A lease liability is deducted when the cash flows already exclude the lease cost, which is the case under IFRS 16, where rent becomes depreciation and interest below EBITDA. Under US GAAP an operating lease keeps its cost inside EBITDA, so the liability stays out of the bridge or the cost is counted twice. Pension deficits are usually deducted, net of tax relief. The workbook carries debt, cash and minority interest only, which is the simplification to say aloud when you present it.

In the workbook: enterprise value of $2,801.1m, less debt of $400m, plus cash of $150m, less minority interest of nil, is equity value of $2,551.1m, and over 100m diluted shares that is $25.51. The row beneath compares it with the illustrative $34 share price: 25.0% below. The model is not saying the shares are overvalued. It is saying that at these assumptions they are, and the next two sections are about which assumptions.

Use diluted shares, calculated with the treasury stock method for in-the-money options. Using basic shares overstates the per-share value, and it is the kind of detail a reviewer checks precisely because it is easy to skip. The workbook takes the diluted count as an input; the equity bridge lab works the method.

From the workbook

Discounted cash flow model, Valuation sheet: the enterprise value to equity value

Enterprise value by perpetuity growth, less debt, plus cash, less minority interest: equity value and the value per share against the illustrative price. Click a cell to see its row; sign in free to change an input and watch the bridge move.

Inspect the workbook
All checks read zero100%
Every value, every sheet, as the workbook holds it.
Valuationsheet, 8 rows of 48
ABCDEFGHIJ
4$mUnitFY0AFY1EFY2EFY3EFY4EFY5ENotes
47Enterprise value, perpetuity growth method$m2,801.1
48Less debt$m400.0
49Plus cash$m150.0
50Less minority interest$m-
51Equity value$m2,551.1
52Implied value per share$ per share25.5Equity value / diluted shares outstanding
53Implied value vs illustrative share price%-25.0%Positive: implied value per share is above the share price input.
54Implied EV / FY1E EBITDAx9.6xPerpetuity growth enterprise value

Select a cell to see its row, its schedule and the type of cell. Font colours: blue for inputs, black for formulas, green for links to other sheets. Scroll sideways to see every period.

What to change, where to look, and what the result means

A handful of changes teach most of what a DCF has to teach. Each is one blue cell on the Assumptions sheet; the effect is on the Valuation sheet and, where it matters, on the Checks sheet. Sign in and make them in the workbook above.

Six changes to the base case ($25.51 a share at a 9.0% WACC)
ChangeResultWhat it means
Terminal growth rate, 2.0% to 3.0%$25.71 a share; terminal value 71.6% of EV; implied exit multiple 7.2xWith new capital earning the WACC, a point of perpetual growth adds under 1% to the equity, because the growth has to be paid for. Growth is not where the value is; the return on the capital that funds it is.
Return on new invested capital, WACC to 15%$27.78 a share; at 3.0% growth, $29.72Now growth adds value: the same point of growth is worth $1.94 a share. A return above the cost of capital for ever is a claim about a lasting competitive advantage, and it is the claim to defend.
Terminal year basis, 1 to 0$28.80 a share; terminal value 74.4% of EV; implied exit multiple 8.3xFY5E’s cash flow grown as it stands, the treatment the model used before. It is worth $3.29 a share more because it carries FY5E’s reinvestment into a slower-growing perpetuity, which implies new capital earning 21.3% for ever.
Levered beta, 1.15 to 1.40WACC 10.0%; $22.44 a shareA quarter-turn of beta costs 12% of the equity, more than the entire working capital assumption. Beta is where a reviewer looks first, and the peer set behind it is the answer they want.
Exit multiple, 10x to 12xExit-method EV $4,170m against $2,801m by perpetuity growthThe two methods now disagree by nearly half. The ceiling multiple row says 2% growth is worth at most 9.2x even with no reinvestment; if you cannot say why the business grows faster or earns more than that for ever, the multiple is wrong.
Discounting convention, 1 to 0$25.17 a shareThe convention is worth about 1% on the forecast cash flows. The terminal value is discounted five full years either way, which the cover states; the error is a treatment nobody states, not the choice between them.

Read the Checks sheet before the answer

The Checks sheet is three rows and a status, and it is where to look when a result surprises you. The input test flags a terminal growth rate at or above WACC, which breaks the perpetuity formula; set growth to 10% and the status reads ERROR. The terminal value warning flags a share of enterprise value above 75%, a threshold that is itself an input; the base case sits at 71.4%, below it but close enough to say that the answer rests on the terminal assumptions. The grid tie-out confirms that the centre of the sensitivity grid equals the Valuation sheet’s value per share, which is how you know the grid is pricing the same model and not a copy of it.

What the result means is a judgement the model frames and does not make. $25.51 against $34 says the market is paying for faster growth, a higher return on new capital, a lower discount rate or a higher exit multiple than the base case assumes. The sensitivity grid says how much of each would be needed, and the reverse DCF lab works the same question from the price backwards.

Step 6 of 6

The output is a range, not a number

A DCF that produces a single share price is not finished. The output should be a sensitivity table across the two assumptions that drive the answer, usually WACC on one axis and terminal growth rate (or exit multiple) on the other, showing the implied value across a plausible range of each.

The Sensitivity sheet draws two such grids. Down the side, WACC from 8.0% to 10.0% in half-point steps; across the top, terminal growth from 1.0% to 3.0% in half-point steps on the first grid and the exit multiple from 8x to 12x on the second. Every cell re-prices the same five cash flows at its own discount rate and terminal assumption in closed form, so you can click any one and read its formula rather than trust a data table. The increments are inputs, so a wider or finer grid is two cells away. The corners are the range you present: at an 8.0% WACC and 3.0% growth the shares are worth far more than $34, and at 10.0% and 1.0% far less, which is the honest shape of the answer.

This is not hedging. It is the presentation of a model whose output moves materially on inputs that cannot be observed. A reviewer who sees a point estimate immediately asks what happens if the discount rate is 50 basis points higher; the grid answers before the question is asked, and it demonstrates that you know where the model is fragile. Present the range alongside comparable companies and precedent transactions on a football field. A DCF sitting entirely outside the market-based ranges is not necessarily wrong, but it needs an explicit explanation, and it is better to give it yourself than to be asked for it.

Lev lays a wide rope loop on a hillside marked a range, a bent flag marked one price lying beside him. Two arrows across the loop are marked wacc and terminal growth.
Two assumptions move the answer, so the answer is the ground they cover, not a single point.
Caveat

When a DCF is the wrong tool

Read

A DCF requires forecastable cash flows. Where they are not forecastable, the model produces precision without accuracy, and using one signals a lack of judgement rather than rigour.

Banks and insurers are the clearest case: their capital structure is the business, so an unlevered DCF is conceptually meaningless. They are valued on a dividend discount model or price-to-book instead. Early-stage companies with no earnings and deeply cyclical businesses near a turning point are the other two common cases. A development-stage biotech is the sharpest example of the first, and the rNPV guide explains what replaces the DCF there.

Next

Work the model, then take it with you.

The DCF model in the Models library is the workbook on this page: six sheets, every formula live, a starter that leaves the valuation for you to rebuild, and the labs and schedules around it.

What the download contains. The worked discounted cash flow model is an Excel file: 7 sheets (Cover, Assumptions, Forecast, WACC, Valuation, Sensitivity, Checks), 203 live formulas and every check reading zero, so a changed input moves the whole model. The starter workbook is the same file with the discounting and terminal value left blank for you to build.

Every starter workbook downloads with a free L3VLUP account. A worked model downloads with L3VLUP Plus (one each billing month, kept for good) or L3VLUP Pro (every model).

Build the discounted cash flow model yourself

A free account downloads the starter workbook: the same model with the schedules this guide describes left blank, to fill in and check against the worked version online. One email, no password.

DCF and valuation: learn it, then use it

Forecast the cash a business throws off, discount it, and test what the price already assumes.

Frequently asked questions

How do you build a DCF model step by step?

Project unlevered free cash flow (EBIT, less tax on EBIT, plus D&A, less capex, less the increase in working capital) over five to ten years; build WACC component by component from CAPM and the after-tax cost of debt; calculate terminal value using both the perpetuity growth and exit multiple methods and reconcile them; discount everything back to present value; sum to enterprise value; then bridge to equity value and divide by diluted shares. Finish with a sensitivity table across WACC and terminal growth. The workbook on this page does each step on its own sheet.

What percentage of a DCF is terminal value?

Typically 60% to 75% on a ten-year forecast, higher on a shorter one; the five-year model on this page sits at 71.4%. That is inherent to the method rather than a flaw, because a perpetuity captures an infinite series of cash flows while the explicit forecast captures only a few years, but it does mean the valuation is largely a statement about the terminal assumption, which is why cross-checking both terminal value methods matters.

Why is tax calculated on EBIT rather than EBT in a DCF?

Because unlevered free cash flow must be independent of the capital structure. Taxing EBT would build the interest tax shield into the cash flows, but that shield is already reflected in the after-tax cost of debt within WACC. Doing both counts the same benefit twice and overstates the valuation.

What is the mid-year convention in a DCF?

Discounting cash flows as though they arrive evenly through the year rather than all on the final day, using discount periods of 0.5, 1.5, 2.5 and so on. It is more realistic for most operating businesses and raises the valuation modestly: $25.51 against $25.17 a share in the model on this page. The terminal value needs a stated rule of its own. An exit multiple value is a price at the end of the final year and is discounted the full period; a perpetuity growth value can be discounted half a year less, and the model on this page keeps the full period for both, as its cover says.

What does the DCF workbook download contain?

The worked model as an Excel file: the cover, Assumptions, Forecast, WACC, Valuation, Sensitivity and Checks, with 203 live formulas and no macros or external links. The starter workbook is the same file with the Valuation sheet cleared from the discount factors to the exit multiple terminal value, for you to rebuild and check against the Checks sheet. Any free account downloads the starter; the worked file follows the terms shown under the preview.

How do you normalise the terminal year in a DCF?

Make the reinvestment in the terminal year consistent with the terminal growth rate. Start from the terminal year’s NOPAT and reinvest g divided by the return on new invested capital: at 2% growth and a return equal to a 9.0% WACC, 22.2% of NOPAT. Working capital grows with revenue at its ratio, and capex is the rest. Growing the final forecast year’s free cash flow as it stands carries that year’s higher growth investment, or its underinvestment, into the perpetuity. In the model on this page the normalised terminal year gives $25.51 a share; FY5E grown as it stands gives $28.80, which implies new capital earning 21.3% for ever.

Can I change the assumptions without downloading anything?

Yes. On this page and on the model page, a free account edits every blue input in the browser and the whole workbook recalculates with the same engine that writes the file. Your changes stay in the tab; the file you download is the published base case.

Ask a follow-up question

Something this guide did not answer for your situation? Ask it here, and the answer stays beside the guide for the next reader.

Ask a follow-up

No questions yet. Ask the first.

All discussions · Community rules