The formula
Cost of equity (CAPM) kₑ = risk-free rate + β × equity risk premium
After-tax cost of debt k_d = pre-tax cost × (1 − tax rate)
WACC = E ÷ (E + D) × kₑ + D ÷ (E + D) × k_d
FCFₜ = FCF₀ × (1 + g)ᵗ; PV = FCFₜ ÷ (1 + WACC)ᵗ
Terminal value = FCFₙ × (1 + g_T) ÷ (WACC − g_T)
Enterprise value = Σ PV(FCF) + PV(terminal value)
Equity value = EV − net debt; value per share = equity value ÷ shares
Worked example
- Equity is worth $800m and debt $200m, so the weights are 80% and 20%.
- Cost of equity = 4.3% + 1.2 × 5.5% = 10.9%. After-tax cost of debt = 6% × (1 − 25%) = 4.5%.
- WACC = 0.8 × 10.9% + 0.2 × 4.5% = 9.62%.
- Free cash flow of $50m grows 8% a year: $54.0m, $58.3m, $63.0m, $68.0m and $73.5m, worth $239.1m in today's money.
- Terminal value = 73.47 × 1.025 ÷ (0.0962 − 0.025) = $1,057.6m, or $668.2m discounted.
- Enterprise value = $907.3m. Less $150m of net debt, equity is worth $757.3m: $18.93 a share on 40m shares, 5.3% below the $20 market price.
What a DCF valuation does
A discounted cash flow (DCF) valuation estimates what a business is worth today based on the cash it's expected to generate in the future. You forecast free cash flow for several years, estimate a terminal value for everything after that, and discount it all back to today at a rate that reflects the risk: the weighted average cost of capital (WACC). The result is the company's enterprise value. Subtract net debt to get the value of the equity, and divide by shares outstanding for an intrinsic value per share.
Building the WACC
WACC blends the returns required by shareholders and lenders, weighted by the market value of each. The cost of equity usually comes from the Capital Asset Pricing Model (CAPM): the risk-free rate (a long-term government bond yield) plus beta times the equity risk premium. Beta measures how much the stock moves with the market; the equity risk premium is the extra return investors expect from stocks, commonly estimated at 4–6%. The cost of debt is the company's borrowing rate, reduced by the tax shield because interest is usually tax-deductible.
Free cash flow
Use unlevered free cash flow, the cash available to all capital providers: operating profit after tax, plus depreciation and amortisation, minus capital expenditure and increases in working capital. Because it's before interest payments, it's discounted at the WACC. If you use levered free cash flow (after interest), discount it at the cost of equity and skip the net debt step. Mixing the two is a common error.
The terminal value dominates
The Gordon growth terminal value assumes cash flows grow at a steady rate forever after the projection period. That rate should be modest, no higher than long-run nominal GDP growth, typically 2–3%. Even so, the terminal value is often 60–80% of enterprise value, as in the example (74%), so the result is very sensitive to the terminal growth rate and WACC. Try moving each by half a point: a small change can swing the value per share by 10–20%. Analysts often show a sensitivity table for this reason.
Sanity checks
- Compare with multiples: does the implied EV/EBITDA or P/E look reasonable compared with similar companies?
- Check the growth story: is 8% a year justified by the company's market and margins?
- Is WACC sensible? Large stable companies often have WACCs of 6–9%; small or risky companies 10–15% or more.
- Is terminal growth below WACC? If not, the formula breaks down, and the calculator will warn you.
Using the calculator
Enter values in millions, consistently. The market value of equity is the share price times shares outstanding; use market rather than book values for debt where you can. Net debt is total debt minus cash and equivalents, and it's negative if the company holds more cash than debt. The table shows each year's projected free cash flow, discount factor and present value, and you can download it as a CSV for your own model.
A model, not a price target
A DCF is only as good as its assumptions. Small changes produce big swings, so treat the output as a range, not a precise answer. Many investors require a margin of safety, buying only when the market price is well below their estimate. For bonds, the same discounting logic gives the yield to maturity, and for simple investments use the ROI and CAGR calculator.