← Back to Blog

Discounted Cash Flow (DCF) Explained — A Step-by-Step Guide for Beginners

·SafetyMargin.io
DCFintrinsic valuevaluationfree cash flow

The Discounted Cash Flow (DCF) model is the foundation of intrinsic value investing. It answers a simple question: what is a business worth today, based on the cash it will generate in the future?

Every asset — a stock, a rental property, a bond — is ultimately worth the present value of its future cash flows. The DCF model makes this idea concrete and calculable.

The Core Idea

A dollar today is worth more than a dollar tomorrow. If someone offers you $100 today or $100 a year from now, you'd take it today — you could invest it and have more than $100 next year. This is the time value of money.

The DCF model works backward from this principle: it takes future cash flows, discounts them to account for the time value of money and risk, and sums them up to get a present value.

Step 1: Estimate Current Free Cash Flow

Free cash flow (FCF) is the cash a company generates after paying for everything it needs to maintain and grow its operations:

FCF = Operating Cash Flow − Capital Expenditures

This is your starting point. You can find this on any stock page on SafetyMargin.io — it's displayed in the Key Metrics Panel and tracked over time in the Historical Charts.

For a more stable estimate, some analysts use the trailing twelve months (LTM) FCF, while others prefer a 3-year average to smooth out cyclical fluctuations. SafetyMargin.io lets you choose either approach.

Step 2: Project Future Growth

Next, you need to estimate how fast free cash flow will grow. A typical DCF model splits the projection into two phases:

  • Years 1–5 (high-growth phase): The company grows at a rate reflecting its current trajectory and competitive position. For a strong business like MSFT, this might be 12–15%. For a mature business like KO, perhaps 5–7%.
  • Years 6–10 (deceleration phase): Growth slows as the company matures and the law of large numbers kicks in. Typically 3–8%.

The key is to be conservative. Overly optimistic growth assumptions are the most common source of valuation errors.

Step 3: Calculate Terminal Value

After year 10, the model assumes the company continues generating cash indefinitely at a stable terminal growth rate — typically 2–3%, roughly matching long-term inflation and GDP growth.

Terminal value is calculated using the perpetuity growth model:

Terminal Value = FCF in Year 10 × (1 + Terminal Growth Rate) / (Discount Rate − Terminal Growth Rate)

This single number often accounts for 60–70% of the total DCF value, which is why the terminal growth rate assumption is so important. Even small changes — from 2% to 3% — can significantly move the result.

Step 4: Choose a Discount Rate

The discount rate reflects the required rate of return — the minimum return you'd need to justify the investment given its risk. For stocks, most analysts use 10% as a reasonable baseline, which is roughly the long-term average return of the S&P 500.

A higher discount rate means you're demanding a higher return (more conservative valuation). A lower rate means you're willing to accept a lower return (more aggressive valuation).

In formal finance, the discount rate is often the Weighted Average Cost of Capital (WACC), but for practical value investing, 10% is a solid starting point.

Step 5: Discount Everything to Present Value

Now you discount each year's projected FCF and the terminal value back to today:

Present Value = Future Cash Flow / (1 + Discount Rate)^Year

Sum up all the discounted cash flows (years 1–10) plus the discounted terminal value. This gives you the enterprise value — the total value of the business.

Step 6: Get to Per-Share Intrinsic Value

From enterprise value, you adjust for the balance sheet:

Equity Value = Enterprise Value + Cash − Total Debt

Then divide by shares outstanding:

Intrinsic Value Per Share = Equity Value / Shares Outstanding

Compare this to the current stock price, and you have your margin of safety:

Margin of Safety = (Intrinsic Value − Price) / Intrinsic Value × 100

A margin of safety of 30% or more is generally considered a strong buffer against estimation errors.

A Practical Example

Let's say a company has:

  • FCF of $10 billion
  • Expected growth of 12% for years 1–5, then 6% for years 6–10
  • Terminal growth rate of 2.5%
  • Discount rate of 10%
  • $20 billion in cash, $5 billion in debt
  • 1 billion shares outstanding

Running through the math, you'd project each year's FCF, discount it, add the terminal value, adjust for the balance sheet, and divide by shares. The result is your intrinsic value estimate.

On SafetyMargin.io, the DCF Analysis component does all of this automatically. You can adjust every input — growth rates, discount rate, cash flow basis — and see the intrinsic value update in real-time across Bear, Base, and Bull scenarios.

Common Pitfalls

  1. Garbage in, garbage out. The model is only as good as your assumptions. Always run multiple scenarios.
  2. Overweighting terminal value. If 80%+ of your DCF comes from terminal value, your growth assumptions for years 1–10 might be too conservative, or your terminal growth rate is too high.
  3. Ignoring the business. A DCF gives you a number, but it doesn't tell you whether the business has a durable competitive advantage. Always pair quantitative analysis with qualitative judgment.
  4. False precision. An intrinsic value of $142.37 is not meaningfully different from $140 or $145. Think in ranges, not exact numbers.

Try It Yourself

Pick any stock on SafetyMargin.io — say AAPL or JNJ — and open the DCF Analysis panel. The tool pre-fills reasonable assumptions based on the company's historical performance. Adjust them to match your own view of the business, and see where the margin of safety lands.

The DCF model isn't about predicting the future perfectly. It's about building a framework for thinking about value — and making sure you only buy when the price gives you a meaningful cushion against being wrong.