Lesson 725 min

Complete DCF Walkthrough: From Assumptions to Share Price

Put everything together in a comprehensive, step-by-step DCF valuation of a realistic company, from initial assumptions through final share price calculation.

Learning Objectives

  • Build a complete DCF model from start to finish
  • See how each component connects to produce a valuation
  • Create and interpret sensitivity analysis
  • Calculate the bridge from Enterprise Value to Share Price

Complete DCF Walkthrough: From Assumptions to Share Price#

You've learned each component of a DCF. Now it's time to put everything together and value a company from scratch. We'll walk through the entire process using NexGen Software, a fictional mid-sized enterprise software company.

Our Mission: Determine whether NexGen's current stock price of $45 per share represents good value. We'll build a complete DCF model and arrive at an intrinsic value range.

Step 1: Understand the Company#

Before building spreadsheets, understand the business:

NexGen Software Profile#

ItemDetails
BusinessEnterprise resource planning (ERP) software
Revenue Model70% subscription, 30% services
CustomersMid-market companies ($50M-$500M revenue)
CompetitionSAP, Oracle (large enterprises), Intuit (small business)
MoatHigh switching costs, deep customer integrations
Current StageGrowth phase, investing heavily in market expansion

Recent Financials#

Metric2024 (Actual)
Revenue$800M
Gross Margin72%
Operating Margin15%
Net Income$96M
Depreciation$24M
CapEx$40M
Working Capital$80M (10% of revenue)
Shares Outstanding100M
Current Stock Price$45
Market Cap$4.5B
Net Debt$200M

Step 2: Build Revenue Projections#

Using the approaches from our forecasting lesson:

Historical Growth#

  • 3-year CAGR: 18%
  • Last year: 15%
  • Trend: Decelerating as company matures

Market Context#

  • Enterprise software market growing ~10% annually
  • NexGen gaining share but facing more competition
  • TAM for mid-market ERP: ~$15B

Revenue Projection#

YearRevenueGrowthRationale
2024A$800M15%Actual
2025E$912M14%Continued momentum
2026E$1,021M12%Growth deceleration
2027E$1,113M9%Approaching maturity
2028E$1,191M7%Near market growth
2029E$1,262M6%Terminal approach

5-year CAGR: 9.5% (reasonable for maturing software company)

Step 3: Project Margins and Costs#

Operating Margin Build#

As NexGen scales, we expect margin expansion from operating leverage:

YearRevenueGross MarginR&D %S&M %G&A %Op Margin
2024A$800M72%18%30%9%15.0%
2025E$912M73%17%28%8%20.0%
2026E$1,021M74%16%26%7%25.0%
2027E$1,113M74%15%24%7%28.0%
2028E$1,191M75%15%23%6%31.0%
2029E$1,262M75%14%22%6%33.0%

Key Assumptions:

  • Gross margin improves slightly (scale in hosting, subscription mix)
  • R&D declines as % of revenue (existing products generate more revenue)
  • S&M efficiency improves (brand recognition, customer referrals)
  • G&A shows operating leverage (fixed corporate costs)

Step 4: Calculate Free Cash Flow#

FCFF Calculation#

Item2025E2026E2027E2028E2029E
Revenue$912M$1,021M$1,113M$1,191M$1,262M
Operating Income$182M$255M$312M$369M$416M
(-) Taxes (25%)($46M)($64M)($78M)($92M)($104M)
NOPAT$137M$191M$234M$277M$312M
(+) Depreciation$27M$31M$33M$36M$38M
(-) CapEx (5% of rev)($46M)($51M)($56M)($60M)($63M)
(-) Δ Working Capital($11M)($11M)($9M)($8M)($7M)
Free Cash Flow$107M$160M$202M$245M$280M

Assumptions:

  • Tax rate: 25%
  • Depreciation: ~3% of revenue (software is asset-light)
  • CapEx: 5% of revenue (includes capitalized software development)
  • Working capital: 10% of revenue (change = 10% × revenue growth)

Step 5: Calculate WACC#

Cost of Equity (using CAPM)#

Cost of Equity = Risk-Free Rate + Beta × Equity Risk Premium
ComponentValueSource
Risk-Free Rate4.5%10-year Treasury yield
Beta1.1Industry average for mid-cap software
Equity Risk Premium5.5%Historical market premium
Cost of Equity = 4.5% + 1.1 × 5.5% = 10.55%

Cost of Debt#

Cost of Debt (after-tax) = Interest Rate × (1 - Tax Rate)
Cost of Debt = 6% × (1 - 0.25) = 4.5%

WACC Calculation#

ComponentValueWeightWeighted Cost
Equity$4.5B (market cap)95.7%10.1%
Debt$200M (net debt)4.3%0.2%
WACC100%10.3%

We'll use 10% for round numbers (within reasonable range).

Step 6: Calculate Terminal Value#

Using the Perpetuity Growth Method:

Terminal Value = Final Year FCF × (1 + g) / (WACC - g)
ComponentValue
2029 FCF$280M
Terminal Growth Rate (g)3% (nominal GDP)
WACC10%
Terminal Value = $280M × 1.03 / (0.10 - 0.03)
Terminal Value = $288M / 0.07
Terminal Value = $4,118M

Terminal Value Sensitivity

At 3% terminal growth, TV = $4.1B. At 4% growth, TV = $4.9B. At 2% growth, TV = $3.6B. This 1% change in growth assumption moves value by $500M-$800M. Always run sensitivity analysis!

Step 7: Discount Cash Flows to Present Value#

Now we bring everything back to today's value:

YearFCFDiscount FactorPresent Value
2025$107M1/(1.10)^1 = 0.909$97M
2026$160M1/(1.10)^2 = 0.826$132M
2027$202M1/(1.10)^3 = 0.751$152M
2028$245M1/(1.10)^4 = 0.683$167M
2029$280M1/(1.10)^5 = 0.621$174M
Terminal$4,118M1/(1.10)^5 = 0.621$2,557M

Sum of Present Values:

  • PV of Explicit FCFs (2025-2029): $722M
  • PV of Terminal Value: $2,557M
  • Enterprise Value: $3,279M

What This Tells Us#

Terminal value represents 78% of total Enterprise Value ($2,557M / $3,279M). This is typical for DCF models—most value comes from the "forever" cash flows after the explicit forecast period.

Step 8: Bridge to Equity Value#

Enterprise Value represents the value to all capital providers. To get equity value (what shareholders own):

Equity Value = Enterprise Value - Net Debt + Non-Operating Assets
ItemValue
Enterprise Value$3,279M
(-) Net Debt($200M)
(+) Excess Cash$0
Equity Value$3,079M

Step 9: Calculate Per-Share Value#

Intrinsic Value Per Share = Equity Value / Shares Outstanding
Intrinsic Value = $3,079M / 100M shares = $30.79 per share

The Verdict

Our DCF suggests NexGen is worth $31 per share, but it's trading at $45 per share. Based on our assumptions, the stock appears overvalued by ~45%.

Step 10: Sensitivity Analysis#

But our assumptions might be wrong. Let's test different scenarios:

WACC vs. Terminal Growth Rate#

g = 2%g = 3%g = 4%
WACC = 9%$36$44$57
WACC = 10%$28$31$40
WACC = 11%$23$26$31

Revenue Growth Sensitivity#

Scenario5-Year Revenue CAGRShare Price
Bear6%$24
Base9.5%$31
Bull13%$42

Operating Margin Sensitivity#

ScenarioTerminal Op MarginShare Price
Bear25%$25
Base33%$31
Bull38%$38

Interpreting Our Results#

The Range of Values#

From sensitivity analysis, reasonable intrinsic value ranges from $24 to $57 per share:

  • Bear case: Lower growth, lower margins, higher WACC → $24
  • Base case: Our primary assumptions → $31
  • Bull case: Higher growth, margin expansion, lower WACC → $42-57

Investment Decision Framework#

Current Price vs. IntrinsicAction
Price far below base caseConsider buying
Price near base caseHold / neutral
Price far above base caseConsider selling
Price within sensitivity rangeDepends on your confidence in assumptions

At $45, NexGen trades above even our bull case base ($42) unless you believe in the most optimistic scenario (4% perpetual growth, 9% WACC). This suggests limited margin of safety.

Common DCF Mistakes to Avoid#

1. Terminal Value Dominance#

If terminal value is >90% of enterprise value, your explicit forecasts don't matter much. Either extend the forecast period or question your terminal assumptions.

2. Inconsistent Assumptions#

If you project 3% terminal growth but assume the company reaches 40% market share, those assumptions conflict. Growth slows when you dominate your market.

3. Ignoring Competition#

Our margin expansion assumes NexGen can reach 33% operating margins. But if competitors cut prices, margins could compress. Always consider competitive scenarios.

4. False Precision#

We calculated $30.79. But given the uncertainty, saying "$28-34 range" is more honest than implying three-decimal precision.

5. Forgetting Non-Operating Items#

Some companies have significant non-operating assets (investments, real estate, cash). These add to equity value beyond the DCF of operating cash flows.

Key Takeaways

The 10-Step DCF Process:

  1. Understand the business - competitive position, moat, growth drivers
  2. Project revenue - historical trends, market sizing, growth fade
  3. Project margins - operating leverage, industry benchmarks
  4. Calculate Free Cash Flow - NOPAT + D&A - CapEx - Δ WC
  5. Determine WACC - Cost of Equity (CAPM) and Cost of Debt blended
  6. Calculate Terminal Value - perpetuity or exit multiple
  7. Discount to present - apply discount factors to all cash flows
  8. Bridge to Equity Value - subtract net debt
  9. Calculate share price - divide by shares outstanding
  10. Run sensitivity analysis - test key assumptions

Key Insights:

  • Terminal value typically represents 60-80% of total value
  • Small changes in WACC or terminal growth dramatically affect value
  • Express value as a range, not a precise number
  • Always ask: "What would make me wrong?"