Module 8 · 13 min read

DCF step by step

Follow cash from the annual report to a value per share, then test how much your assumptions matter.

Written by the StockEducation Editorial Team · Reviewed by Associate Professor Charles Lo, CPA, PhD · Updated · How we check lessons

Quick answer

How do you calculate a DCF valuation?

Forecast a company’s free cash flow, discount each year’s cash back to today at the cost of capital, and add a terminal value for the years after the forecast. Subtract net debt from that enterprise value, then divide by diluted shares to get a value per share. In this lesson’s Coca-Cola model that gives $73.34, but a one point change in the discount rate moves it to between $56.65 and $101.81, so test your assumptions.

Key takeaways

  1. Free cash flow is operating cash flow minus capital spending; add back after tax interest before discounting at the cost of capital.
  2. Check several years and the earnings releases for one time payments; they more than halved Coca-Cola’s reported free cash flow in 2024 and 2025.
  3. Anchor growth to history and guidance, and keep terminal growth below the discount rate and the Treasury bond rate.
  4. Use the cost of capital as the discount rate; Damodaran’s January 2026 figure for soft drinks was 6.33%.
  5. Subtract net debt from enterprise value, then divide by diluted shares to get value per share.
  6. Terminal value was 84% of our Coca-Cola value, so test the inputs and leave a margin of safety.

Start the lessonTake the quick checkRead the FAQSee the sources

All 5 parts of this lesson

Part 1 of 5 · Present value

Why is a future dollar worth less today?

A discounted cash flow model, or DCF, turns cash a business will make in the future into a value today. It rests on one idea: a dollar you get in five years is worth less than a dollar now, because money today could be earning a return in the meantime.

The discount rate is the yearly return you require for waiting and for the risk. Divide a future cash flow by (1 + discount rate) once for every year you wait, and you get its present value. The figure values a hypothetical $100 arriving in one to ten years at three different rates.

What $100 arriving in the future is worth today (hypothetical)

$0$25$50$75$100$1255%10%15%$62.09Now5 years10 years

5% 10% 15%

Present value = $100 ÷ (1 + rate) to the power of the years. In five years, $100 is worth $78.35 at 5%, $62.09 at 10% and $49.72 at 15%. The higher the rate and the longer the wait, the less it is worth today. Computed in Python.

Notice how much the rate matters. Moving from 5% to 10% knocks about $16 off the same $100, because the rate is applied five times over. Cash further in the future is hit hardest.

A full DCF does this for every year of forecast cash, then adds a value for all the years after the forecast. The rest of this lesson builds one for Coca-Cola, step by step.

The rule

Test more than one discount rate, because small changes compound over time and hit distant cash flows hardest.

Marks Part 1 done

Part 2 of 5 · Cash flow base

Where does the cash flow come from?

Start with free cash flow: operating cash flow minus capital spending, the cash left after a business pays to keep and grow its assets. You find both lines on the cash flow statement in the annual report, the 10-K.

Worked example

Coca-Cola’s 2025 cash flow statement reports $7,408 million of operating cash flow and $2,112 million of capital spending. Subtract and you get $5,296 million of reported free cash flow.1 Its earnings release also excludes a $6,100 million payment related to buying fairlife, which gives an adjusted figure of $11,396 million.2

Cash generated$7,408MOperating cash flow
Less capital spending− $2,112MProperty, plant and equipment
Reported result$5,296MFree cash flow for 2025
Reported free cash flow$5,296M
Add back the fairlife payment+ $6,100M
Company’s adjusted measure$11,396M
Lesson’s net interest adjustment+ $686M
Simplified cash flow base$12,082M
All amounts in millions of dollars. Reported and company adjusted cash are different measures. The final $686M is this lesson’s assumption, not a company reported cash flow line.

That’s why you check more than one year. The 2024 release showed the same pattern: reported free cash flow of $4,741 million, or $10,782 million excluding a deposit tied to a tax dispute with the IRS.3 One time payments more than halved reported free cash flow in both years.

Coca-Cola free cash flow, reported and excluding one time payments

$0M$5,000M$10,000M$15,000M$4,741M$10,782M2024$5,296M$11,396M2025

Reported Excluding one time payment

In both years a single payment cut reported free cash flow by more than half: an IRS tax litigation deposit in 2024 and the fairlife payment in 2025. Figures in millions of dollars from the company's earnings releases. Source: Coca-Cola full year 2025 and 2024 earnings releases (SEC).

Match the cash flow to the discount rate

An operating business DCF uses cash available to all investors, lenders and shareholders alike. You discount it at the weighted average cost of capital, or WACC, the blended return both groups require. Cash flow to equity alone uses the cost of equity instead, and it must include the effect of net borrowing. Operating cash flow less capital spending isn’t automatically cash flow to equity.

Because Coca-Cola’s reported free cash flow is after interest, this lesson adds back an after tax net interest figure as a shortcut: $11,396M + ($1,654M interest expense minus $786M interest income) × (1 minus 21%) ≈ $12,082M. It uses a net interest proxy and an assumed 21% tax rate. A full valuation would reconcile financing, nonoperating investments and their tax effects more carefully.

The rule

Check several years of cash flow for one time payments, because a forecast can’t rescue a bad starting number.

Marks Part 2 done

Part 3 of 5 · Forecast and terminal value

How do you turn the forecast into today’s value?

Forecast first, discount second. In this simplified model, the $12,082M base grows 4% a year for five years. Each year end cash flow is divided by (1 + discount rate) to the power of its year. These are teaching assumptions, not management guidance or a current appraisal.

The discount rate is 6.33%, the January 2026 WACC for the soft drinks industry in Damodaran’s data.4 Anchor growth to the company’s history and guidance rather than hope.

Present value of each forecast year in the simplified Coca-Cola model

$0M$5,000M$10,000M$15,000M$11,817MYear 1$11,558MYear 2$11,305MYear 3$11,057MYear 4$10,815MYear 5
Cash grows 4% a year, from $12,565M in year 1 to $14,699M in year 5, but each year’s present value shrinks because it is discounted one more time at 6.33%. The five present values add up to about $56,552M. Computed from the $12,081.72M base; rounded to the nearest million.

What is terminal value?

Terminal value is the value of all the cash after the forecast ends. A common method divides the next year’s cash flow by the discount rate minus a perpetual growth rate, the rate you assume the business can grow forever.5

Here year 5 cash is about $14,699M. Grow it 2.5% and year 6 cash is about $15,067M. Divide by 6.33% minus 2.5% and terminal value is about $393,387M at year 5. Then divide by 1.0633 to the 5th power to bring it back to today: about $289,429M.

Perpetual growth must stay below the discount rate, or the formula breaks. Damodaran also argues it shouldn’t exceed the riskless rate, such as the Treasury bond rate, because no business can outgrow the whole economy forever.5

Five forecast years · present value$56.6B
Later years · present value$289.4B

Most of this model’s value comes from cash beyond the explicit forecast.

Enterprise value$345,980M
Assumed net debt$29,686M
Simplified equity value$316,294M
Divide by 4,313M diluted shares$73.34 per share
Model result
not a price target
Model valued at the end of 2025. Five year end payments, 4% forecast growth, 6.33% discount rate and 2.5% perpetual growth. Totals use unrounded cash flows; displayed figures are rounded.

Notice the split. The five forecast years are worth about $56.6 billion today and the years after about $289.4 billion, so terminal value is about 84% of the total. Most of a DCF’s answer rests on the assumption you can check least.

From business value to value per share

Adding the two gives enterprise value, the value of the whole business: about $345,980M. Shareholders get what’s left after lenders, so subtract net debt. The model nets $45,492M of borrowings against $15,806M of cash and liquid investments, leaving $29,686M. Divide the $316,294M equity value by 4,313M average diluted shares from 2025 and you get $73.34 a share.1

From the two present values to equity value (millions of dollars)

$0M$100,000M$200,000M$300,000M$400,000M$56,551MForecastyears$289,429MTerminalvalue$345,980MEnterprisevalue−$29,686MNet debt$316,294MEquityvalue
The forecast years and the terminal value add up to enterprise value of about $345,980M. Subtracting $29,686M of net debt ($45,492M of borrowings less $15,806M of cash and liquid investments) leaves $316,294M for shareholders, or $73.34 per diluted share. Source: Coca-Cola 2025 Form 10-K.

That’s a model result, not a price target. A full appraisal also weighs leases, minority interests, investment stakes, dilution and other claims. Avoid counting investment income and the investments themselves twice, and use updated inputs for any other valuation date.

The rule

Discount the terminal value too, and keep its growth rate below the discount rate.

Marks Part 3 done

Part 4 of 5 · Sensitivity

How much do the assumptions matter?

One answer can hide a wide range. Hold everything fixed, the base, five year growth, net debt, shares and 2.5% terminal growth, and change only WACC by one percentage point.

Value per share when one input changes

$0$50$100$150$102WACC5.33%$77Growth 5%$73.34Base case$69.80Growth 3%$56.65WACC7.33%
Same simplified model, one input changed at a time. A one point move in WACC swings the value from $56.65 to $101.81; a one point move in five year growth only moves it between $69.80 and $77.00. The discount rate dominates because it also sets the terminal value.

A one point cut in WACC lifts the value from $73.34 to $101.81, and a one point rise drops it to $56.65. Now change forecast growth instead, from 4% to 3% or 5%, at the base WACC. You get about $69.80 and $77.00. In this model the discount rate moves the answer far more than growth does, because a smaller gap between WACC and perpetual growth makes terminal value balloon. That finding belongs to this model, not every DCF.

Where a margin of safety fits

Write a cautious, base and optimistic case, and record what changes and why. A margin of safety is the gap between your estimated value and the price you pay. On a $100 estimate, a 30% margin means paying no more than $70.

The margin doesn’t make the estimate right. A poorly supported $100 figure is still unreliable after you multiply it by 70%. Test the cash flow, growth, discount rate and terminal assumptions first.

The rule

Treat the result as a scenario to challenge, not a number to believe.

Marks Part 4 done

Part 5 of 5 · Model practice

How do you practice building one?

Change one input at a time and explain each result before you move on. Use our DCF valuation tool or a spreadsheet with this lesson’s inputs: a $12,081.72M base, five year end cash flows, $29,686M net debt and 4,313M shares. The tool works from revenue and operating inputs, so check its cash flow and net debt treatment before you compare results.

What changes the DCF?

Teaching model · no trade
Forecast years · present value$56,552M
Later years · present value$289,429M
Enterprise value$345,980M
Simplified value per share$73.34

About 84% of enterprise value comes from terminal value. This is a model output, not current fair value.

  1. Change WACC to 5.33%, then 7.33%. Explain why the price estimate moves while the cash forecast stays fixed.
  2. Restore 6.33%. Change five year growth to 3%, then 5%, keeping perpetual growth fixed.
  3. Restore 4%. Set perpetual growth equal to WACC and read the validation message. Explain why the formula cannot use that pair.
Open the DCF Valuation Tool →

This model illustrates assumptions, not current fair value. The separate tool uses revenue and operating inputs; follow its field labels and check the cash flow and net debt treatment before comparing results.

What you should see

  • Discount rate. WACC at 5.33% gives about $101.81 a share and 7.33% about $56.65, though the cash forecast never changed.
  • Growth. Back at 6.33%, five year growth of 3% gives about $69.80 and 5% about $77.00.
  • Perpetual growth equal to WACC. The terminal value formula divides by zero, which is why perpetual growth must stay below the discount rate.

Before you value a real business

Build an input record. Note the filing date, valuation date, units, cash flow definition, adjustments, forecast years, growth assumptions, discount rate basis, net debt and share count. Check several years rather than picking the most convenient one.

Then write down which assumption drives the result and what evidence would change it. If a business doesn’t have stable, positive cash flow, use a better suited method rather than forcing a precise looking answer.

The rule

Keep the inputs, sources and limits beside the answer.

Marks Part 5 done

Quick check

Quick quiz: test what you just read

Pick an answer to see why it is right. 5 questions, no account needed.

0 of 5 answered

1. At a 10% discount rate, what is $100 arriving in five years worth today?

Answer: B.$100 ÷ 1.10 to the fifth power is $62.09. At 5% it is $78.35 and at 15% $49.72.

2. Coca-Cola reported $7,408M of operating cash flow and $2,112M of capital spending in 2025. What is reported free cash flow?

Answer: B.Operating cash flow minus capital spending is $5,296M. The company's adjusted figure of $11,396M excludes the one time fairlife payment.

3. Why must perpetual growth stay below the discount rate?

Answer: B.Terminal value = next year's cash ÷ (discount rate − growth). If growth equals the rate, you divide by zero, and above it the result is negative.

4. In this lesson's model, about what share of total value came from the terminal value?

Answer: C.The five forecast years were worth about $56.6 billion and the years after about $289.4 billion, so terminal value was about 84% of the total.

5. Which input moved the value per share most in this model?

Answer: B.A one point change in WACC moved the value between $56.65 and $101.81, while a one point change in growth only moved it between $69.80 and $77.00.

Questions people ask

DCF step by step FAQ

What is terminal value in a DCF?

It’s the value of the cash a business may make after the forecast period. A common method divides next year’s cash flow by the discount rate minus a perpetual growth rate, then discounts the result back to today. In this lesson’s model it’s about 84% of the total.

Which discount rate should I use?

Match the rate to the cash flow. Cash available to lenders and shareholders is discounted at WACC; cash flow to equity uses the cost of equity. Test several rates, since in this model a one point change moved the value more than any growth change.

What is free cash flow?

In its simplest reported form, it’s operating cash flow minus capital spending. For Coca-Cola in 2025, $7,408 million less $2,112 million gives $5,296 million. Check several years, because one year can include unusual payments.

How do you get from enterprise value to value per share?

Subtract net debt, borrowings minus cash and liquid investments, then divide by diluted shares. Here $345,980 million less $29,686 million of net debt, divided by 4,313 million shares, gives $73.34. A full valuation also considers leases, minority interests and other claims.

What is a margin of safety in valuation?

It’s the gap between your estimated value and the price you pay. With a $100 estimate, a 30% margin means a $70 price. It cushions errors but doesn’t make a weak estimate right.

Next steps

You finished this lesson.

You now have the main ideas from this lesson. Next, practice where mistakes cost nothing: a free account saves your progress and unlocks the practice simulator with virtual money.

Free, no card. Lessons stay free to read without an account.

Your notes on one card, and what comes next
  1. Step 1 · DoneDCF step by step
    See your notes on one card
    1. Free cash flow is operating cash flow minus capital spending; add back after tax interest before discounting at the cost of capital.
    2. Check several years and the earnings releases for one time payments; they more than halved Coca-Cola’s reported free cash flow in 2024 and 2025.
    3. Anchor growth to history and guidance, and keep terminal growth below the discount rate and the Treasury bond rate.
    4. Use the cost of capital as the discount rate; Damodaran’s January 2026 figure for soft drinks was 6.33%.
    5. Subtract net debt from enterprise value, then divide by diluted shares to get value per share.
    6. Terminal value was 84% of our Coca-Cola value, so test the inputs and leave a margin of safety.
  2. 2
    Step 2 · NowSave your progress with a free account

    Keep your course progress and practice on real U.S. stocks with virtual cash.

    Create your free account No card needed. Lessons stay free to read.
  3. 3
    Step 3Follow the learning path
    The learning pathFree

    Learn the rest in the right order

    Ten modules of lessons, videos, tools and quizzes, ordered so each step builds on the last, from market basics to company analysis and risk.

    Start the learning path

Want the full sequence? See the course outline →

Sources and assumptions

  1. Coca-Cola, 2025 Form 10-K, filed February 20, 2026. Cash flow, capital spending, interest, borrowings, liquid assets and average diluted shares
  2. Coca-Cola, full year 2025 earnings release, February 10, 2026. Reported free cash flow and the fairlife payment adjustment
  3. Coca-Cola, full year 2024 earnings release, February 11, 2025. Free cash flow of $4,741 million, or $10,782 million excluding the IRS tax litigation deposit
  4. Aswath Damodaran, Cost of Capital, U.S. industry data. January 2026 Beverage (Soft) cost of capital: 6.33%, used as a dated illustrative input
  5. Aswath Damodaran, Closure in Valuation: Estimating Terminal Value. Terminal value approach, stable growth and discounting

Sources checked October 15, 2026. Model valuation date: end of 2025. The net interest proxy, 21% tax rate, growth assumptions, cash flow forecast and simple equity bridge are this lesson’s assumptions and calculations. They do not constitute a current valuation or investment recommendation.

StockEducation provides general education, not personal financial, tax or legal advice. Companies and funds named here are teaching examples only. Nothing here recommends buying or selling any security. Investing involves risk, including the loss of money you invest.

Up nextPart 1 · Why is a future dollar worth less today?
Next ↓