Value Investing Calculator

$$V_0 = \sum_{t=1}^{n} \frac{FCF_t}{(1+r)^t} + \frac{TV}{(1+r)^n}$$
Buffett's intrinsic value: sum of discounted future cash flows
100M
FCF = Operating Cash Flow − Capital Expenditure. Buffett emphasizes using real earnings to avoid accounting distortions.
%
Based on moat width and historical growth, conservatively estimate future sustainable growth rate.
%
Typically use long-term government bond rate or required return (e.g., 10%). WACC = (E/V)×Re + (D/V)×Rd×(1-T).
100M
Market Cap = Total Shares × Current Price. Can be obtained from market data platforms.
%
ROIC = NOPAT / Invested Capital. NOPAT = EBIT × (1 - tax rate). Invested Capital = Equity + Interest-bearing Debt.
Qualitative judgment: brand, patents, switching costs, network effects, cost advantages, etc. Wide moat decays slowly, narrow moderate, none decays quickly.
🏰 Wide Moat
Narrow Moat
⛺ No Moat
years
Buffett typically uses 10 years or longer, adjustable based on business lifecycle.
%
Mature phase growth, typically not exceeding long-term GDP growth, suggest 2%~3%.
Intrinsic Value: -
Margin of Safety: -
Rating: -
Economic Spread (ROIC − WACC): -
Moat Rating: -
Cash Flow Present Value Breakdown (Yearly + Terminal)
ROIC Trend Forecast (Moat decay assumed in model)

Disclaimer: This tool is for educational and analytical purposes only. All results are based on the assumptions you input and do not constitute investment advice for any security. Stock investing involves risk of principal loss, and past performance does not guarantee future results. Before making any investment decision, please consult a qualified financial advisor and independently verify all data.

User Guide & Theoretical Foundation

This tool strictly follows Warren Buffett's investment philosophy, helping investors estimate intrinsic value, evaluate margin of safety, and assess moat strength. All calculations are performed locally in the browser; no data is uploaded.

  1. Parameter Descriptions & Calculation Methods
    • Free Cash Flow FCF: FCF = Operating Cash Flow - Capital Expenditure. Buffett believes FCF is the cash truly available to shareholders, superior to accounting earnings.
    • Expected Growth g: Based on historical growth, industry potential, and moat width, conservatively estimate the future compound annual growth rate of FCF. Buffett emphasizes that growth must align with ROIC; blind growth without capital return is not sustainable.
    • Discount rate r / WACC: Buffett often uses long-term government bond rates (or slightly higher) as the discount rate to reflect risk-free return and uncertainty premium. WACC can also be used: WACC = (E/V) × Re + (D/V) × Rd × (1 - T), where E is equity value, D is debt value, Re is cost of equity, Rd is cost of debt, and T is tax rate.
    • Current Market Cap: Market Cap = Total Shares × Price, used to calculate margin of safety.
    • Current ROIC: ROIC = NOPAT / Invested Capital. NOPAT = EBIT × (1 - tax rate), Invested Capital = Equity + Interest-bearing Debt − Excess Cash. ROIC is Buffett's core metric for evaluating capital allocation efficiency.
    • Moat Strength: Qualitative assessment of a company's competitive durability. Wide moat (strong brand, patents, network effects, switching costs, cost advantages), narrow moat (some advantages but limited sustainability), no moat (perfect competition, profits easily eroded). This tool simulates ROIC decay based on moat strength.
    • Projection Years: The explicit forecast period for DCF. Buffett typically uses 10 years.
    • Terminal Growth Rate: Growth rate in the terminal phase, should not exceed long-term GDP growth, typically 2%~3%.
  2. Calculation Logic

    Intrinsic value is calculated using a two-stage free cash flow discount model (DCF):

    $$V_0 = \sum_{t=1}^{n} \frac{FCF \times (1+g)^t}{(1+r)^t} + \frac{FCF \times (1+g)^n \times (1+g_{\text{terminal}})}{(r - g_{\text{terminal}}) \times (1+r)^n}$$

    Margin of Safety = (Intrinsic Value − Market Cap) / Intrinsic Value × 100%. Typically, a margin of safety of at least 25% is considered a buying opportunity.

    Moat assessment: ROIC decays over time, with decay rate determined by moat strength. Wide moat decays at 2% per year, narrow at 6%, none at 15%. Economic spread = ROIC − WACC. A positive long-term spread indicates value creation.

  3. Interpreting Results
    • Margin of Safety > 25%: Significantly undervalued, meets Buffett's buying criteria.
    • 0% < Margin of Safety ≤ 25%: Slightly undervalued, further research warranted.
    • Margin of Safety < 0%: Price exceeds intrinsic value, avoid buying.
    • Economic Spread > 0: Company has sustained value-creating ability; negative spread indicates value destruction.