DCF Calculator: Discounted Cash Flow Valuation Step by Step
By FindMySum · Last reviewed
A share is a claim on a business's future cash. This DCF calculator values that claim the way analysts do: forecast free cash flow for five to ten years, estimate what the business is worth after that (the terminal value), discount everything back to today, and divide what's left for shareholders by the number of shares. It then compares the result with the market price and shows how much the value changes with the discount rate and terminal assumption.
The four steps
1. Forecast free cash flow. Either grow this year's free cash flow at a steady rate, or enter a forecast for each year. Free cash flow to the firm (FCFF) is cash from operations after taxes and investment but before interest; the free cash flow calculator shows how to get it.
2. Estimate the terminal value. A business usually outlives any forecast, so the terminal value captures everything after the last forecast year. Two methods are common:
- Gordon growth: TV = FCFₙ × (1 + g) ÷ (r − g), where g is the growth rate the business can sustain forever.
- Exit multiple: TV = FCFₙ × a multiple, based on what similar companies trade for.
3. Discount to today. Each year's cash flow is divided by (1 + r)ᵗ, and the terminal value by (1 + r)ⁿ. The total is the enterprise value. The explicit years match Excel's NPV function.
4. Get to a value per share. Subtract net debt (debt minus cash) to get the equity value, then divide by diluted shares outstanding.
Choosing the discount rate
The CFA Institute curriculum pairs each cash flow with its rate: FCFF, which belongs to lenders and shareholders, is discounted at the weighted average cost of capital; free cash flow to equity, after lenders are paid, is discounted at the cost of equity. If you value FCFE, set net debt to 0, since lenders are already paid. The WACC calculator builds the rate from a CAPM cost of equity and the after-tax cost of debt.
A worked example
The calculator starts with a business that generated $1,000,000 of free cash flow this year, expected to grow 6% a year for five years, a discount rate of 8%, terminal growth of 2.5%, net debt of $2,000,000 and 1,000,000 shares trading at $18.
- Forecast FCF: $1,060,000, $1,123,600, $1,191,016, $1,262,477 and $1,338,226.
- Their present value at 8%: $4,728,986.
- Terminal value: $1,338,226 × 1.025 ÷ (0.08 − 0.025) = $24,939,658, worth $16,973,513 today.
- Enterprise value: $4,728,986 + $16,973,513 = $21,702,499.
- Equity value: $21,702,499 − $2,000,000 = $19,702,499, or $19.70 a share.
Against the $18 price, that's about 9.5% upside and a margin of safety of 8.6%. Note that 78% of the value comes from the terminal value.
Why the sensitivity grid matters
Because the terminal value usually dominates, a DCF is very sensitive to two numbers: the discount rate and the terminal growth rate (or exit multiple). The grid under the results repeats the valuation for discount rates one and two points either side of yours and for terminal growth half a point and a point either side. In the example, moving the discount rate from 8% to 9% lowers the value per share by about 17%, from $19.70 to $16.32.
If small, reasonable changes swing the answer from "cheap" to "expensive", the DCF isn't telling you much on its own. Damodaran's advice is to tie every input to a story about the business and check that the numbers make sense together: high growth needs high reinvestment, and growth forever can't outpace the economy.
Common mistakes
- Terminal growth too high: above long-run nominal GDP growth, the business would eventually be bigger than the economy.
- Mismatched cash flow and rate: FCFF needs WACC; FCFE needs the cost of equity.
- Double-counting debt: don't subtract net debt from a value built on FCFE.
- Ignoring dilution: use diluted shares, including options and convertibles that are likely to be exercised.
- Forgetting reinvestment: growth costs capital spending and working capital; a forecast with high growth but no extra investment overstates cash flow.
A DCF is a disciplined way to turn assumptions into a value. It doesn't remove the uncertainty, but it shows exactly which assumptions drive the answer.
More questions
How many years should a DCF forecast cover?
Long enough for the business to reach a steady state, when growth settles near the terminal rate. Five years suits a mature company; a fast-growing one may need ten so that growth can fade gradually before the terminal value takes over.
What is the mid-year convention?
An adjustment that assumes cash arrives through the year rather than all at year end, by discounting each year's cash flow half a year less. It raises the value a little. This calculator uses year-end discounting, the simpler and more conservative choice.
Can I use a DCF for a company with negative cash flow?
Yes, as long as the forecast eventually turns positive. Enter each year's cash flow, including the negative ones. The value then rests heavily on the later years and the terminal value, so the uncertainty is larger.
How does a DCF differ from the dividend discount model?
The dividend discount model values only the dividends shareholders receive. A DCF values all the free cash flow, whether it's paid out or not, which suits companies that pay small or no dividends. For a stable dividend payer the two should give similar answers.
What is net debt?
Borrowings minus cash and short-term investments. Lenders have a claim on the business ahead of shareholders, so it comes off the enterprise value to leave the equity value. A company with more cash than debt has negative net debt, which adds to the equity value.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.