From grimoire
Calculates the Weighted Average Cost of Capital (WACC) to determine the correct discount rate for DCF valuation and capital budgeting decisions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:calculate-waccThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Calculate the Weighted Average Cost of Capital (WACC) to establish the appropriate discount rate for discounted cash flow valuation or capital budgeting decisions.
Calculate the Weighted Average Cost of Capital (WACC) to establish the appropriate discount rate for discounted cash flow valuation or capital budgeting decisions.
Adopted by: CFA Institute (200,000+ members) teaches WACC as the standard discount rate for equity valuation; investment banks (Goldman Sachs, JPMorgan, Morgan Stanley) use WACC in all DCF valuation models; corporate finance teams at public companies use WACC for capital allocation decisions. Impact: Using an incorrect discount rate causes valuation errors of 20–50% — a WACC that is 1% too low overstates value by 10–25% in a typical 5-year DCF; Damodaran's research shows WACC is the most error-prone step in DCF analysis. Why best: WACC is the theoretically correct discount rate for the firm as a whole because it reflects the blended required return of all capital providers weighted by their contribution to the capital structure, incorporating the tax shield on debt.
Sources: Modigliani & Miller "The Cost of Capital, Corporation Finance and the Theory of Investment" (1958, 1963); Damodaran "Investment Valuation" 3rd ed. (2012); CFA Level II — Corporate Issuers curriculum.
Determine the target capital structure — use the market-value weights of debt and equity, not book values. For public companies: market cap (shares × price) for equity; book value of debt adjusted to market value. For private companies: use industry median capital structures or peer comparables.
Calculate the Cost of Equity (Ke) using CAPM — Ke = Risk-Free Rate + Beta × Equity Risk Premium (ERP). Risk-Free Rate: use the current 10-year (or 30-year for long-duration assets) government bond yield. ERP: use Damodaran's annually updated equity risk premium (~4–5.5% for US). Beta: use the company's 5-year monthly regression beta against a market index; unlever/re-lever for private companies using peers.
Adjust beta for leverage (Hamada equation) — Unlevered Beta (βu) = Levered Beta (βL) ÷ (1 + (1 − Tax Rate) × (D/E)). To re-lever to target capital structure: βL = βu × (1 + (1 − Tax Rate) × (D/E)). This step is required when using peer betas for private company or restructuring analysis.
Add size and specific risk premiums if applicable — for small-cap or private companies, add a size premium (Duff & Phelps / Kroll CRSP size premium: 0.5–5% for micro-cap), a company-specific risk premium (CSRP: 0–5% for concentration, key-person dependence, customer concentration risk).
Calculate the Pre-Tax Cost of Debt (Kd) — use the yield to maturity (YTM) on the company's existing publicly traded bonds. For private companies without rated debt, use: risk-free rate + appropriate credit spread based on synthetic credit rating (estimate from interest coverage ratio).
Calculate the After-Tax Cost of Debt — After-Tax Kd = Pre-Tax Kd × (1 − Marginal Tax Rate). Use the marginal (not effective) corporate tax rate. This reflects the tax deductibility of interest (the debt tax shield). For jurisdictions with no interest deductibility, use pre-tax Kd.
Calculate WACC — WACC = (E/V × Ke) + (D/V × Kd × (1 − Tax Rate)), where V = E + D (total firm value), E = market value of equity, D = market value of debt. Example: 60% equity × 10% Ke + 40% debt × 5% Kd × (1 − 25% tax) = 6.0% + 1.5% = 7.5% WACC.
Adjust for country risk if applicable — for companies with significant operations in emerging markets, add a Country Risk Premium (CRP) per Damodaran: CRP = (Sovereign Spread) × (Equity Market Volatility / Bond Market Volatility). Apply CRP to the cost of equity for each geography proportionally.
Triangulate and sanity check — compare your WACC to: (a) industry median WACCs from Damodaran's annual WACC database; (b) implied WACCs from comparable company valuations; (c) the company's stated hurdle rate. A WACC that is 200bp above or below the industry median requires explanation.
Document all assumptions — WACC is highly sensitive to inputs; document every assumption with its source. A 1% change in ERP changes WACC by ~60bp for an all-equity firm. Provide a sensitivity table showing WACC at high/mid/low values for key inputs.
npx claudepluginhub jeffreytse/grimoire --plugin grimoireComputes cost of equity (CAPM), cost of debt (synthetic rating), and WACC for any company in any currency, including emerging market risk premiums and bottom-up beta.
Performs discounted cash flow (DCF) valuation of companies, projects, or assets. Projects free cash flows, calculates WACC, estimates terminal value, runs sensitivity analysis, and documents assumptions.
Multi-jurisdiction reference framework for corporate capital allocation, investment appraisal (NPV, IRR, MIRR), cost of capital (WACC, CAPM), M&A valuation (DCF, comparables), and capital return policy. Includes jurisdictional tax overlays for US, EU, UK, Japan, China, India, Australia.