DCF Valuation Step by Step: How to Value Any Stock in 6 Steps
The Discounted Cash Flow (DCF) method is the foundation of fundamental investing. Warren Buffett has called it the only correct way to think about what any business is worth. And while it requires estimates and judgment calls, the underlying logic is straightforward: a company is worth the sum of all the cash it will ever generate, discounted back to today's dollars.
This guide walks through every step of a DCF valuation with a complete numerical example so you can see exactly how the numbers flow from one stage to the next.
This article is for educational purposes only and does not constitute financial advice.
Why DCF Is the Core Valuation Framework
Multiples like P/E or EV/EBITDA are shortcuts — they imply a DCF without making it explicit. When you pay 25x earnings for a company, you are implicitly assuming a certain growth trajectory and discount rate. DCF forces you to make those assumptions explicit, which makes your thinking cleaner and your errors more visible.
The tradeoff is that DCF is sensitive to its inputs. Small changes in the growth rate or discount rate produce large changes in estimated value. This is not a flaw of the method — it reflects the genuine uncertainty of valuing a business. Done correctly, DCF produces a range of intrinsic values, not a single point estimate.
The Example Company
Throughout this guide we will use ExampleCorp, a mid-sized software company:
- Current Free Cash Flow (FCF): $50 million
- Expected FCF growth (Years 1-5): 10% per year
- Expected FCF growth (Years 6-10): 5% per year (maturation)
- WACC (discount rate): 10%
- Terminal growth rate: 3%
- Net debt (debt minus cash): $100 million
- Shares outstanding: 50 million
Step 1: Calculate Historical Free Cash Flow (3-5 Years)
Free Cash Flow is the cash a company generates after paying for capital expenditures needed to maintain and grow the business. The most common definition is:
FCF = Operating Cash Flow - Capital Expenditures
A stricter version adjusts for working capital changes:
FCF = EBIT × (1 - Tax Rate) + D&A - CapEx - Change in Net Working Capital
Why 3-5 years of history? You need enough data to identify the trend, separate cyclical fluctuations from structural shifts, and understand whether FCF is growing or declining as a percentage of revenue.
For ExampleCorp, assume the last four years of FCF were: $38M, $42M, $46M, $50M — a consistent upward trend of roughly 9-10% per year. This gives us confidence in projecting a similar near-term rate.
Key checks at this stage:
- Is FCF consistently positive, or does it swing in and out of positive territory?
- Is FCF growing faster or slower than reported net income? A large gap may signal earnings quality issues.
- Are capital expenditures growing as a percentage of revenue (a potential red flag for capital intensity)?
Step 2: Project FCF for the Next 5-10 Years
With a historical baseline established, the next step is projecting future FCF. DCF models typically use two stages:
- Stage 1 (Years 1-5): Higher growth, closer to recent trends
- Stage 2 (Years 6-10): Moderating growth as the company matures
For ExampleCorp:
| Year | FCF Growth | Projected FCF |
|---|---|---|
| 1 | 10% | $55.0M |
| 2 | 10% | $60.5M |
| 3 | 10% | $66.6M |
| 4 | 10% | $73.2M |
| 5 | 10% | $80.5M |
| 6 | 5% | $84.5M |
| 7 | 5% | $88.7M |
| 8 | 5% | $93.2M |
| 9 | 5% | $97.8M |
| 10 | 5% | $102.7M |
Growth rate anchors to consider:
- Revenue growth rate (FCF growth cannot sustainably outpace revenue growth indefinitely)
- Industry growth rates
- Competitive position and pricing power
- Management guidance, adjusted for optimism bias
- Analyst consensus as a sanity check, not a substitute for your own estimate
Avoid projecting double-digit growth beyond 5 years for most companies — very few businesses sustain high-growth periods for a decade.
Step 3: Calculate Terminal Value
The terminal value (TV) captures all cash flows beyond your explicit projection period. It typically represents 60-80% of the total DCF value, which means getting this number right matters enormously.
There are two methods:
Gordon Growth Model (Perpetuity Growth)
TV = FCFn × (1 + g) / (WACC - g)
Where FCFn is the final year FCF in your projection, g is the terminal growth rate, and WACC is the discount rate.
For ExampleCorp (using Year 10 FCF of $102.7M, terminal growth of 3%, WACC of 10%):
TV = $102.7M × 1.03 / (0.10 - 0.03) = $105.8M / 0.07 = $1,511M
Exit Multiple Method
The alternative approach applies a market multiple to the final year's EBITDA or EBIT:
TV = FCFn × Exit Multiple
If companies in ExampleCorp's industry typically trade at 15x FCF at maturity, then:
TV = $102.7M × 15 = $1,541M
Both methods give similar results here, which is a good sign. When they diverge significantly, investigate why.
A critical warning: The terminal growth rate must be lower than the long-run GDP growth rate (roughly 2-3% in nominal terms). Using 5% or higher creates a mathematical absurdity — it implies the company will eventually be larger than the entire economy. Even 3% is optimistic for most businesses; 2% is more conservative.
Step 4: Choose Your Discount Rate (WACC)
The discount rate is the return required by all capital providers — equity holders and debt holders combined. This is the Weighted Average Cost of Capital (WACC).
WACC = (E/V) × Ke + (D/V) × Kd × (1 - t)
Where:
- E = market value of equity
- D = market value of debt
- V = E + D (total capital)
- Ke = cost of equity (typically estimated via CAPM)
- Kd = pre-tax cost of debt (yield on the company's bonds)
- t = corporate tax rate
For ExampleCorp, assume:
- Capital structure: 80% equity, 20% debt
- Cost of equity (CAPM): 11%
- Pre-tax cost of debt: 5%
- Tax rate: 25%
WACC = 0.80 × 11% + 0.20 × 5% × (1 - 0.25) = 8.8% + 0.75% = 9.55% ≈ 10%
The ValueMarkers WACC Calculator automates this calculation, pulling in beta and current debt costs from live market data.
Typical WACC ranges by sector:
- Large-cap consumer staples: 7-9%
- Technology / software: 9-12%
- Small-cap / high-growth: 12-15%+
- Utilities / REITs: 6-8%
Step 5: Discount All Cash Flows to Present Value
Now that you have projected FCFs and the terminal value, discount each back to today using the present value formula:
PV = Cash Flow / (1 + WACC)^n
For ExampleCorp (WACC = 10%):
| Year | Projected FCF | Discount Factor | Present Value |
|---|---|---|---|
| 1 | $55.0M | 0.909 | $50.0M |
| 2 | $60.5M | 0.826 | $50.0M |
| 3 | $66.6M | 0.751 | $50.0M |
| 4 | $73.2M | 0.683 | $50.0M |
| 5 | $80.5M | 0.621 | $50.0M |
| 6 | $84.5M | 0.564 | $47.7M |
| 7 | $88.7M | 0.513 | $45.5M |
| 8 | $93.2M | 0.467 | $43.5M |
| 9 | $97.8M | 0.424 | $41.5M |
| 10 | $102.7M | 0.386 | $39.6M |
| TV | $1,511M | 0.386 | $583.2M |
Total PV of projected FCFs: approximately $467.8M
PV of terminal value: $583.2M
Total enterprise value: $1,051M
Step 6: Calculate Intrinsic Value Per Share
The total present value is the enterprise value of the business — what it is worth to all capital providers. To get to equity value (what it is worth to shareholders specifically), you must adjust for the balance sheet:
Equity Value = Enterprise Value - Net Debt
Net debt = Total debt - Cash and cash equivalents
For ExampleCorp:
- Enterprise value: $1,051M
- Net debt: $100M (debt exceeds cash)
- Equity value: $951M
Then divide by shares outstanding:
Intrinsic Value Per Share = $951M / 50M shares = $19.02 per share
If ExampleCorp is currently trading at $16 per share, it appears to offer a margin of safety of roughly 16%. Many value investors require a 20-30% margin of safety before buying.
The ValueMarkers DCF Calculator runs this entire sequence automatically. You input FCF, growth assumptions, WACC, and net debt, and it outputs intrinsic value per share along with a sensitivity table showing how the result changes across different WACC and growth scenarios.
Common Mistakes in DCF Valuation
1. Terminal Growth Rate Too High
Using a 5% or 6% terminal growth rate is one of the most common errors. At these rates, the terminal value becomes astronomically large and drives almost the entire valuation. Anchor terminal growth to long-run nominal GDP growth or lower.
2. Failing to Adjust for Net Debt
Many analysts calculate enterprise value but forget to subtract net debt to get equity value. If a company has $500M in debt and $50M in cash, forgetting that $450M in net debt is a significant error.
3. Mixing Nominal and Real Rates
Your FCF projections and WACC must be in the same terms. If you are projecting nominal cash flows (which includes inflation), use a nominal WACC (which includes expected inflation). Mixing the two will systematically over- or under-value the business.
4. Single-Point Estimates Without Sensitivity Analysis
No one can predict future cash flows precisely. Professional analysts always present DCF as a range — typically a bull case, base case, and bear case — and show a sensitivity table with intrinsic value across different WACC and growth rate combinations.
5. Not Stress-Testing the Terminal Value Assumption
If the terminal value is 80% of your total valuation, your estimate is highly sensitive to the long-run growth assumption. Stress-test it: what happens if the terminal growth rate is 1% instead of 3%? That difference alone can change intrinsic value by 30%.
Putting It All Together
DCF valuation is not a mechanical exercise that produces a precise answer. It is a structured way of asking: under what assumptions does the current price make sense, and are those assumptions reasonable?
When you run a DCF on ExampleCorp and arrive at $19 per share, you are not saying the stock is definitely worth $19. You are saying: if the company grows FCF at 10% for five years, then 5% for five more, earns a 3% terminal growth rate, and we discount at 10%, then the value works out to $19.
The discipline is in the assumptions, not the arithmetic.
Use the ValueMarkers DCF Calculator to run your own DCF on any company. Input your assumptions and get instant intrinsic value, sensitivity tables, and comparison to the current market price — all in one place.