DCF Valuation Calculator with WACC Builder
Operator: Abdulla Al Fahad. How tools are built and checked
A discounted cash flow valuation answers one question: if a business keeps producing free cash flow along a path you can describe, what is a claim on that cash worth today? The arithmetic is short. The hard part is that the answer moves a lot with two inputs, the discount rate and the growth rate you assume forever, and a model that hides those moves behind a single number does you no favours. This calculator keeps the model small enough to read and puts the sensitivity next to the result.
You give it a base free cash flow, a stage 1 growth rate and length, and how many years growth should fade toward a long-run rate. You choose the discount rate by building it from CAPM or typing it, close the model with a Gordon-growth or exit-multiple terminal value, and subtract net debt to reach a value per share you can set against the market price. It is a modelling aid, not investment advice.
Key features
- Two growth stages: a constant stage 1 rate for 1 to 20 years, then 0 to 15 fade years in which growth steps down evenly toward the terminal rate (30 projected years at most)
- WACC builder from CAPM (risk-free rate, beta, equity risk premium), after-tax cost of debt and a debt weight, or a typed WACC
- Terminal value by Gordon growth, or by an exit multiple of final-year free cash flow, with an optional mid-year discounting convention
- Bridge from enterprise value to equity value and value per share, with margin of safety and upside against the price you enter
- Cross-checks: the exit multiple a Gordon terminal value implies, or the perpetual growth an exit multiple implies, and the share of value that sits in the terminal value
- A 5 by 5 sensitivity grid of WACC against terminal growth (or exit multiple) with adjustable step sizes, each cell a full re-run of the model
- XLSX download with live formulas for the projection, WACC, terminal value, bridge and grid, plus a CSV of the projection and summary
How the projection, the discount rate and the terminal value are calculated
The projection starts from year 0 free cash flow and applies one growth rate per year. Years 1 to S use the stage 1 rate g1. Fade year j of F uses g1 + (gT − g1) × j / (F + 1), where gT is the terminal growth rate. Dividing by F + 1 rather than F means the first year after the explicit period would sit exactly at gT, so growth does not jump at the boundary. With 10% stage 1 growth, 2.5% terminal growth and five fade years the fade rates are 8.75%, 7.5%, 6.25%, 5% and 3.75%.
WACC is (1 − wD) × Ke + wD × Kd × (1 − t), with the cost of equity Ke = risk-free rate + beta × equity risk premium. The debt weight is an input rather than a calculation from balance-sheet numbers, because the sensible weight is a target capital structure at market values, and that is a judgement. Free cash flow here is the unlevered kind, the cash available to all capital providers, which is why it is discounted at WACC and why net debt is subtracted at the end.
The Gordon terminal value is FCF in the final year × (1 + g) / (WACC − g), the value at the horizon of a cash flow that grows at g forever. It is discounted back N years, or N − 0.5 years under the mid-year convention, because the Gordon stream's first cash flow also arrives mid-year. The exit multiple alternative is multiple × final-year FCF, an EV-to-free-cash-flow multiple rather than EV/EBITDA, and is always discounted N years because it represents a sale at year end. To compare the two methods the page converts each to its twin: a Gordon value implies a multiple (value at year N divided by final-year FCF), and a multiple implies a growth rate g = (T × WACC − FCF) / (T + FCF), where T is the terminal value on the Gordon timing.
Equity value is the sum of the present values of the explicit flows and the terminal value, minus debt, plus cash. Value per share divides that by the shares you enter. Margin of safety is (value − price) / value, the share of your estimated value that the price leaves uncovered, while upside is value / price − 1. They carry the same information in different clothes: a 15.1% margin of safety is a 17.7% upside. The model does not subtract minority interests or preferred stock, and does not adjust for stock-based compensation or options; put those into debt, or lower the base cash flow, if they matter for the company you are valuing.
How it works
Every keystroke re-runs the model in your browser. Inputs are validated first: the base cash flow must be positive, stage 1 years a whole number from 1 to 20, fade years from 0 to 15, WACC above zero, and for Gordon growth the terminal rate strictly below WACC. A failed check shows the reason and hides the results instead of printing a meaningless number. Warnings, which do not stop the calculation, flag terminal growth above 4% or above the risk-free rate, a terminal value above 75% of enterprise value, an implied multiple above 30 times, and a zero share count.
Each sensitivity cell recomputes the whole valuation with that WACC and terminal growth, so the fade path changes along with the terminal value. Where WACC is at or below the growth in a column the cell reads n/a. In the XLSX the grid is built with formulas: for the Gordon method a Paths sheet holds one cash flow path per growth column, and each grid cell sums the discounted path and adds the terminal value, so editing the WACC, growth or bridge inputs on the DCF sheet moves the grid too. The stage 1 and fade lengths, the terminal method, and which axis the grid uses are fixed at download time because they decide how many rows exist.
When to use it
- Testing whether a stock trading at 42 looks cheap or expensive if you believe five years of 10% growth that then fades to 2.5%
- Seeing how many dollars of value per share ride on a one-point change in WACC before settling on a discount rate
- Checking whether an exit multiple a banker quoted implies a perpetual growth rate you can defend
- Building a clean valuation workbook for a finance course or an investment club that others can audit cell by cell
Inputs
- Enter the base free cash flow, stage 1 growth and years, and the fade years, then the units you are using.
- Choose Build with CAPM and fill in rf, beta, ERP, cost of debt, tax rate and debt weight, or switch to Type WACC.
- Pick Gordon growth with a terminal growth rate, or Exit multiple, and decide whether to use the mid-year convention.
- Enter cash, debt, shares outstanding and the current price, then read the value per share, margin of safety and the share of value in the terminal value.
- Open the sensitivity grid, adjust the step sizes, and download the XLSX or CSV.
Worked example
Sample Co with the default inputs
Base FCF 100, stage 1 growth 10% for 5 years, fade 5 years to 2.5%
rf 4.2%, beta 1.1, ERP 5.0%, Kd 5.5%, tax 21%, debt weight 20%
Gordon growth, no mid-year; cash 150, debt 300, 50 shares, price 42Result
Ke 9.70%, after-tax Kd 4.345%, WACC 8.629%
PV of years 1-10 FCF 1,029.5
Terminal value 3,644.5, PV 1,592.9 (60.7% of EV)
Enterprise value 2,622.4; equity 2,472.4
Value per share 49.45 vs price 42: margin of safety 15.1%, upside 17.7%
Implied exit multiple 16.7x
Grid: WACC 9.63% at 2.5% growth gives 41.58; WACC 7.63% gives 60.42Tips for best results
- Read the grid before the headline number. If the price sits inside the range that one point of WACC and half a point of growth can produce, the model is not telling you much either way.
- When the terminal value passes about three quarters of enterprise value, lengthen the stage 1 or fade period only if you can justify the extra years; otherwise accept that the result is mostly a terminal assumption.
- Run both terminal methods and compare the implied figures. A Gordon value that implies a 25-times exit multiple, or a 14-times multiple that implies 1.4% growth, tells you which assumption is carrying the answer.
- Use a base cash flow that is normalised: strip one-off working-capital swings and unusual capital spending, or the whole projection inherits them.
- Keep the units of shares consistent with cash and debt. Millions of dollars against millions of shares gives dollars per share; mixing millions with raw share counts is the commonest reason for a value off by a factor of a million.
Limits
A DCF is only as good as its inputs, and small changes compound. This tool shows the arithmetic honestly but cannot tell you whether 10% growth for five years is reasonable. It is not investment advice, and the output is not a price target.
Free cash flow here is unlevered. If you paste free cash flow after interest, which is levered, discount it at the cost of equity and skip the net debt step; this calculator is built for the WACC route.
Terminal growth at or above WACC is blocked for Gordon growth, but values just below WACC still explode. A WACC of 8.6% with growth of 8.5% yields a terminal value more than 1,000 times the final cash flow.
The debt weight is a target at market values, not the book ratio from a balance sheet. A company with a small market capitalisation and large debt has a much higher debt weight than its accounting ratios suggest.
The fade is linear and the stage lengths are whole years. Cyclical businesses, or companies that will reinvest heavily early, do not follow a smooth path; model those in the base cash flow or run separate scenarios.
Common errors and how to fix them
- "Terminal growth must be below WACC"
- Lower the terminal growth, raise WACC, or switch to the exit-multiple method. The Gordon formula divides by WACC minus growth, so a zero or negative gap has no sensible value.
- "Base free cash flow must be above zero"
- Use a normalised positive figure, or a different valuation approach for a company that currently burns cash. Growing a negative number only enlarges the loss.
- "Debt weight must be at least 0% and below 100%"
- Enter the debt share of total capital as a percentage such as 20, not the debt-to-equity ratio.
- Value per share shows n/a
- Shares outstanding is empty or zero. Enter the count in the same scale as the cash and debt fields to get a per-share figure.
Best practices
- Check the output against a plain cross-check before trusting it: the implied multiple of enterprise value to free cash flow, and how that compares with where the company trades today.
What the workbook contains
The DCF sheet lists the inputs in blue, the WACC build, the bridge items and one row per projected year with growth, free cash flow, discount exponent, discount factor and present value. Below the table are the sum of present values, the terminal value and its discount exponent, enterprise value, equity value, value per share, margin of safety, upside and the terminal value share. A check cell reads OK unless terminal growth has reached WACC under the Gordon method.
The Sensitivity sheet has two step cells, a row and column header made from the base case plus or minus those steps, and 25 formula cells. When the Gordon method is used a third sheet, Paths, holds the five cash flow paths the grid needs. All formulas also carry the values the page calculated, so the numbers are visible before the spreadsheet app recalculates.
Frequently asked questions
Why is there a fade period instead of one growth rate?
Growth rarely drops from 10% to 2.5% in a single step. The fade spreads the slowdown over the years you choose, and each sensitivity cell reruns it, so changing terminal growth also changes the path that leads to it.
How does the mid-year convention change the answer?
It discounts each year's cash flow half a year less, treating cash as arriving evenly through the year. In the sample inputs it raises the Gordon-growth enterprise value from about 2,622 to about 2,733.
Does the XLSX update when I change the WACC or growth?
Yes for inputs such as base cash flow, stage 1 growth, terminal growth, exit multiple, WACC inputs, cash, debt, shares and price. The number of projected years, the terminal method and the grid axis are fixed in the file; change them on the page and download again.