Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Heuristic:AI4Finance Foundation FinRobot Terminal FCF Normalization

From Leeroopedia
Knowledge Sources
Domains Valuation, Optimization, DCF_Modeling
Last Updated 2026-10-19 00:00 GMT

Overview

Normalize the Gordon perpetuity base — anchor capex on `min(D&A, capex)` (not bare D&A) and recompute steady-state FCF — so the terminal value capitalizes sustainable economics instead of a growth-phase capex/D&A imbalance that would misvalue the company by 10–40%.

Description

The Gordon terminal value capitalizes the steady-state FCF. Two normalization decisions dominate its correctness:

1. Capex anchor = `min(da_pct_revenue, capex_pct_revenue)`, NOT bare D&A. GAAP D&A includes acquisition-intangible amortization, which amortizes a sunk purchase price and requires no cash replacement — anchoring perpetual capex on it injects phantom reinvestment. For AMD post-Xilinx: GAAP D&A 12.3% of revenue vs real capex 2.5% — the bare-D&A anchor burned ~10% of revenue forever, flipped terminal FCF to −$4.3B, and killed the DCF chapter of a company with strongly positive real FCF. `min` keeps the capex-heavy side (TSLA: anchor stays D&A 5.5%) and floors the amortization-heavy side at the company's own maintenance spend. Terminal EBIT deducts (and FCF adds back) the SAME anchor so the perpetuity stays internally consistent.

2. Don't capitalize the last explicit-year FCF. Capitalizing the LAST EXPLICIT-YEAR FCF — which still carries the full growth-phase capex — capitalizes a perpetually-suppressed cash flow: a company growing at GDP (3%) cannot out-invest its depreciation by 67% forever. For TSLA (capex 9.2% vs D&A 5.5% held into the perpetuity) that pinned the Gordon terminal value ~40% too low (implied $28 vs steady-state-normalized ~$38). Only the perpetuity BASE normalizes; the explicit-forecast FCFs keep their growth-phase capex unchanged.

3. Terminal ΔNWC uses `terminal_nwc_pct_revenue` when available. The historical ΔNWC/revenue median embeds the historical GROWTH rate (NWC build ≈ NWC ratio × Δrev), so holding it into a 3% perpetuity overstates the drag ~7× for a 20% grower (AMD: 8.1% → 1.4%) — and the mirror image propped up cash burners on a perpetual NWC subsidy (RIVN: −10% forever printed a 1.57×-market fair value). `None` falls back to `nwc_pct_revenue` for inputs built without historical context (e.g. direct REST payloads).

The same normalization runs in `calculate_dcf`, `calculate_sensitivity`, the reverse-DCF kernel, and Monte Carlo so the base case, sensitivity grid centre, market-implied solver, and MC distribution all speak the same terminal economics.

Usage

Use this heuristic whenever you build a Gordon-Growth terminal value in a DCF. Apply it when:

  • The target's growth-phase capex/D&A ratio differs materially from steady state (capex-heavy growers like TSLA, or amortization-heavy post-acquisition names like AMD post-Xilinx).
  • The target is a high-growth name transitioning to a low-growth perpetuity (ΔNWC normalization matters most here).
  • A DCF produces a negative terminal FCF or an implausibly low/high implied price for an otherwise healthy company.

The Insight (Rule of Thumb)

  • Action: In `_terminal_fcf`:
    • Set `anchor = min(da_pct_revenue, capex_pct_revenue)`; `da = rev * anchor`; `capex = da * (1 + terminal_growth)`.
    • Compute `ebit = rev * ebitda_margin - da`; `terminal_fcf = ebit * (1 - tax_rate) + da - capex - rev * nwc_pct`.
    • Use `terminal_nwc_pct_revenue` when available, else fall back to `nwc_pct_revenue`.
  • Value: The `min(D&A, capex)` anchor and the terminal-NWC override. No magic number — the formula stays the standard Gordon perpetuity; only the BASE is normalized.
  • Trade-off: A company whose maintenance capex genuinely exceeds D&A (rare) gets anchored on D&A. This is accepted because the perpetuity must be internally consistent (EBIT deducts and FCF adds back the same anchor); acquisition amortization runs off in finite time and belongs in neither perpetual EBIT nor perpetual reinvestment.
  • Shared across paths: The same `_terminal_fcf` runs in `calculate_dcf`, `calculate_sensitivity`, `_price_for` (reverse-DCF), and `run_monte_carlo` (vectorized) so all paths speak the same terminal economics.

Reasoning

The terminal value is 70–80% of enterprise value, so the perpetuity base dominates the DCF. Two errors in the base compound into large misvaluations:

Bare-D&A anchor overstates perpetual reinvestment for amortization-heavy names: GAAP D&A amortizes sunk acquisition intangibles that require no cash replacement, so anchoring capex on it burns ~10% of revenue forever (AMD post-Xilinx). `min(D&A, capex)` keeps the capex-heavy side honest and floors the amortization-heavy side at real maintenance spend. The anchor is used in BOTH the EBIT deduction and the FCF add-back, so the perpetuity stays internally consistent.

Growth-phase capex held into the perpetuity understates terminal FCF for capex-heavy growers: a 3% perpetuity cannot sustain a 67% capex-over-D&A gap. Capitalizing the last explicit-year FCF pins the terminal ~40% too low (TSLA: $28 vs ~$38). Only the perpetuity base normalizes; the explicit FCFs keep their growth-phase capex.

Historical ΔNWC median embeds the historical growth rate. NWC build ≈ NWC ratio × Δrev, so the historical median scales with the growth rate. Holding it into a 3% perpetuity overstates the drag ~7× for a 20% grower and creates a perpetual NWC subsidy for cash burners. The terminal override re-scales to the marginal NWC ratio × terminal growth.

Code Evidence

Terminal FCF normalization from `dcf.py:306-359`:

def _terminal_fcf(inputs: DCFInputs, terminal_revenue: float, terminal_growth: float) -> float:
    """Steady-state free cash flow that feeds the Gordon perpetuity.

    The maintenance anchor is ``min(da_pct, capex_pct)``, NOT bare D&A:
    GAAP D&A includes acquisition-intangible amortization ... ``min`` keeps the
    capex-heavy side (TSLA: anchor stays D&A 5.5%) and floors the amortization-
    heavy side at the company's own maintenance spend.
    """
    rev = terminal_revenue
    anchor = min(inputs.da_pct_revenue, inputs.capex_pct_revenue)
    da = rev * anchor
    ebit = rev * inputs.ebitda_margin - da
    capex = da * (1 + terminal_growth)
    nwc_pct = (
        inputs.terminal_nwc_pct_revenue
        if inputs.terminal_nwc_pct_revenue is not None
        else inputs.nwc_pct_revenue
    )
    return ebit * (1 - inputs.tax_rate) + da - capex - rev * nwc_pct

Shared across all Gordon consumers (docstring from `dcf.py:343-348`):

# The same normalization runs in calculate_dcf, calculate_sensitivity, the
# reverse-DCF kernel (_price_for), and run_monte_carlo (vectorized) so the
# base case, the sensitivity grid centre, the market-implied solver, and the
# MC distribution all speak the same terminal economics. The MC side is
# pinned by a perturbation→0 equivalence test against calculate_dcf.

Non-positive terminal FCF refusal (the downstream guard) from `dcf.py:127-133`:

terminal_fcf = _terminal_fcf(inputs, projected_revenue[-1], tg)
if terminal_fcf <= 0:
    raise ValueError(
        f"Steady-state terminal FCF is non-positive ({terminal_fcf:.3g}); the Gordon "
        "Growth Model would capitalize it into a perpetual negative terminal value..."
    )

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment