DCF Calculator and Reverse DCF: Value a Stock from Its Cash Flows
Intrinsic Fair Value & Cycle-Normalized DCF Engineering
Engine Spec: 60/40 Confluence
A discounted cash flow (DCF) valuation estimates what a company is worth today from the cash it will generate in future, discounted back at the return investors require. A reverse DCF runs it backwards: it takes the share price and solves for the growth that price assumes. Our engine also cycle-normalizes the cash flow, valuing cyclical companies on average earnings across a full cycle instead of a peak or trough year.
DCF Calculator and Reverse DCF Calculator
Enter a company's free cash flow and your assumptions. The calculator values the business in two stages: cash flow grows at your rate for the forecast years, then at the terminal rate forever. Add the current share price and it also solves the reverse DCF: the growth rate the price already assumes.
Value per share = (present value of the forecast cash flows + present value of the terminal value + net cash) ÷ shares. Use the same unit for every money amount.
Choosing the inputs
- Free cash flow: operating cash flow minus capital expenditure. For a cyclical company, use an average across a full cycle rather than a peak year (section 3 explains why).
- Discount rate: the return investors require, usually the WACC; 8–10% is common for large US companies. Section 2 shows how it is built.
- Terminal growth: long-run growth forever, so keep it at or below long-run economic growth, around 2–3%.
- Watch the terminal share: when most of the value comes from the terminal value, small changes in the discount rate or terminal growth move the answer a lot.
During the peak of an economic expansion, cyclical companies such as semiconductor foundries, industrial heavy machinery manufacturers, energy producers, and miners generate record operating cash flows. Consequently, their trailing Price-to-Earnings (P/E) ratios plummet into single digits, creating the illusion of extreme undervaluation. Conversely, at the trough of a recession, their operating earnings evaporate, making the stock look deceptively overvalued at 40x trailing earnings.
This is the value trap: buying at the peak because the multiples look cheap, then watching earnings fall back toward their average. Valuing the company on its earning power across a full five-to-seven-year cycle, rather than its best or worst year, is the remedy.
1. Comparative Analysis: 4 Approaches to Stock Valuation
To understand why cycle normalization is necessary, we must compare the primary valuation methodologies used across equity capital markets:
| Valuation Approach | Core Mechanics | Primary Strength | Critical Limitation |
|---|---|---|---|
| A. Trailing Multiples (P/E, EV/Sales) | Current Price divided by LTM earnings or revenue. | Fast to calculate; widely reported on financial media. | Severely distorted at cycle peaks and troughs. |
| B. Standard Unlevered FCFF DCF | Projects current year Free Cash Flow forward at a constant rate. | Directly models cash generation and cost of capital (WACC). | Extrapolates temporary cycle anomalies indefinitely into the future. |
| C. Cycle-Normalized DCF (Stock Investing Pro) | Applies 5-year (24-quarter) median ROIC to invested capital; relevers beta via Hamada. | Captures true structural earning power; filters out boom/bust noise. | Requires multi-year historical balance sheet data. |
| D. Intrinsic & Relative Blend | Blends the DCF with historical valuation multiples; the weights depend on the type of company, and each stock page shows them. | Balances theoretical intrinsic value with realistic market pricing regimes. | Requires automated sector classification routing. |
2. Relevering Beta via the Hamada Equation
A fundamental input into the Discounted Cash Flow model is the Weighted Average Cost of
Capital (WACC), which depends heavily on the cost of equity (Ke) derived from the
Capital Asset Pricing Model (CAPM). However, raw historical beta measures equity volatility under
fluctuating debt levels. As companies borrow heavily during expansions and deleverage during
downturns, raw beta shifts erratically.
To calculate a stable, cycle-neutral discount rate, we isolate the fundamental business risk by
calculating the unlevered industry beta (βU). We then relever it to the
company's current capital structure using the Hamada Equation:
The Hamada Relevering Equation:
βL = βU × [1 + (1 - T) × (D / E)]
• βL (Levered Beta): The equity risk reflecting both operating risk
and financial leverage.
• βU (Unlevered Beta): Pure business/asset risk stripped of
financial debt.
• T (Corporate Tax Rate): Marginal tax rate shielding interest payments.
• D / E (Debt-to-Equity Ratio): Current total debt divided by market value of
equity.
With the Hamada-relevered beta established, the Cost of Equity (Ke) and WACC are computed without
financial structure distortions:
WACC Formulation:
Ke = Rf + βL × ERP
WACC = (E / V) × Ke + (D / V) × Kd × (1 - T)
Where Rf is the 10-year Treasury risk-free rate, ERP is the
Equity Risk Premium (typically 4.5%–5.5%), and Kd is the pre-tax cost of debt.
3. Establishing the Through-Cycle Average ROIC Baseline
Standard DCF calculators take the most recent 12-month Free Cash Flow and apply an arbitrary 10% or 15% growth rate. In reality, a company's ability to compound cash flow over a decade is strictly governed by its Return on Invested Capital (ROIC) relative to its cost of capital (WACC). Learn more about this dynamic in our dedicated Capital Efficiency & ROIC Guide.
Rather than using trailing figures, our valuation engine calculates the 5-year through-cycle median ROIC across 24 quarters of financial statements to establish Normalized Net Operating Profit After Tax (NOPAT):
Normalized NOPAT & Cash Flow Engine:
Normalized NOPAT = Total Invested Capital × 5-Year Through-Cycle Median ROIC
Where Invested Capital = Total Debt + Total Stockholders' Equity - Excess Cash.
This formula ensures that if a company experienced a one-off supply shortage or commodities
spike that temporarily doubled its earnings, the valuation engine normalizes cash flows back to
sustainable historical capital efficiency.
4. Two-Stage Projection and Terminal Value Calculations
Our model projects normalized Free Cash Flows over a 5-year explicit forecast period, followed by a Terminal Value calculation that models the perpetual existence of the enterprise:
Terminal Value (Gordon Growth vs Exit Multiple):
Terminal Value (Perpetuity) = [FCF5 × (1 + g)] / (WACC - g)
Where g is the perpetual long-term GDP growth rate (capped conservatively at 2.0%–2.5%). The
enterprise value is obtained by discounting explicit cash flows and the terminal value back to
present value, then subtracting net debt to arrive at equity fair value per share.
5. Worked Example: A Cyclical Industrial at the Top of the Cycle
An illustration with round, hypothetical figures for a heavy-machinery maker like Caterpillar (CAT) in a capital-spending boom. The stock page shows the engine's current figures.
Unadjusted vs. normalized DCF (illustrative)
- The Unadjusted Scenario: In a peak year, the company posts record free cash flow of $10.5B. A naive DCF model projecting 8% growth off this peak FCF with an unadjusted raw beta of 1.10 generates an implied fair value of $420.00 / share. That figure assumes the peak lasts.
- The Cycle-Normalized Scenario: Over the full five-year cycle, median ROIC is 15.2% on an Invested Capital base of $48B, yielding a normalized
through-cycle NOPAT of $7.3B. The Hamada equation relevers an unlevered machinery sector
beta (
βU = 0.95) with $38B of debt to compute a true levered beta (βL = 1.28), raising WACC to 9.2%. - The Valuation Outcome: Discounting normalized cash flows yields an intrinsic fair value of $315.00 / share. Against a $385 share price, the normalized model says the market is paying for peak earnings to continue; the unadjusted one says the stock is cheap. The two answers differ by the assumption about the cycle, not by the arithmetic.
6. Tricky Edge Cases & Valuation Nuances
Real-world financial statements present severe edge cases that cause standard DCF calculators to crash or produce absurd numbers. Our engine includes automated safeguards for each scenario:
High-growth technology and cloud companies frequently run negative Free Cash Flow due to aggressive upfront customer acquisition and R&D. Rather than crashing, our engine routes software stocks through the SaaS Rule of 40 Guide and uses a forward ROIC convergence curve.
Many online DCF tools treat Stock-Based Compensation as a non-cash add-back to operating cash flow without penalizing share count. Our engine treats SBC as a real economic expense that either dilutes terminal share count or reduces normalized cash generation.
Supply chain disruptions can cause sudden inventory build-ups, creating
an artificial negative spike in working capital (ΔNWC). We smooth working capital
changes over 12 quarters to prevent transient inventory cycles from distorting long-term
intrinsic value.
7. Blending Intrinsic Valuation with Technical Timing
A DCF says what a business is worth, not when the price will get there; a stock can stay below its estimated value for years. Stock Investing Pro shows the DCF value next to the technical readings described in our 60/40 Master Confluence Methodology and the market conditions in our Market Regimes Guide. We have tested whether the combined ratings predict returns and published the results on our evidence page.
8. Reverse DCF & Market-Implied Growth Calibration
Traditional DCF asks what a stock is worth given an assumed growth rate; a Reverse DCF calculator solves the inverse question: what 5-year free cash flow growth rate is already priced into today's share price? Use the calculator at the top of this page: enter the share price and it solves for that growth rate. If the implied growth is far above what the company has ever achieved, the price assumes a lot. The table links to the engine's current valuation of well-known companies.
| Company & Ticker | Valuation Pathway | Key Normalization Input | Live Valuation |
|---|---|---|---|
| Apple Inc. (AAPL) | Asset-Light Compounder DCF | High ROIC / Buyback Share Count | AAPL Fair Value → |
| Microsoft Corp. (MSFT) | Hyperscaler DCF + CapEx Guard | Cloud CapEx vs. Normalized FCF | MSFT Fair Value → |
| NVIDIA Corp. (NVDA) | Healthy Semi Design DCF | Forward Margin & Growth Cap | NVDA Fair Value → |
| Caterpillar Inc. (CAT) | Cyclical Industrial DCF | 5Y Median ROIC + Hamada βL | CAT Fair Value → |
| JPMorgan Chase (JPM) | Residual Income / ROTCE | Cost of Equity + Tangible Book | JPM Fair Value → |
| Eli Lilly and Co. (LLY) | R&D Capitalized Pharma DCF | Pipeline Margin Expansion | LLY Fair Value → |
| Amazon.com (AMZN) | Hyperscaler Multi-Stage DCF | AWS Operating Leverage | AMZN Fair Value → |
| Costco Wholesale (COST) | Retail Compounder DCF | Membership FCF Durability | COST Fair Value → |
About the Research & Fair Value Engine
Stock Investing Pro Research Team builds and maintains our cycle-normalized DCF engine, Hamada beta relevering pipeline, and sector-aware intrinsic vs. relative valuation weighting ladder.
Valuation Scope: Covers standard industrial equities, asset-light software compounders, REITs, financials, and cyclicals across US and international markets.
Value a Stock Without a Spreadsheet
See the engine's fair value estimate, DCF inputs and scenario range for any US stock, free on the web, iOS and Android.
Analyze a Stock