LearnFinance
← Financial Modelling Lesson 3 of 6 · 15 min · +50 XP
Financial Modelling · Lesson 03

DCF in Excel

A DCF is just three ideas: forecast the cash, discount it back, add a terminal value. Building one cleanly in Excel is where analysts earn their pay. Free cash flow, WACC and terminal value; discounting conventions, with a calculator; a full DCF for a made-up food company worked step by step; sensitivity tables; and how the valuation professor Aswath Damodaran put Zomato at about ₹41 a share before its July 2021 IPO, while the market priced it near ₹126 on day one.

Facts reviewed Oct 2026

Every DCF, whether for a large bank or a five-person startup, is the same three-step machine:

  1. forecast free cash flows for a few years;
  2. estimate what the business is worth after that: the terminal value; and
  3. discount everything back to today, at a rate that reflects risk.

The idea is simple. The Excel discipline to get it right is not.

Forecast horizon and free cash flow

The explicit forecast period is usually 5 to 10 years. It should be long enough for the business to reach a steady state, with stable growth and margins. And it should be short enough that your forecasts aren’t pure fiction. For most mature companies, five years is normal. For a young, fast-growing business, ten years is defensible.

There are two flavours of cash flow:

  • FCFF, free cash flow to the firm: cash available to all providers of capital, debt and equity. Discount it at WACC. It gives enterprise value.
  • FCFE, free cash flow to equity: cash available to shareholders only. Discount it at the cost of equity. It gives equity value directly.

FCFF is the industry default, because it isn’t affected by capital structure. That lets you compare businesses cleanly. FCFE is common for banks and financial companies, where the balance sheet is the business.

The FCFF formula, straight from the P&L and cash flow statement:

FCFF = EBIT × (1 − tax rate) + Depreciation & Amortisation
       − Capex − Change in Working Capital

Every one of those items should already exist in your three-statement model. The DCF sheet is mostly links, not new numbers.

The discount rate: WACC

WACC blends the cost of debt and the cost of equity, by their weight in the capital structure:

WACC = (E/V) × Ke + (D/V) × Kd × (1 − tax rate)

Here:

  • Ke is the cost of equity, usually from CAPM: Ke = Rf + β × (Rm − Rf);
  • Kd is the pre-tax cost of debt, from the company’s actual borrowing rate; and
  • E/V and D/V are the market-value weights of equity and debt.

For an Indian company, WACC usually lands between about 10% and 14%, depending on business risk and debt. A large IT services company might be around 11%. A smaller mid-sized manufacturer, 13% to 14%. A stable utility, 9% to 10%.

Use the 10-year G-sec yield as the risk-free rate, an equity risk premium of typically 5.5% to 6.5% for India, and the share’s estimated beta.

Terminal value: the elephant in the room

After the explicit forecast, you assume the business grows at a stable rate g forever. There are two methods:

  • Gordon growth: TV = FCFF in the year after the forecast ÷ (WACC − g).
  • Exit multiple: TV = EBITDA in the final year × an exit EV/EBITDA multiple.

The terminal value usually makes up 60% to 80% of a DCF’s value. That’s uncomfortable, but true. Pick g carefully. For India, 4% to 5% is a defensible long-run rate: roughly inflation plus modest real growth. Never use g above WACC: the formula explodes.

Discounting: bringing cash flows back to today

Each year’s FCFF is divided by (1 + WACC)^t, where t is the number of years from today. The terminal value is discounted back from the final forecast year.

PV of Year t FCFF = FCFF_t / (1 + WACC)^t
PV of TV          = TV / (1 + WACC)^n

Enterprise Value = Σ PV of forecast FCFFs + PV of TV
Equity Value     = EV − Debt + Cash        (that is, EV − Net Debt)
Value per Share  = Equity Value / Diluted Shares Outstanding

Use mid-year discounting, subtracting 0.5 from t, if you assume cash arrives evenly through the year, not all at year-end. Each cash flow moves half a year closer, lifting its present value by a factor of √(1 + WACC): about 5% at a 10.5% WACC.

Year-end vs mid-year discounting
PV assuming year-end receipt (₹ crore)
74.12
PV assuming mid-year receipt (₹ crore)
77.91
Uplift from mid-year discounting
5.12%

The uplift is the same for every year: √(1 + WACC) − 1. It's an assumption about timing, not free value, so say which convention you used.

Quick check

With an 11% WACC, roughly how much does mid-year discounting lift the present value of each forecast cash flow?

A worked example: a DCF for a steady food company

Bharat Foods Ltd is a made-up packaged-foods company: stable and predictable, ideal for a DCF.

Assumptions:

  • Revenue: ₹20,000 crore this year, growing 10% a year for five years, then 5% forever.
  • EBIT margin: 22%. Tax rate: 25.2%.
  • Capex: 3.5% of revenue. Depreciation: 2.5% of revenue. So net capex is 1% of revenue.
  • Change in working capital: 1% of the increase in revenue.
  • WACC: 10.5%. Terminal growth: 5%.
  • Net cash: ₹2,000 crore. Shares: 100 crore.

Worked example.

  1. Year-5 FCFF: about ₹4,950 crore.
  2. Terminal value: ₹4,950 crore × 1.05 ÷ (0.105 − 0.05) ≈ ₹94,500 crore.
  3. Discounted to today: ÷ 1.105⁵ ≈ ₹57,350 crore.
  4. Add the five forecast years: about ₹15,150 crore of present value. EV ≈ ₹72,500 crore.
  5. Add net cash: equity ≈ ₹74,500 crore, or ₹745 a share, on 100 crore shares.

Almost 80% of the value sits in the terminal value.

Sensitivity: the honest final step

Your value is only as good as WACC and terminal growth. Small changes swing it wildly. Every DCF must end with a sensitivity table, using Data → What-If Analysis → Data Table in Excel.

Bharat Foods’ value per share:

g=4%g=5%g=6%
WACC=9.5%₹770₹909₹1,128
WACC=10.5%₹652₹745₹879
WACC=11.5%₹566₹631₹721

One percentage point either way, on two inputs, moves the answer from ₹566 to ₹1,128: a factor of two.

Present the range, not one number. Anyone who says a DCF gives “the fair value” hasn’t built enough of them.

A real case: Zomato’s IPO and a DCF, 2021

In July 2021, the food-delivery company Zomato listed in India, at an issue price of ₹76 a share. It was one of India’s first big listings of a loss-making technology company.

  • Before the IPO, the valuation professor Aswath Damodaran published a DCF. Even assuming Zomato led a fast-growing market, he valued it at about ₹41 a share, and called it “too richly priced for me”.
  • Listing day, 23 July 2021: the shares closed around ₹126. The company was valued at nearly ₹99,000 crore.
  • Late 2021: the price peaked at about ₹169.
  • 2022: Damodaran revisited his valuation. He said the ₹41 of July 2021 should have grown to about ₹46 by July 2022, at the cost of equity.

Worked example: what the gap implies. Compare the listing-day price with the DCF.

  1. Price ÷ value: ₹126 ÷ ₹41 ≈ 3.1.
  2. Meaning: at the same discount rate, the market was pricing in future cash flows roughly three times larger than the DCF assumed.
  3. Or: a much lower discount rate, or a faster path to profit. A DCF makes you say which.

The lessons:

  • A DCF makes assumptions explicit, so you can argue about them.
  • Markets and models can differ widely, especially for young, loss-making firms.
  • Neither is automatically right. A DCF is a tool for testing a price, not a prophecy.

Going further: why DCFs of young companies are so uncertain. For a mature company, next year’s cash flow is a reasonable guide to the years after. For a young company, almost all the value lies far in the future, in a business that doesn’t yet exist at that scale. Small changes in assumed market size, final margins, or how fast the company gets there swing the value enormously. That’s why careful analysts build scenarios: a success case, a middling case, and a failure case, weighted by how likely each seems. The DCF then shows what you have to believe, not what the company is “worth”.

Common mistakes

  • Using terminal growth above long-run economic growth.
  • Mixing FCFF with the cost of equity, or FCFE with WACC.
  • Typing in cash flows instead of linking them to the three-statement model.
  • Presenting one number without a sensitivity table.
  • Forgetting net debt when moving from enterprise to equity value.
Practice 1: Next year's FCFF is ₹200 crore. WACC is 11%, and terminal growth 4%. What's the Gordon-growth terminal value?
  1. Formula: FCFF ÷ (WACC − g).
  2. TV: ₹200 crore ÷ (0.11 − 0.04) = ₹200 crore ÷ 0.07 ≈ ₹2,857 crore.
Practice 2: A DCF gives an enterprise value of ₹5,000 crore. The company has ₹800 crore of debt, ₹300 crore of cash, and 50 crore shares. What's the value per share?
  1. Equity value: ₹5,000 crore − ₹800 crore + ₹300 crore = ₹4,500 crore.
  2. Per share: ₹4,500 crore ÷ 50 crore = ₹90.

Key takeaways

  • A DCF: forecast FCFF, discount at WACC, add a terminal value, and back out equity value.
  • Use FCFF discounted at WACC for enterprise value, or FCFE at the cost of equity for equity value.
  • Terminal value is 60% to 80% of the total. Pick g, 4% to 5% in India, with humility.
  • WACC uses CAPM for equity, the actual borrowing rate for debt, and market weights.
  • Always end with a sensitivity table across WACC and terminal growth. A DCF gives a range, not a price.
  • Before Zomato’s 2021 IPO, a DCF put it at about ₹41 a share. The market priced it near ₹126 on day one.

Go deeper

Complete this lesson
Pass the quiz below (60% or more) to earn +50 XP and unlock the next lesson.
Quiz not passed yet
🧠

Quiz: DCF in Excel

5 questions · pass 60% to complete