Free cash flow and DCF valuation
FCFF from EBIT, FCFE from net income, and one- or two-stage firm or equity valuation.
- Model id
equity.free_cash_flow, version 1- Domain
- Equity
- Evidence
- standard
- Cost class
- instant: A closed-form calculation; a hosted run may take up to 2 seconds.
Formula
Where
- Free cash flow to the firm
fcff - Operating income before interest and taxes
ebit - Tax rate
tax_rate - Depreciation and amortization
depreciation - Capital expenditure
capex - Increase in working capital
working_capital_change - Free cash flow to equity
fcfe - Net income
net_income - Net borrowing
net_borrowing - Value of equity
equity_value - Value of the firm
firm_value - Debt less cash
net_debt
Each symbol's field is named beside it; the inputs and outputs, with their units and bounds, are under Variables, and the citations give each formula's source.
Variables
Rates, returns and yields are decimals: 0.05 is five percent. Bounds in brackets include their end; in parentheses they exclude it.
Inputs
Free cash flow to the firm (fcff): 6 inputs
| Name | Unit | Bounds | Description |
|---|---|---|---|
Depreciationdepreciationmoney · [0, 1e+12] | money | [0, 1e+12] | Noncash depreciation and amortization |
Capexcapexmoney · [0, 1e+12] | money | [0, 1e+12] | Capital expenditure, positive outlay |
Working capital changeworking_capital_changemoney · [-1e+12, 1e+12] | money | [-1e+12, 1e+12] | Increase in noncash working capital, positive outlay |
Calculationcalculationtext | text | Free cash flow to the firm | |
EBITebitmoney · [-1e+12, 1e+12] | money | [-1e+12, 1e+12] | Operating earnings before interest and tax |
Tax ratetax_rateprobability · [0, 1] | probability | [0, 1] | Marginal tax rate; full loss tax benefit assumed |
Free cash flow to equity (fcfe): 6 inputs
| Name | Unit | Bounds | Description |
|---|---|---|---|
Depreciationdepreciationmoney · [0, 1e+12] | money | [0, 1e+12] | Noncash depreciation and amortization |
Capexcapexmoney · [0, 1e+12] | money | [0, 1e+12] | Capital expenditure, positive outlay |
Working capital changeworking_capital_changemoney · [-1e+12, 1e+12] | money | [-1e+12, 1e+12] | Increase in noncash working capital, positive outlay |
Calculationcalculationtext | text | Free cash flow to equity | |
Net incomenet_incomemoney · [-1e+12, 1e+12] | money | [-1e+12, 1e+12] | After-interest after-tax net income |
Net borrowingnet_borrowingmoney · [-1e+12, 1e+12] | money | [-1e+12, 1e+12] | New debt less principal repaid |
One- or two-stage DCF (valuation): 8 inputs
| Name | Unit | Bounds | Description |
|---|---|---|---|
Calculationcalculationtext | text | One- or two-stage DCF | |
Basisbasistext | text | FCFF/WACC or FCFE/cost of equity | |
Next cash flownext_cash_flowmoney · [-1e+12, 1e+12] | money | [-1e+12, 1e+12] | FCFF or FCFE at t=1 |
Discount ratediscount_raterate · (0, 1] | rate | (0, 1] | WACC for firm basis; cost of equity for equity basis |
Growthgrowthrate · [-0.5, 1] | rate | [-0.5, 1] | Growth within the first stage |
Yearsyearscount · [0, 100] | count | [0, 100] | First-stage years; zero selects a single-stage perpetuity |
Terminal growthterminal_growthrate · [-0.5, 1] | rate | [-0.5, 1] | Stable growth after the first stage, or after t=1 if years=0 |
Net debtnet_debtmoney · [-1e+12, 1e+12] | money | [-1e+12, 1e+12] | Debt less cash; excludes nonoperating assets other than cash |
Outputs
Free cash flow to the firm (fcff): 2 outputs
| Name | Unit | Bounds | Description |
|---|---|---|---|
Calculationcalculationtext | text | Free cash flow to the firm | |
FCFFfcffmoney · [-4e+12, 4e+12] | money | [-4e+12, 4e+12] | Cash flow before debt financing |
Free cash flow to equity (fcfe): 2 outputs
| Name | Unit | Bounds | Description |
|---|---|---|---|
Calculationcalculationtext | text | Free cash flow to equity | |
FCFEfcfemoney · [-5e+12, 5e+12] | money | [-5e+12, 5e+12] | Cash flow after debt financing |
One- or two-stage DCF (valuation): 3 outputs
| Name | Unit | Bounds | Description |
|---|---|---|---|
Calculationcalculationtext | text | One- or two-stage DCF | |
Firm valuefirm_valuemoney · [-1e+15, 1e+15] | money | [-1e+15, 1e+15] | Operating firm value |
Equity valueequity_valuemoney · [-1e+15, 1e+15] | money | [-1e+15, 1e+15] | Firm value less net debt |
Calculator
Run the model on your own inputs, starting from its example. Rates are decimals: 0.05 is five percent. The run goes to the pyeconomics API on this site: your values travel only in the request, and nothing is stored.
Loading the calculator…
Worked example
Example formula_fcff. Inputs:
{
"calculation": "fcff",
"capex": 70,
"depreciation": 50,
"ebit": 200,
"tax_rate": 0.25,
"working_capital_change": 10
}Outputs:
{
"calculation": "fcff",
"fcff": 120
}Assumptions
- Annual end-of-year cash flows in one currency; next_cash_flow is at t=1.
- Firm basis uses FCFF and WACC; equity basis uses FCFE and cost of equity. Discount rates are constant.
- EBIT loss receives a full tax benefit; no separate loss carry-forward schedule.
Limitations
- A discount rate at or below stable growth raises DomainError; valuations outside +/-1e15 do too.
- Growth and discount rates are user assumptions. Negative equity is a formula result; no solvency floor or recommendation is imposed.
Evidence
Status: standard. Textbook consensus, such as bond duration or the CAPM formula.
Every model declares one status: standard (textbook consensus), practitioner (a widely used convention), contested (under active debate), rejected (failed out of sample) or historical (a superseded methodology).
Syllabus
The 2027 CFA® Program's topic areas this model relates to, as factual tags. Each links to CFA Institute's page for its level; pyeconomics holds none of the curriculum's text.
Citations
- Damodaran, A. (2012). Investment Valuation, 3rd ed. Wiley. https://pages.stern.nyu.edu/~adamodar/pdfiles/eqnotes/dcfall2pg.pdf (Free cash flow to equity; firm valuation). ISBN 9781118011522
Changelog
- Version 1: First version.
Use it elsewhere
- Documentation
- The model's reference page
- REST API
GET or POST /v1/models/equity.free_cash_flow/run- MCP tool
equity_free_cash_flow, orrun_modelwith the model's id; both give the same result. Connect an assistant- Command line
pyeconomics models run equity.free_cash_flow --help
The worked example, from Python and from the command line:
import pyeconomics
inputs = {
"calculation": "fcff",
"capex": 70,
"depreciation": 50,
"ebit": 200,
"tax_rate": 0.25,
"working_capital_change": 10,
}
result = pyeconomics.run("equity.free_cash_flow", inputs)
print(result.to_json())
pyeconomics models run equity.free_cash_flow --inputs - <<'JSON'
{
"calculation": "fcff",
"capex": 70,
"depreciation": 50,
"ebit": 200,
"tax_rate": 0.25,
"working_capital_change": 10
}
JSON