To find out a discounted cash flow, you forecast the free cash the business or asset will generate, pick a discount rate that reflects its risk, and divide each year's cash flow by (1 + rate) raised to that year's power. The answer is the sum of those present values plus a terminal value for everything beyond your forecast window. You can do it on a spreadsheet in under an hour once your inputs are set. The headline figure is only as good as the forecast and rate behind it, so the method matters as much as the final number.

DCF is the backbone of stock, project, and business valuation. It appears in investment banking, corporate budgeting, and even personal decisions like whether a rental property justifies its price. This walkthrough covers how the calculation works, the order to do it in, where each input comes from, the common ways it breaks, and how to sanity-check the result before anyone relies on it.

What DCF Is Actually Calculating

A discounted cash flow answers one question: what is a stream of future cash worth today? Money arriving later is worth less than money in hand now, because you could invest today's money and earn a return, and because future cash is uncertain. DCF makes that intuition explicit by applying a discount rate to each future amount.

The core formula for a single period is: PV = CF / (1 + r)^n, where PV is present value, CF is the cash flow in that period, r is the discount rate, and n is the number of periods. For a multi-year forecast you compute that for each year and add them up. Then you handle the years beyond your forecast horizon with a terminal value.

That terminal value is where most DCFs live or die, because for most going concerns the majority of the computed value sits there. There are two standard approaches, and they answer slightly different questions.

The Gordon growth (perpetuity growth) method assumes cash flows grow at a steady rate forever: Terminal value = Final year cash flow × (1 + g) / (r − g). The exit multiple method assumes you sell the asset at the end of the forecast at some multiple of a metric like EBITDA. Both are legitimate; they just require different support. Perpetuity growth is theoretically cleaner but sensitive to g, while exit multiples anchor to observable market pricing but import whatever mispricing exists in those comparables.

Whichever terminal method you choose, you discount the terminal value back to today with the same exponent as the final forecast year.

Prerequisites Before You Touch a Spreadsheet

A DCF is only as good as its inputs, and a few things need to be settled before the arithmetic starts.

First, decide what cash flow you're measuring. The two main choices are free cash flow to the firm (FCFF), which belongs to all capital providers and gets discounted at the weighted average cost of capital (WACC), and free cash flow to equity (FCFE), which belongs to shareholders and gets discounted at the cost of equity, with debt effects already inside the cash flow. Mixing an FCFF forecast with a cost-of-equity discount rate is one of the most common errors in amateur valuations.

Second, set your forecast period. Five to ten years is standard for operating businesses; projects use their contractual life. The horizon needs to be long enough that the business reaches a stable state by the end, which is the condition for a defensible terminal value.

Third, gather the financial history: revenue, operating margins, capital expenditures, depreciation, working capital changes, and debt levels. You'll also need a tax rate and a sense of the company's capital structure. If you're valuing a public company, its filings provide these. If you're valuing a private business or a project, you build them from the operating plan.

Fourth, pick a currency and stay in it, and decide whether you're working in nominal or real terms. Nominal cash flows need a nominal discount rate, and real cash flows need a real rate. Consistency here matters more than which convention you choose.

Step 1: Build the Free Cash Flow Forecast

Start with revenue and grow it year by year using assumptions you can defend. Then work down to free cash flow. For FCFF the standard build is:

Free cash flow to the firm = EBIT × (1 − tax rate) + depreciation and amortization − capital expenditures − increase in net working capital.

Each line has its own logic. EBIT comes from your revenue and margin assumptions. The tax adjustment turns operating profit into after-tax operating profit, which is the right starting point because FCFF is pre-financing. Depreciation and amortization are added back because they're non-cash charges already deducted in EBIT. Capital expenditures are subtracted because that's real cash leaving the business to maintain and grow it. The change in net working capital captures cash tied up in receivables and inventory net of payables.

A simple worked example: a company earns EBIT of $100 million, faces a 25% tax rate, records $20 million of depreciation, spends $30 million on capex, and absorbs $10 million of additional working capital. Its FCFF is 100 × 0.75 + 20 − 30 − 10 = $55 million. That's the number you discount, not net income and not EBITDA.

For FCFE, start from net income instead, add back non-cash charges, subtract capex and working capital investment, and then add net borrowing (new debt minus repayments). The result is cash available to shareholders after debt service.

Keep your assumptions explicit and tied to something observable: historical margins, management guidance, industry growth, or a stated operating plan. A forecast that drifts upward every year without a mechanism is a red flag you'll want to catch before someone else does.

Step 2: Choose the Discount Rate

The discount rate is where risk enters the model. For FCFF, use WACC. For FCFE, use the cost of equity.

WACC weights the after-tax cost of debt and the cost of equity by their shares of total capital: WACC = (E/V) × Re + (D/V) × Rd × (1 − tax rate), where E is equity value, D is debt, V is E + D, Re is the cost of equity, and Rd is the pre-tax cost of debt.

The cost of equity is usually estimated with the capital asset pricing model: Re = risk-free rate + beta × equity risk premium. The risk-free rate typically comes from a long-dated government bond yield in the currency you're using. Beta measures how much the stock moves relative to the market; public company betas are published by data providers, and private companies often use the median beta of comparable public firms, adjusted for leverage differences. The equity risk premium is the extra return investors expect from stocks over the risk-free rate, and published estimates vary by source and period, so document which one you used.

The cost of debt is the yield the company pays on its borrowings, or the rate it would pay if it refinanced today. Because interest is tax-deductible, the after-tax cost of debt multiplies the pre-tax rate by (1 − tax rate).

A quick illustration: equity is 60% of capital at a 10% cost of equity, debt is 40% at a 5% pre-tax cost, and the tax rate is 25%. WACC = 0.6 × 10% + 0.4 × 5% × 0.75 = 6% + 1.5% = 7.5%. That 7.5% is the rate you'd apply to FCFF.

Two discipline points. First, match the discount rate to the cash flow: FCFF with WACC, FCFE with cost of equity, never crossed. Second, the discount rate should reflect the risk of the cash flows, which means a risky early-stage venture and a regulated utility should not share a rate.

Step 3: Discount Each Year's Cash Flow to Present Value

With cash flows and a rate in hand, the discounting is mechanical. Apply PV = CF / (1 + r)^n to each forecast year and sum the results.

Using a 7.5% WACC and three years of forecast FCFF of $55 million, $60 million, and $65 million:

Year 1: 55 / 1.075 = $51.2 million. Year 2: 60 / 1.075² = 60 / 1.1556 = $51.9 million. Year 3: 65 / 1.075³ = 65 / 1.2423 = $52.3 million.

The sum of the forecast-period present values is about $155.4 million. That's the value attributable to the explicit forecast years only, before any terminal value.

In a spreadsheet you'd put the discount factor in a separate row so you can audit it, and you'd keep the year numbering consistent with when cash actually arrives. Mid-year convention, which assumes cash flows arrive evenly through the year rather than all on the last day, shifts present values up slightly and is common in professional practice. It's a refinement, not a requirement, but note which convention you used.

Step 4: Estimate and Discount the Terminal Value

Extend your final-year cash flow into perpetuity or apply an exit multiple, then discount the result back to today.

With the perpetuity method, suppose the final forecast year's FCFF is $65 million, long-run growth g is 2.5%, and WACC is 7.5%. Terminal value = 65 × 1.025 / (0.075 − 0.025) = 66.625 / 0.05 = $1,332.5 million. Discounted back three years at 7.5%, that's 1,332.5 / 1.2423 = $1,072.6 million.

The critical constraint is that g must be below the discount rate, or the formula breaks, and arguably g should not exceed long-run nominal GDP growth for the economy the business operates in. A company growing at 6% forever in a 4%-growth economy implies it eventually swallows the economy, which is not a forecast anyone should defend to a committee.

With the exit multiple method, suppose comparable businesses trade at 8× EBITDA and your final-year EBITDA is $120 million. Terminal value = 8 × 120 = $960 million, discounted back to about $772.8 million. Notice how much lower that is than the perpetuity result, which is normal: the two methods often disagree, and the disagreement itself is informative. If they're far apart, at least one of your assumptions, either the growth rate or the multiple, is out of line with the other.

A useful habit is to run both terminal methods and present the range rather than a single point. The spread tells you how much of your answer depends on terminal assumptions, which is usually most of it.

Step 5: Add It Up and Bridge to Equity Value

Total enterprise value is the sum of forecast-period present values and the discounted terminal value. From the example: roughly $155.4 million plus $1,072.6 million, or about $1,228 million.

If your discount rate was WACC (FCFF), that figure is enterprise value, meaning the value of the operating business to all capital providers. To get equity value, subtract net debt (total debt minus cash and equivalents) and any other senior claims, then divide by diluted shares outstanding for value per share. If net debt is $200 million, equity value is about $1,028 million. With 50 million diluted shares, that's roughly $20.56 per share.

If your discount rate was the cost of equity (FCFE), you've already arrived at equity value directly and skip the net-debt bridge. This is where the FCFF/FCFE distinction pays off: pick one path and follow it consistently, because the bridge step only applies to the enterprise-value path.

A Compact Worked Case With the Arithmetic Shown

Here is the whole method in one small table, using the figures above, so the chain is reproducible. All values are illustrative and labeled as such.

Item Value
Year 1–3 FCFF $55M, $60M, $65M
WACC 7.5%
PV of Year 1–3 FCFF $155.4M
Final-year FCFF $65M
Perpetuity growth 2.5%
Terminal value $1,332.5M
PV of terminal value $1,072.6M
Enterprise value $1,228.0M
Less net debt $200M
Equity value $1,028.0M
Diluted shares 50M
Value per share $20.56

Every number in the table follows from the formulas in the previous sections, so you can rebuild it and check each line. That reproducibility is the point of a DCF: not that the answer is exact, but that the reasoning is auditable.

Where DCF Quietly Breaks

The model's weaknesses are mostly concentrated in a few places, and knowing them is how you avoid presenting a fragile number as a fact.

Terminal value dominance is the biggest one. In the example above, about 87% of enterprise value came from the terminal value. That's typical for a growing business, and it means the DCF is mostly a bet on long-run assumptions, not on the five-year forecast you labored over. If the output is that sensitive to g and WACC, the honest move is to show sensitivity.

Discount-rate sensitivity is the second. A one-percentage-point change in WACC moves terminal value substantially: at 6.5% the same perpetuity calculation gives a terminal value near $1,665 million, and at 8.5% it drops to roughly $1,110 million. Beta estimation, risk-free rate choice, and equity risk premium source all feed that swing, which is why documenting them matters.

Circularity is the third. WACC depends on capital structure, but if you're valuing equity to determine capital structure, you've got a loop. Practitioners break it by using target or current capital weights rather than iterating, and they say so.

Finally, forecast optimism and inconsistent units are chronic. Revenue that grows faster than the market forever, margins that expand without a mechanism, or a real discount rate applied to nominal cash flows all produce clean-looking numbers that don't survive scrutiny. The unit mismatch is especially common when mixing historical data reported in one convention with assumptions stated in another.

Checking the Answer Before You Trust It

A DCF that hasn't been stress-tested is a guess with a spreadsheet around it. Three checks catch most problems.

Run a sensitivity table on WACC and growth, showing value per share across a grid of plausible rates. If small input changes swing the answer by 40%, say so rather than picking the center cell.

Reverse-engineer the market. If you're valuing a public company, plug in the current share price and solve for the growth rate or discount rate the market is implicitly using. If that implies 9% perpetual growth in a mature industry, your model and the market disagree, and you should know why before claiming the stock is mispriced.

Cross-check with a relative valuation. Apply a peer multiple to your forecast metric and compare. DCF and multiples failing to agree doesn't invalidate the DCF, but the gap needs an explanation, and sometimes the explanation is that your terminal multiple assumption was too generous.

A specific stop condition: if the sensitivity grid shows the valuation flips from deeply undervalued to deeply overvalued within a plausible range of inputs, the answer isn't an investment conclusion, it's a signal that the business's value depends on assumptions you can't pin down. At that point, more modeling won't help; the question needs a different framing or a professional review.

Frequently Asked Questions

Can I do a DCF with a simple calculator? Yes, for a short forecast. The arithmetic is exponentiation and addition. Spreadsheets help mainly with sensitivity analysis and auditing, not with the core math.

Which is better, perpetuity growth or exit multiple? Neither is universally better. Perpetuity growth is theoretically cleaner but highly sensitive to g; exit multiples anchor to market pricing but inherit whatever the comparables imply. Running both and presenting a range is the more defensible practice.

How far out should the forecast go? Long enough for the business to reach stable growth by the final year, typically five to ten years. A terminal value applied to a company still growing at 15% is a forecast dressed up as a constant.

What discount rate do I use for a private business? Cost of equity estimated from comparable public companies with a size or illiquidity adjustment, or WACC if you're valuing the whole enterprise. The adjustment is judgment, and it should be disclosed as such.

Discounted cash flow is a disciplined way to turn a forecast into a price, and its main virtue is transparency: every assumption is visible and every number can be rebuilt. Its main limit is that the answer leans heavily on terminal assumptions that no one can verify, which is why the sensitivity check is part of the method rather than an optional extra. Set your inputs, follow the steps in order, and treat the output as a range with stated conditions rather than a single truth.