Mastering DCF in Excel: Step-by-Step Guide

Alexander Jul 09, 2026

Discounted Cash Flow (DCF) analysis is a powerful tool for valuing companies or projects by estimating the present value of their future free cash flows. Excel, with its robust features and flexibility, is an ideal platform to build DCF models. Here's a step-by-step guide to create a discounted cash flow model in Excel.

📈 Manage Cash Flow with Excel Like a Pro
📈 Manage Cash Flow with Excel Like a Pro

Before we dive into the details, ensure you have a good understanding of DCF analysis, including the time value of money, future cash flows, discount rates, and the formula for calculating the present value.

Financial Modeling  in Excel Building a Discounted Cash Flow Valuation
Financial Modeling in Excel Building a Discounted Cash Flow Valuation

Setting Up the DCF Model

The first step is to set up the structure of your DCF model. This typically includes sections for inputs, calculations, and outputs. Use Excel's built-in tools like tables, named ranges, and data validation to make your model user-friendly and error-free.

Financial Modeling Quick Lesson: Building a Discounted Cash Flow (DCF) Model - Part 2
Financial Modeling Quick Lesson: Building a Discounted Cash Flow (DCF) Model - Part 2

Here's a simple layout to get you started:

InputsCalculationsOutputs
Revenue Growth Rate (%)Free Cash Flow (FCF)Present Value (PV)
Operating Margin (%)Terminal ValueEnterprise Value
Capital Expenditure (CapEx) (%)Discount Rate (%)Equity Value
Tax Rate (%)Net Present Value (NPV)Internal Rate of Return (IRR)
Discount Factor (%)Payback Period
DCF Model: The Complete Guide to Building a Discounted Cash Flow Model
DCF Model: The Complete Guide to Building a Discounted Cash Flow Model

Calculating Free Cash Flows

Free Cash Flow (FCF) is the cash a company generates after accounting for cash outflows to support operations and maintain its capital assets. In Excel, FCF can be calculated as follows:

FCF = Net Income * (1 - Tax Rate) - Capital Expenditure

Financial Modeling Quick Lesson: Building a Discounted Cash Flow (DCF) Model - Part 1
Financial Modeling Quick Lesson: Building a Discounted Cash Flow (DCF) Model - Part 1

Assuming Net Income and Capital Expenditure are given, you can calculate FCF for each year using this formula. Remember to adjust for changes in revenue growth and operating margin over time.

Estimating Terminal Value

The terminal value represents the value of all future cash flows beyond the explicit forecast period. It's calculated using the Gordon Growth Model:

Discounted Cash Flow (DCF) Financial Model | Valuation Template
Discounted Cash Flow (DCF) Financial Model | Valuation Template

Terminal Value = (FCF in the last forecast year * (1 + Long-Term Growth Rate)) / (Discount Rate - Long-Term Growth Rate)

This value is then discounted back to the present using the discount rate.

a whiteboard with some writing on it and diagrams about the process for cash flow modeling
a whiteboard with some writing on it and diagrams about the process for cash flow modeling
Discounted Cash Flow Template | Business Tools | Excel Templates | DCF Valuation Model
Discounted Cash Flow Template | Business Tools | Excel Templates | DCF Valuation Model
Discounted Cash Flow Model for Small Business
Discounted Cash Flow Model for Small Business
Cash Flow Forecast Template For Excel
Cash Flow Forecast Template For Excel
Monitor your cash flow | Make money online
Monitor your cash flow | Make money online
Cash Flow Financial Model Table Consulting Template Visme
Cash Flow Financial Model Table Consulting Template Visme
How to make Cash Flow Report Summary in #Excel
How to make Cash Flow Report Summary in #Excel
How to Make a Monthly Budget Excel Spreadsheet | Cashflow, Income, Fixed and Variable Expenses
How to Make a Monthly Budget Excel Spreadsheet | Cashflow, Income, Fixed and Variable Expenses
a blue and black poster with information about the process to make cash flow in minutes
a blue and black poster with information about the process to make cash flow in minutes
Basic Cash Flow Budget
Basic Cash Flow Budget
Discounted Cash Flow Template Excel Google Sheets, DCF Valuation Model, Financial Forecast Spreadsheet, Investment Analysis Tool
Discounted Cash Flow Template Excel Google Sheets, DCF Valuation Model, Financial Forecast Spreadsheet, Investment Analysis Tool
Startup Runway & Burn Rate Dashboard Excel Template | Cash Flow Forecast Model | Founder Finance Spreadsheet
Startup Runway & Burn Rate Dashboard Excel Template | Cash Flow Forecast Model | Founder Finance Spreadsheet
Small Business Cash Flow Forecast Excel Template, 13-Week Tracker (Instant Download)
Small Business Cash Flow Forecast Excel Template, 13-Week Tracker (Instant Download)
Weekly Cash Flow Template for Small Business, Weekly Cashflow Forecast
Weekly Cash Flow Template for Small Business, Weekly Cashflow Forecast
Master Your Cash Flow: 11 Essential Formulas You Need to Know 💸 | Nevena Miskovic | 15 comments
Master Your Cash Flow: 11 Essential Formulas You Need to Know 💸 | Nevena Miskovic | 15 comments
Financial Modeling Quick Lesson: Cash Flow Statement (Part 1)
Financial Modeling Quick Lesson: Cash Flow Statement (Part 1)
Valuation and Discounted Cash Flow Analysis (DCF)
Valuation and Discounted Cash Flow Analysis (DCF)
Startup Cash Flow Model | 12-Month Excel Template | Investor-Ready | Built by CFO
Startup Cash Flow Model | 12-Month Excel Template | Investor-Ready | Built by CFO
Discounted Cash Flow Template | Business Tools | Excel Templates | DCF Valuation Model
Discounted Cash Flow Template | Business Tools | Excel Templates | DCF Valuation Model
The Ultimate Cash Flow Guide (EBITDA, CF, FCF, FCFE, FCFF)
The Ultimate Cash Flow Guide (EBITDA, CF, FCF, FCFE, FCFF)

Discounting Cash Flows

Discounting cash flows involves calculating the present value of each future FCF and the terminal value using the discount rate. This gives you the current value of the company or project.

In Excel, use the XNPV or XIRR function to calculate the present value of irregularly spaced cash flows. Alternatively, you can use the PV function for regularly spaced cash flows.

Calculating Discount Rate

The discount rate is the rate of return that investors require to invest in a company or project. It's typically estimated using the Capital Asset Pricing Model (CAPM) or the Weighted Average Cost of Capital (WACC).

Here's how to calculate WACC in Excel:

WACC = (E/V * Re) + ((D/V * Rd) * (1 - Tax Rate))

Where E/V is the market value of equity divided by the market value of the firm, Re is the cost of equity, Rd is the cost of debt, and D/V is the market value of debt divided by the market value of the firm.

Interpreting the Results

Once you've calculated the present value of all cash flows, you can determine the enterprise value and equity value of the company or project. Compare these values with the current market capitalization or investment cost to make informed decisions.

Additionally, calculate metrics like Net Present Value (NPV), Internal Rate of Return (IRR), and Payback Period to further evaluate the project's feasibility and profitability.

Building a DCF model in Excel is a complex task that requires a solid understanding of finance and Excel's functionalities. However, with practice and patience, you can create powerful tools to support your investment decisions. Happy modeling!