Skip to content

Equity

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

FCFF=EBIT(1−t)+D−CapEx−ΔWCFCFF=EBIT(1-t)+D-CapEx-\Delta WCFCFE=NI+D−CapEx−ΔWC+NBFCFE=NI+D-CapEx-\Delta WC+NBE=V−NetDebtE=V-NetDebt

Where

FCFFFCFF
Free cash flow to the firm fcff
EBITEBIT
Operating income before interest and taxes ebit
tt
Tax rate tax_rate
DD
Depreciation and amortization depreciation
CapExCapEx
Capital expenditure capex
ΔWC\Delta WC
Increase in working capital working_capital_change
FCFEFCFE
Free cash flow to equity fcfe
NINI
Net income net_income
NBNB
Net borrowing net_borrowing
EE
Value of equity equity_value
VV
Value of the firm firm_value
NetDebtNetDebt
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
Inputs of the calculation fcff
NameDescription
Depreciationdepreciationmoney · [0, 1e+12]Noncash depreciation and amortization
Capexcapexmoney · [0, 1e+12]Capital expenditure, positive outlay
Working capital changeworking_capital_changemoney · [-1e+12, 1e+12]Increase in noncash working capital, positive outlay
CalculationcalculationtextFree cash flow to the firm
EBITebitmoney · [-1e+12, 1e+12]Operating earnings before interest and tax
Tax ratetax_rateprobability · [0, 1]Marginal tax rate; full loss tax benefit assumed
Free cash flow to equity (fcfe): 6 inputs
Inputs of the calculation fcfe
NameDescription
Depreciationdepreciationmoney · [0, 1e+12]Noncash depreciation and amortization
Capexcapexmoney · [0, 1e+12]Capital expenditure, positive outlay
Working capital changeworking_capital_changemoney · [-1e+12, 1e+12]Increase in noncash working capital, positive outlay
CalculationcalculationtextFree cash flow to equity
Net incomenet_incomemoney · [-1e+12, 1e+12]After-interest after-tax net income
Net borrowingnet_borrowingmoney · [-1e+12, 1e+12]New debt less principal repaid
One- or two-stage DCF (valuation): 8 inputs
Inputs of the calculation valuation
NameDescription
CalculationcalculationtextOne- or two-stage DCF
BasisbasistextFCFF/WACC or FCFE/cost of equity
Next cash flownext_cash_flowmoney · [-1e+12, 1e+12]FCFF or FCFE at t=1
Discount ratediscount_raterate · (0, 1]WACC for firm basis; cost of equity for equity basis
Growthgrowthrate · [-0.5, 1]Growth within the first stage
Yearsyearscount · [0, 100]First-stage years; zero selects a single-stage perpetuity
Terminal growthterminal_growthrate · [-0.5, 1]Stable growth after the first stage, or after t=1 if years=0
Net debtnet_debtmoney · [-1e+12, 1e+12]Debt less cash; excludes nonoperating assets other than cash

Outputs

Free cash flow to the firm (fcff): 2 outputs
Outputs of the calculation fcff
NameDescription
CalculationcalculationtextFree cash flow to the firm
FCFFfcffmoney · [-4e+12, 4e+12]Cash flow before debt financing
Free cash flow to equity (fcfe): 2 outputs
Outputs of the calculation fcfe
NameDescription
CalculationcalculationtextFree cash flow to equity
FCFEfcfemoney · [-5e+12, 5e+12]Cash flow after debt financing
One- or two-stage DCF (valuation): 3 outputs
Outputs of the calculation valuation
NameDescription
CalculationcalculationtextOne- or two-stage DCF
Firm valuefirm_valuemoney · [-1e+15, 1e+15]Operating firm value
Equity valueequity_valuemoney · [-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

  1. 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, or run_model with 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:

Python
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())
Command line
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