---
title: "DCF model: how to value a company step by step, with a real 5-year example"
url: "https://amaltash.com/articles/dcf-model"
published: "2026-11-28T08:45:36.593271+00:00"
summary: "Turn a company's future cash into one number today. Every step on real 10-K data, with every guess shown."
---

# DCF model: how to value a company step by step, with a real 5-year example

Turn a company's future cash into one number today. Every step on real 10-K data, with every guess shown.

Written by Charvi Agarwal (COO); Arpit Agarwal (Founder & CEO); Amaltash Research (Amaltash Advisors LLC).
Reviewed by Arpit Agarwal (Founder & CEO); Charvi Agarwal (COO); The Amaltash Team (Editorial review).
Updated 2026-11-28 · Published 2026-11-28.

The short answer. A DCF model guesses the cash a company will make in the future. Then it shrinks each future dollar into today's dollars and adds them up. DCF stands for discounted cash flow. The answer is only as good as the guesses, and small changes in them move it a lot.

## What is a DCF model?

A DCF model is a way to put one number on a business today. It uses the cash the business may make in the years ahead.

The idea is simple. A dollar you get next year is worth less than a dollar in your hand now. You could put today's dollar to work and earn more. So a DCF "discounts" future cash. It shrinks each future dollar to what it is worth today.

A DCF has four parts:

1. [Free cash flow](https://amaltash.com/articles/free-cash-flow). This is the cash a company has left each year.
2. A guess of how fast that cash will grow.
3. A discount rate. This is the yearly return you need to take the risk.
4. A terminal value. This is the value of all the years after the ones you guessed one by one.

## What is discounted cash flow?

Discounted cash flow is future cash, shrunk to today's dollars. Here is a made-up example with round numbers.

Say someone will hand you $110 one year from now. You could earn 10% a year somewhere else. How much is that $110 worth today?

Today's value = $110 ÷ 1.10 = $100.

So $100 today and $110 next year are the same to you. If the cash comes in two years, you divide by 1.10 twice. $121 in two years is also worth $100 today.

The formula for one year's cash is:

Today's value = cash in year N ÷ (1 + discount rate) to the power of N

A DCF does this for every year and adds the results.

## What is free cash flow?

Free cash flow is the cash a business makes from its work, minus what it spends on big things. Big things are stores, machines and data centers. Spending on them is called capital spending, or capex.

Free cash flow = cash from operations − capex

You find both numbers on the [cash flow statement](https://amaltash.com/articles/cash-flow-statement) in a company's 10-K. A 10-K is the yearly report a US public company files.

Made-up example: a lemonade stand takes in $100 of cash in a year. That is after paying for lemons and cups. It spends $30 on a new stand. Its free cash flow is $100 − $30 = $70.

## Free cash flow for six big US companies

As of November 25, 2026, from each company's latest 10-K (SEC EDGAR).

Free cash flow here is our own math: cash from operations minus payments for property and equipment. Dollar figures are in millions.

Cash from operations, capex, free cash flow and revenue for six companies

| Company | Year ends | Cash from operations | Capex | Free cash flow | Revenue | Free cash flow per $1 of sales |
| --- | --- | --- | --- | --- | --- | --- |
| [Apple](https://amaltash.com/market/aapl) | Sep 26, 2026 | $145,097 | $9,041 | $136,056 | $478,834 | 28.4 cents |
| [Microsoft](https://amaltash.com/market/msft) | Jun 30, 2026 | $182,935 | $115,948 | $66,987 | $331,839 | 20.2 cents |
| [Alphabet](https://amaltash.com/market/googl) | Dec 31, 2025 | $164,713 | $91,447 | $73,266 | $402,836 | 18.2 cents |
| [Walmart](https://amaltash.com/market/wmt) | Jan 31, 2026 | $41,565 | $26,642 | $14,923 | $713,163 | 2.1 cents |
| [Coca-Cola](https://amaltash.com/market/ko) | Dec 31, 2025 | $7,408 | $2,112 | $5,296 | $47,941 | 11.0 cents |
| [Costco](https://amaltash.com/market/cost) | Aug 30, 2026 | $15,817 | $6,435 | $9,382 | $303,154 | 3.1 cents |

Source: Each company's 10-K, read from SEC EDGAR data on November 25, 2026. Links are in Sources below.

Look at Microsoft. It made more cash from operations than Apple. But it spent $115,948 million on capex, which is 63% of that cash. So its free cash flow is about half of Apple's. Microsoft's free cash flow was $74,071 million two years earlier. Its cash from operations went up since then, but its free cash flow went down.

Now look at Walmart. It has the most sales in the table. But it keeps about 2 cents of free cash per dollar of sales. Stores, trucks and low prices leave little over.

## How to build a DCF model, step by step

This is the order most people use. A spreadsheet works fine. A DCF model template is just these steps laid out in rows.

1. Find the latest free cash flow in the 10-K.
2. Guess a growth rate for the next 5 years. Look at the past to help, but the future can be different.
3. Grow the free cash flow one year at a time.
4. Pick a discount rate.
5. Shrink each year's cash to today's dollars, and add them up.
6. Work out a terminal value for all the years after year 5.
7. Shrink the terminal value to today's dollars too.
8. Add step 5 and step 7. That is the DCF answer.
9. Change each guess a little and see how much the answer moves.

Step 9 matters most. Without it, a DCF looks more exact than it is.

## How do you pick a discount rate?

The discount rate is the yearly return you need for the risk you take. A common way to build it is called CAPM:

Discount rate = risk-free rate + beta × equity risk premium

- The risk-free rate is what US government bonds pay. Many people use the 10-year Treasury yield. On November 24, 2026, it was 4.91%, from the US Treasury.
- The equity risk premium is the extra return people want for owning stocks over bonds. Professor Aswath Damodaran of NYU Stern put it at 4.41% on November 1, 2026.
- [Beta](https://amaltash.com/articles/beta) is how much a stock tends to swing compared to the whole market. A beta of 1.0 means it swings about as much as the market.

Each of these is an estimate. Other sources give other numbers.

## What is terminal value?

You can't guess cash for every year forever, one by one. So after year 5, a DCF uses one number for all the years after. That number is the terminal value.

Terminal value is often the biggest part of a DCF. In our example below, it is about three quarters of the answer. There are two common ways to work it out.

## Terminal value formula: the Gordon growth model

The Gordon growth model, or perpetuity growth method, says cash keeps growing at a small, steady rate forever. That rate is the perpetuity growth rate.

Terminal value = next year's cash ÷ (discount rate − forever growth rate)

Made-up example: cash in year 5 is $100. It grows 2% a year forever. The discount rate is 10%.

- Next year's cash is $100 × 1.02 = $102.
- Terminal value = $102 ÷ (10% − 2%) = $102 ÷ 0.08 = $1,275.

The forever growth rate must be lower than the discount rate. If it is close to it, the answer blows up. Many people keep it near how fast the whole economy grows, around 2% to 3%. That is a guess too.

## What is the exit multiple method?

The exit multiple method guesses the price a buyer would pay at the end of year 5. It takes year 5's cash, or EBITDA, and multiplies it by a number. That number is the multiple.

Terminal value = year 5 cash × multiple

Made-up example: cash in year 5 is $100. You guess a multiple of 15. Terminal value is $1,500.

The multiple often comes from [what similar companies trade at today](https://amaltash.com/articles/comparable-company-analysis). So it carries today's mood into the future. It is a shortcut, not a fact.

## Worked example: a 5-year DCF on Costco

Here is a full DCF on [Costco](https://amaltash.com/market/cost), with every guess written down. Dollar figures are in millions. The cash numbers are from its 10-K for the year that ended August 30, 2026.

Step 1. Latest free cash flow. Cash from operations was $15,817. Capex was $6,435. Free cash flow = $15,817 − $6,435 = $9,382.

Step 2. Growth guess: 8% a year for 5 years. For context, look at the past. Costco's free cash flow was $5,370 in its 2021 year. It was $9,382 in its 2026 year. That is growth of about 11.8% a year. We guess slower growth. This is a guess, not a forecast. A [CAGR calculator](https://amaltash.com/cagr-calculator) turns any start and end into a yearly rate like this.

Step 3. Discount rate guess: 9.32%. We use 4.91% (10-year Treasury) + 1.0 × 4.41% (Damodaran's premium). The beta of 1.0 is a guess that Costco swings like the market.

Step 4. Grow and shrink each year.

Costco DCF, years 1 to 5 (our math, $ millions)

| Year | Free cash flow (grows 8%) | Divide by | Today's value |
| --- | --- | --- | --- |
| 1 | $10,133 | 1.0932 | $9,269 |
| 2 | $10,943 | 1.1951 | $9,157 |
| 3 | $11,819 | 1.3065 | $9,046 |
| 4 | $12,764 | 1.4282 | $8,937 |
| 5 | $13,785 | 1.5613 | $8,829 |
| Total | | | $45,238 |

The "divide by" number is 1.0932 to the power of the year. See how cash grows, but today's value shrinks a little each year. A [compound interest calculator](https://amaltash.com/compound-interest-calculator) shows the same math running forward.

Step 5. Terminal value with a 2.5% forever growth guess.

- Next year's cash is $13,785 × 1.025.
- Terminal value = that ÷ (9.32% − 2.5%) = $207,183.
- Shrink it to today: $207,183 ÷ 1.5613 = $132,695.

Step 6. Add them up. $45,238 + $132,695 = $177,933. That is about $178 billion.

About 75% of that answer comes from the terminal value. So most of it rests on years after year 5, which no one can see.

Step 7. Try the exit multiple instead. Say we guess a buyer pays 20 times year 5's free cash flow. Terminal value is 20 × $13,785 = $275,705. Shrunk to today, that is $176,582. The total becomes $221,820, or about $222 billion. One different guess moved the answer by about $44 billion.

This $178 billion is the output of our guesses. It is not what Costco is worth or what its stock should cost. Change the guesses and you get a different number.

## How much do the guesses change the answer?

Here is the same Costco DCF with other growth and discount rate guesses. Forever growth stays at 2.5%. Figures are in billions of dollars, our math.

Costco DCF output by growth guess (rows) and discount rate guess (columns), $ billions

| 5-year growth guess | 8.32% rate | 9.32% rate | 10.32% rate |
| --- | --- | --- | --- |
| 4% a year | $176 | $150 | $131 |
| 8% a year | $209 | $178 | $155 |
| 12% a year | $247 | $210 | $182 |

The answer runs from $131 billion to $247 billion. Every input here is a fair-sounding guess. The forever growth rate matters a lot too. With 8% growth and a 9.32% rate, a forever growth of 1.5% gives $160 billion. A forever growth of 3.5% gives $202 billion.

## Unlevered free cash flow vs levered free cash flow

The free cash flow in our table is cash from operations minus capex. Under US rules, cash from operations is counted after interest is paid. So it is close to what people call levered free cash flow. It is the cash left for the owners after lenders get paid.

Unlevered free cash flow is the cash before any payments to lenders. It treats the company as if it had no debt.

They go with different discount rates:

- Levered free cash flow goes with the cost of equity, the return owners want. The answer is the value of the owners' share.
- Unlevered free cash flow goes with [WACC](https://amaltash.com/articles/wacc), a mix of what owners and lenders want. The answer is the value of the whole business. You then take out debt and add cash to get to the owners' share.

Do not mix them. Using unlevered cash with the cost of equity, or the other way round, gives a wrong answer. Our Costco example uses levered cash with a CAPM cost of equity. Some people also add extra cash on hand on top.

## Where it misleads you

A DCF helps you see what you have to believe about a company. It can also fool you.

- Small guesses, big swings. In our table, a 1-point change in the discount rate moved the answer by $19 billion to $37 billion.
- The far future does most of the work. About 75% of our answer came from after year 5.
- Free cash flow jumps around. Coca-Cola's cash from operations was $11,599 million in 2023 and $6,805 million in 2024. A DCF built on the wrong year starts in the wrong place.
- Big spending years look weak. Microsoft's free cash flow fell while its cash from operations rose, because it spent much more on capex. A DCF built on one heavy year can look low.
- It looks exact. A spreadsheet gives an answer to the dollar. The guesses under it are not that exact.
- You can work backward. It is easy to tweak guesses until you get the number you wanted.

## Risks and limits

- Every growth rate, discount rate and multiple in this article is a guess, stated so you can change it.
- The Costco answer is the output of a model, not a price target. It is not what the stock is worth or should cost.
- Past growth does not tell you future growth. Costco's past 11.8% a year may not repeat.
- The table shows one year per company. The years end on different dates.
- Companies can fix, or restate, old filings later. Check the latest filing.
- Nothing here is advice to buy or sell any stock. You can lose money investing. A [stock return calculator](https://amaltash.com/stock-return-calculator) shows what a stock really did in the past.

## Should you build a DCF by hand or in Amaltash?

Both ways use the same steps. Here is what each one asks of you.

Building a DCF by hand vs in Amaltash

| | By hand (spreadsheet + EDGAR) | Amaltash |
| --- | --- | --- |
| Where the numbers come from | You find the 10-K on SEC EDGAR and copy cash from operations and capex | It pulls the company's reported numbers for you |
| Steps | You build all 9 steps above as formulas | You ask in plain words, like "Run a 5-year DCF on Costco" |
| Time | Depends on how fast you copy, build and check | You type one question and wait for the answer |
| Your guesses | You type each one | It shows each one next to the answer, and you can ask to change it |
| Cost | $0, plus a spreadsheet app | As of Nov 28, 2026: no free plan. $1 for the first 30 days, then $20 or $200 a month. See [pricing](https://amaltash.com/pricing) |
| What you get | A model you fully control | The same steps done for you, with the math shown |

Either way, the answer is only as good as your guesses.

## Do this in Amaltash

Amaltash can run a DCF for you. It pulls the company's reported cash numbers, and each one links to the filing it came from. It shows every guess, each year's cash and today's value of it, and the terminal value. Ask it to change a guess, and see how far the answer moves. You can also build a strategy and test it on past prices.

- As of November 28, 2026, Amaltash has no free plan. Your first 30 days cost $1. Then Pro is $20 a month.
- Pro and Ultra are monthly plans with no lock-ins and no cancellation fees.
- No sales call: sign up online and start today.

See every plan on our [pricing page](https://amaltash.com/pricing).

## Ask Amaltash

Get the answer with every number traced to its filing. Change the company if you like.

[Build a 5-year DCF for Costco from the free cash flow in its latest 10-K. Show each guess, each year's cash and today's value, the terminal value, and how the answer moves with other growth and discount rates. Show where each number comes from.](https://invest.amaltash.com/research?q=Build+a+5-year+DCF+for+Costco+from+the+free+cash+flow+in+its+latest+10-K.+Show+each+guess%2C+each+year%27s+cash+and+today%27s+value%2C+the+terminal+value%2C+and+how+the+answer+moves+with+other+growth+and+discount+rates.+Show+where+each+number+comes+from.)

- [Run a 5-year DCF on Apple with 6% growth and a 9% discount rate](https://invest.amaltash.com/research?q=Run+a+5-year+DCF+on+Apple+with+6%25+growth+and+a+9%25+discount+rate)

- [What growth does Microsoft's stock price imply in a reverse DCF?](https://invest.amaltash.com/research?q=What+growth+does+Microsoft%27s+stock+price+imply+in+a+reverse+DCF%3F)

- [Show Coca-Cola's free cash flow for each of the last 5 years](https://invest.amaltash.com/research?q=Show+Coca-Cola%27s+free+cash+flow+for+each+of+the+last+5+years)

No free plan. Your first 30 days cost $1. Cancel any time. No sales call. A research tool, not advice.

It is a research tool. It does not tell you what to buy.

## Frequently asked questions

### What does a DCF model tell you?

A DCF tells you what a business's future cash adds up to in today's dollars, if your guesses are right. It also shows which guesses matter most. That is often more useful than the final number.

### What are the 5 steps of a DCF?

First, find free cash flow. Second, guess how fast it will grow for a few years. Third, pick a discount rate. Fourth, work out a terminal value for the years after. Fifth, shrink all of it to today's dollars and add it up.

### Does Warren Buffett use DCF?

Buffett uses the idea behind it. In Berkshire Hathaway's owner's manual, he defines [intrinsic value](https://amaltash.com/articles/intrinsic-value) as the discounted value of the cash a business can hand out over its life. He also writes that it is an estimate, and that two people will get different numbers from the same facts. Berkshire does not share its own estimates.

### Is a DCF model accurate?

A DCF is only as good as its guesses. The math is exact, but growth, discount rate and terminal value are guesses about the future. In our Costco example, fair-sounding guesses gave answers from $131 billion to $247 billion.

### What is a good discount rate for a DCF?

There is no one right rate. Many people build it from the 10-year Treasury yield plus beta times an equity risk premium. With a 4.91% Treasury yield and a 4.41% premium, a stock with a beta of 1.0 gets about 9.3%. Riskier companies get a higher rate.

### What growth rate should I use in a DCF?

Start with the company's past growth, then ask if it can last. Fast growth rarely lasts forever, so many people use a lower rate for later years. Keep the forever growth rate near the economy's long-run growth, around 2% to 3%.

### Why is terminal value so large in a DCF?

It stands for every year after the ones you guessed one by one, which is a very long time. That is why it is often 60% to 80% of the answer. Check it with both the Gordon growth model and an exit multiple.

### What is the difference between DCF and NPV?

NPV, or net present value, is today's value of future cash minus what you pay up front. A DCF is the method that finds today's value of the future cash. A company DCF often stops at the value. A project NPV then takes out the cost.

### Can I use a DCF calculator instead of building a model?

Yes. A DCF calculator does the same steps for you. You still have to choose the free cash flow, growth rate, discount rate and terminal value. The calculator can't tell you if your guesses are good.

### Is there a DCF model template?

A DCF model template is a spreadsheet with the steps above laid out in rows. Put the latest free cash flow at the top. Add one row per year with the cash, the "divide by" number and today's value. Then add the terminal value and the total. Our Costco table above shows the layout.

## Sources

- [Apple Inc. Form 10-K for the fiscal year ended September 26, 2026 (SEC EDGAR, filed November 3, 2026)](https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm)
- [Microsoft Corporation Form 10-K for the fiscal year ended June 30, 2026 (SEC EDGAR, filed July 29, 2026)](https://www.sec.gov/Archives/edgar/data/789019/000119312526323660/0001193125-26-323660-index.htm)
- [Alphabet Inc. Form 10-K for the fiscal year ended December 31, 2025 (SEC EDGAR, filed February 5, 2026)](https://www.sec.gov/Archives/edgar/data/1652044/000165204426000018/0001652044-26-000018-index.htm)
- [Walmart Inc. Form 10-K for the fiscal year ended January 31, 2026 (SEC EDGAR, filed March 13, 2026)](https://www.sec.gov/Archives/edgar/data/104169/000010416926000055/0000104169-26-000055-index.htm)
- [The Coca-Cola Company Form 10-K for the fiscal year ended December 31, 2025 (SEC EDGAR, filed February 20, 2026)](https://www.sec.gov/Archives/edgar/data/21344/000162828026010047/0001628280-26-010047-index.htm)
- [Costco Wholesale Corporation Form 10-K for the fiscal year ended August 30, 2026 (SEC EDGAR, filed October 7, 2026)](https://www.sec.gov/Archives/edgar/data/909832/000090983226000093/0000909832-26-000093-index.htm)
- [SEC EDGAR XBRL company facts API, read November 25, 2026](https://www.sec.gov/search-filings/edgar-application-programming-interfaces)
- [US Treasury: Daily Treasury Par Yield Curve Rates, 10-year yield for November 24, 2026](https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve&field_tdr_date_value_month=202611)
- [Aswath Damodaran, NYU Stern: implied equity risk premium for the US, November 1, 2026](https://pages.stern.nyu.edu/~adamodar/New_Home_Page/home.htm)
- [Berkshire Hathaway: An Owner's Manual, section on intrinsic value, read November 25, 2026](https://www.berkshirehathaway.com/ownman.pdf)

## Keep reading

- [Free cash flow: formula, yield and real examples](https://amaltash.com/articles/free-cash-flow)
- [WACC formula: how to calculate the cost of capital](https://amaltash.com/articles/wacc)
- [Intrinsic value: how to tell if a stock is cheap or expensive](https://amaltash.com/articles/intrinsic-value)
- [Comparable company analysis: value a company with trading comps](https://amaltash.com/articles/comparable-company-analysis)
- [Costco (COST): price and company data](https://amaltash.com/market/cost)
- [CAGR calculator: turn growth into a yearly rate](https://amaltash.com/cagr-calculator)

---

Educational content published by Amaltash Advisors LLC. Nothing here is investment advice or a recommendation to buy or sell any security. All investing involves risk of loss, including loss of principal, and past performance does not guarantee future results.
