How to Value a Stock Using Discounted Cash Flow (DCF) Analysis
How to Value a Stock Using Discounted Cash Flow (DCF) Analysis
Ask ten different analysts to value the same stock and you'll probably get ten different answers. But if you look under the hood, most serious valuation frameworks trace back to the same foundational idea: a company is worth the present value of the cash it will generate in the future.
That idea is what Discounted Cash Flow analysis β DCF β is built on. It's arguably the most rigorous way to put a number on what a business is actually worth, independent of what the market is pricing it at today.
But here's the honest caveat upfront: DCF is only as good as the assumptions you feed it. The model itself is mathematically precise. The inputs are anything but. Understanding where that uncertainty lives β and how to test it β is what separates a useful DCF from a false sense of precision.
Let's walk through the whole process, step by step.
The Core Logic of DCF
A dollar today is worth more than a dollar a year from now. You can invest that dollar today and earn a return on it. Inflation erodes purchasing power over time. And there's always some risk that the future cash flow doesn't materialize at all.
DCF accounts for all of this through discounting. Future cash flows are converted into today's dollars using a discount rate that reflects the risk and opportunity cost of that capital. Add up all the discounted future cash flows and you get an estimate of what the business is worth today β its intrinsic value.
The formula for a single future cash flow:
Present Value = Future Cash Flow Γ· (1 + Discount Rate)^n
Where n is the number of years until the cash flow arrives.
Do this for every year of projected cash flows, sum them all up, and you have your DCF value. In practice, you typically model a specific projection period (say, 5 or 10 years) and then add a terminal value that captures everything beyond that horizon.
Step 1: Project Free Cash Flow
Free Cash Flow (FCF) is the cash a business generates after spending whatever it needs to maintain and grow its asset base. The standard formula:
FCF = Operating Cash Flow β Capital Expenditures
Or equivalently:
FCF = EBIT Γ (1 β tax rate) + Depreciation & Amortization β Capital Expenditures β Change in Working Capital
The second formula is more granular and useful because it forces you to think through each component separately.
To project FCF, start with historical financials β typically the last 3 to 5 years. Look at:
- Revenue growth: What's driven it historically? Is it sustainable? Are there clear tailwinds or headwinds ahead?
- Operating margins: Are they expanding, contracting, or stable? What drives margin changes?
- Capital intensity: How much does the business need to reinvest to sustain and grow? This varies enormously across industries.
- Working capital dynamics: Does the business consume more working capital as it grows, or does it throw off cash as revenue scales?
Be conservative. Most DCF models built with rosy assumptions look great on paper and disappoint in reality. Anchoring your projections to historical performance and industry context keeps you honest.
A common approach is to project revenue first, then apply margin assumptions to get to operating income, then add back non-cash charges and subtract capex and working capital changes. Modeling 5 years explicitly is standard; some analysts go to 10 years for businesses with strong and highly predictable cash flows.
Step 2: Choose a Discount Rate (WACC)
The discount rate is the single most impactful input in a DCF model. Small changes in the discount rate can swing the output dramatically β we'll see this in the sensitivity analysis section.
For most DCF models, the discount rate used is WACC β the Weighted Average Cost of Capital. WACC represents the blended required return of all the company's capital providers: both equity holders and debt holders.
WACC = (E/V Γ Re) + (D/V Γ Rd Γ (1 β Tax Rate))
Where:
- E = Market value of equity
- D = Market value of debt
- V = E + D (total capital)
- Re = Cost of equity
- Rd = Cost of debt (pre-tax)
- Tax Rate = Corporate tax rate (interest is tax-deductible)
The cost of equity is typically estimated using the Capital Asset Pricing Model (CAPM):
Re = Rf + Ξ² Γ (Rm β Rf)
Where Rf is the risk-free rate (usually the 10-year Treasury yield), Ξ² is the stock's beta, and (Rm β Rf) is the equity risk premium.
As a rough benchmark: WACC for large, stable, investment-grade companies often falls in the 7β10% range. Higher-risk, smaller, or more cyclical businesses warrant higher discount rates. The right number depends on the specific company and the current interest rate environment.
A practical tip: rather than obsessing over a single "precise" WACC, model a range. This directly feeds into sensitivity analysis, which we'll cover shortly.
Step 3: Calculate Terminal Value
No model projects cash flows to infinity year by year. At some point β typically after your explicit projection period β you need to estimate what the business is worth based on its long-term, steady-state cash generation.
That's the terminal value, and it typically makes up a substantial portion of total DCF value β often 60β80% or more for companies with long growth runways. This is worth sitting with for a moment: the majority of a DCF's value often comes from a single assumption about the distant future. It's the biggest source of model uncertainty.
Two main methods:
1. Gordon Growth Model (Perpetuity Growth Method)
Terminal Value = FCF_final Γ (1 + g) Γ· (WACC β g)
Where g is the long-term growth rate assumed in perpetuity. This rate should generally be close to or below the long-term nominal GDP growth rate β you can't assume a company grows faster than the entire economy forever. Common assumptions range from 2% to 3.5%.
2. Exit Multiple Method
Estimate terminal value by applying an EV/EBITDA multiple (or other relevant multiple) to the final year's metric:
Terminal Value = EBITDA_final Γ Exit Multiple
The multiple should be informed by current comparable company valuations or historical averages for the industry. This method anchors the terminal value in observable market data, which some analysts prefer.
Both methods have merit. Many practitioners use both as a cross-check.
Step 4: Discount Everything Back to the Present
Once you have projected FCFs and a terminal value, discount each cash flow back to today using WACC and the appropriate time period:
PV of FCF_year_n = FCF_year_n Γ· (1 + WACC)^n
PV of Terminal Value = Terminal Value Γ· (1 + WACC)^n
(where n = end of projection period)
Sum all the present values:
Enterprise Value = Sum of PV of FCFs + PV of Terminal Value
To get from Enterprise Value to Equity Value per Share:
Equity Value = Enterprise Value β Net Debt (Total Debt β Cash)
Intrinsic Value per Share = Equity Value Γ· Diluted Shares Outstanding
Compare this intrinsic value estimate to the current stock price. If the stock trades at a significant discount to your estimate β allowing a margin of safety β it may represent an undervalued opportunity.
Step 5: Sensitivity Analysis β Where the Real Insight Lives
Here's what separates a thoughtful DCF from a naive one: sensitivity analysis.
Because DCF outputs are so sensitive to input assumptions β especially the discount rate and terminal growth rate β a single-point estimate is misleading. It implies a precision that doesn't exist. Sensitivity analysis replaces false precision with a realistic range of outcomes.
Build a data table that shows how intrinsic value changes as you vary two key inputs simultaneously β typically WACC and terminal growth rate. A 3Γ3 or 5Γ5 grid is common:
| | g = 2.0% | g = 2.5% | g = 3.0% | |----------|----------|----------|----------| | WACC = 8% | $X | $X | $X | | WACC = 9% | $X | $X | $X | | WACC = 10% | $X | $X | $X |
If the stock looks cheap across all or most scenarios in the table, you have a more robust thesis. If it only looks cheap in the most optimistic corner, you're relying on best-case assumptions β and that's a red flag.
You can run the same kind of analysis on revenue growth rates, margin assumptions, or capex projections. The goal is to understand which assumptions your conclusion depends on most heavily, and to stress-test whether those assumptions are realistic.
Common DCF Mistakes to Avoid
Overly optimistic growth rates. Projecting 15%+ annual revenue growth for 10 years is almost always unjustified outside of a handful of exceptional businesses. Mean reversion is real.
Ignoring capital intensity. A company that needs to pour $1 back into capex for every $1 of incremental revenue isn't generating free cash flow from growth. Don't confuse revenue or earnings growth with FCF growth.
Terminal value anchored on recent market multiples. If markets are richly valued when you build the model, using current EV/EBITDA multiples for terminal value bakes in today's premium. Use normalized or through-the-cycle multiples when possible.
Not stress-testing. A DCF that lives or dies on a single set of assumptions is a point estimate dressed up as analysis.
DCF as a Framework, Not a Magic Number
The best use of a DCF isn't to produce a single precise price target β it's to force disciplined thinking about the business. Building one requires you to understand how the company makes money, where it's going, and what risks could derail it. The process is often as valuable as the output.
Combine DCF with relative valuation (comparing multiples to peers) and you have a more complete picture of value.
At valueofstock.com, we break down valuation frameworks like DCF in plain language β so you can build conviction in your investment thesis without needing an MBA. Explore our tools and analysis to level up your research.
The information in this article is for educational purposes only and does not constitute investment advice. Always do your own research before making investment decisions.
Get Weekly Stock Picks & Analysis
Free weekly stock analysis and investing education delivered straight to your inbox.
Free forever. Unsubscribe anytime. We respect your inbox.