Discounted Cash Flow Calculator (DCF)

Estimate the intrinsic value of a business or investment by discounting projected future cash flows to present value.

📊 DCF Calculator — Discounted Cash Flow
Discount Rate (Required Return)10%
Projected Cash FlowsOne per line or comma-separated, starting from Year 1
Terminal Value at End of ProjectionEnter 0 if not applicable
Current Market Price (optional)Leave 0 to skip margin of safety
Current Free Cash Flow (FCF₀)Latest annual FCF — Operating CF minus CapEx
High-Growth Rate15%
High-Growth Period5 yr
Terminal Growth Rate (perpetual)3%
Discount Rate (WACC)10%
Current Market Price (optional)Leave 0 to skip margin of safety
PV of Projected Cash Flows
PV of Terminal Value
Intrinsic Value
Current Market Price
Margin of Safety
Valuation Signal
Projection Period
Discount Rate Used

DCF analysis is inherently uncertain. Use multiple scenarios and always apply a margin of safety. This is educational, not investment advice.

What Is Discounted Cash Flow (DCF) Analysis?

Discounted Cash Flow analysis is the most theoretically rigorous method of valuing any income-producing asset — a stock, a business, a bond, a real estate property, or an investment project. The core principle is simple: the value of any asset today is the sum of all the cash it will generate in the future, adjusted for the time value of money. A dollar received five years from now is worth less than a dollar received today, because today’s dollar can be invested and grow. DCF makes this adjustment by “discounting” future cash flows back to their present-day equivalent.

The method was formalised by John Burr Williams in his 1938 book The Theory of Investment Value, where he argued that the value of a stock is the present value of all its future dividends — a concept that generalises to any cash-generating asset. Warren Buffett has described DCF as the correct way to think about business valuation, famously attributing the idea to Aesop’s ancient fable: “A bird in the hand is worth two in the bush.” The question is how certain you are that the birds exist and how long you must wait for them.

In practice, DCF analysis requires two categories of inputs: projected future cash flows and a discount rate. The cash flows are typically free cash flow (operating cash flow minus capital expenditures), which represents the money the business generates that could be returned to shareholders. The discount rate reflects the investor’s required rate of return — the minimum return needed to justify the risk of the investment. Higher-risk investments require higher discount rates, which reduce the intrinsic value.

The most common challenge in DCF is estimating cash flows beyond two to three years, where uncertainty compounds rapidly. Small changes in growth rate assumptions, compounded over ten years, produce dramatically different intrinsic values. This is why margin of safety is essential: by only purchasing assets trading at a significant discount to your DCF estimate, you protect against estimation errors.

DCF analysis has two practical implementations: direct cash flow entry (where you supply individual year-by-year projections plus a terminal value) and the two-stage growth model (where you specify a growth rate for a high-growth period, then a perpetual terminal growth rate). The two-stage model, popularised by Aswath Damodaran at NYU Stern, is the most widely used form for stock valuation.

Formula

Cash Flows mode — intrinsic value:

V = CF₁/(1+r)¹ + CF₂/(1+r)² + … + CF_n/(1+r)^n + TV/(1+r)^n

Two-Stage Growth — high-growth phase:

PV_high = Σ [FCF₀ × (1+g_h)^t / (1+r)^t] for t = 1 to n

Two-Stage Growth — terminal value (Gordon Growth Model):

TV = FCF_n × (1+g_t) / (r − g_t)

Margin of safety:

MoS = (Intrinsic Value − Market Price) / Intrinsic Value × 100%

Where: r = discount rate, g_h = high-growth rate, g_t = terminal growth rate, n = high-growth years, TV = terminal value.

How to Use This Calculator

  1. Choose a mode. Cash Flows mode lets you enter year-by-year projections directly. Two-Stage Growth uses the Gordon Growth Model — better when you know a company’s expected growth trajectory.
  2. Set your discount rate. Use the slider or type your required rate of return. Most equity investors use 10% to 15%. Lower rates = higher valuations.
  3. Enter your cash flows or growth inputs. In Cash Flows mode, paste projections (one per year) and a terminal value. In Growth mode, enter the starting FCF, growth rates, and projection years.
  4. Enter the market price (optional). This enables the margin of safety calculation showing whether the asset appears undervalued.
  5. Click Calculate to see intrinsic value, terminal value contribution, and the valuation signal.

Example Calculations

Example 1 — Direct Cash Flows: Discount rate 10%. Cash flows: $1,200, $1,400, $1,600, $1,800, $2,100 (years 1–5). Terminal value $22,000. PV of CFs = $1,091 + $1,157 + $1,202 + $1,229 + $1,304 = $5,983. PV of TV = $22,000 / 1.1⁵ = $13,664. Intrinsic value = $19,647. If market price is $15,000, margin of safety = 23.6%.

Example 2 — Two-Stage Growth: FCF₀ = $1,000. High growth = 15% for 5 years. Terminal growth = 3%. WACC = 10%. Year 1–5 FCFs (growing at 15%): $1,150; $1,323; $1,521; $1,749; $2,011. PV of high-growth period ≈ $5,764. FCF₅ = $2,011. TV = $2,011 × 1.03 / (0.10 − 0.03) = $29,590. PV of TV = $29,590 / 1.1⁵ = $18,373. Intrinsic value ≈ $24,137. Terminal value represents 76% of total value.

Example 3 — Sensitivity to discount rate: Same inputs as Example 2 but change WACC to 12%: Intrinsic value falls to ≈ $18,400 — a 24% decline from a 2% rate increase. This illustrates why discount rate assumption matters more than any near-term cash flow projection.

Frequently Asked Questions

What is a Discounted Cash Flow (DCF) analysis?
DCF analysis is a valuation method that estimates the intrinsic value of an investment by projecting its future cash flows and discounting them back to present value using a required rate of return (discount rate). The core idea is that a dollar today is worth more than a dollar tomorrow because today's dollar can be invested. By discounting future cash flows, DCF converts them to today's equivalent value. The sum of all discounted cash flows equals the investment's intrinsic value.
What is the DCF formula?
Intrinsic Value = Σ [CF_t / (1+r)^t] + TV / (1+r)^n, where CF_t is the cash flow in year t, r is the discount rate, n is the number of projection periods, and TV is the terminal value at the end of the projection period. The terminal value captures the value of all cash flows beyond year n and is typically calculated using the Gordon Growth Model: TV = CF_n × (1+g) / (r − g), where g is the perpetual growth rate.
How is DCF different from NPV?
NPV and DCF use the same discounting math, but serve different purposes. NPV measures whether a project creates value by subtracting the initial investment from the sum of discounted cash flows — the answer is a dollar amount of value created. DCF analysis as used in stock valuation finds the total intrinsic value of a business by discounting all future cash flows (including a terminal value) without subtracting an initial investment. You then compare the intrinsic value to the market price to determine if the stock is undervalued.
What discount rate should I use for DCF?
For business/stock valuation, the discount rate should be your Weighted Average Cost of Capital (WACC) or your required rate of return. WACC blends the cost of debt (after-tax interest) and the cost of equity (expected return demanded by shareholders, often estimated via CAPM). Many retail investors use a flat required return of 10% to 15% for equities, reflecting the long-run equity risk premium over risk-free rates. Higher discount rates produce lower intrinsic values; lower rates inflate them.
What is terminal value in a DCF?
Terminal value (TV) captures the present value of all cash flows beyond your explicit projection period. Since you cannot project cash flows indefinitely year by year, the terminal value approximates the lump-sum value at the end of the projection (commonly 5 to 10 years), assuming the business grows at a stable rate forever. It is calculated as TV = FCF_final × (1+g) / (r−g) using the Gordon Growth Model. Terminal value typically represents 60% to 80% of total intrinsic value — making the terminal growth rate assumption critical.
What is a good margin of safety?
Margin of safety = (Intrinsic Value − Market Price) / Intrinsic Value × 100%. Benjamin Graham, the father of value investing, required a minimum margin of safety of 25% before purchasing any security. Warren Buffett typically seeks 30% to 50% on his best ideas. A larger margin of safety protects against errors in your cash flow projections, which are inherently uncertain. If your DCF gives an intrinsic value of $100 and the stock trades at $70, the margin of safety is 30%.
What is the Two-Stage DCF model?
The two-stage DCF model divides the projection into two phases: a high-growth phase (typically 5 to 10 years) where the company grows faster than the economy, and a stable perpetual phase thereafter. In the first phase, each year's free cash flow is projected by growing the prior year's FCF at the high-growth rate and discounted individually. At the end of the high-growth phase, the Gordon Growth Model terminal value is calculated at the lower perpetual growth rate and also discounted to present. The sum of both stages is the intrinsic value.
Why is DCF sensitive to small changes in assumptions?
DCF is highly sensitive to the discount rate and terminal growth rate because of the compounding math involved. A 1% change in either input over a 10-year projection, applied to a perpetuity terminal value, changes the intrinsic value by 20% to 40% or more. This is why investors use a wide margin of safety — to buffer against the inherent imprecision of the inputs. The inputs that matter most (in order) are: terminal growth rate, discount rate, FCF in the final projection year, then near-term cash flows.
What free cash flow figure should I use as the starting point?
Use trailing twelve-month (TTM) free cash flow as the starting point in the Two-Stage Growth model: FCF = Operating Cash Flow − Capital Expenditures. Both figures are on the cash flow statement. Some analysts prefer to normalise FCF by averaging the last 3 to 5 years to smooth out capital expenditure lumps. For cyclical businesses, use a normalised mid-cycle figure rather than peak or trough FCF, which would over- or understate intrinsic value.
What is WACC and how do I estimate it?
Weighted Average Cost of Capital (WACC) = (E/V × Re) + (D/V × Rd × (1−T)), where E is equity market value, D is debt market value, V = E+D, Re is the cost of equity (expected return on equity using CAPM), Rd is the cost of debt (pre-tax interest rate), and T is the corporate tax rate. For a rough estimate: cost of equity ≈ risk-free rate + beta × equity risk premium. A 10-year Treasury yield around 4%, equity risk premium of 5.5%, and beta of 1.0 gives Re ≈ 9.5%. Many value investors bypass WACC entirely and use a fixed 10% required return.
How accurate is DCF valuation?
DCF is theoretically rigorous but practically imprecise. Its accuracy depends entirely on the quality of cash flow projections, which become increasingly uncertain beyond 2 to 3 years. Even professional analysts routinely miss earnings by 20%+ for 5-year-out projections. DCF is best used not to determine a precise price but as a range: run pessimistic, base, and optimistic scenarios. If all three scenarios show a large margin of safety, the investment is compelling. If all three barely cover the market price, there is minimal cushion.