AGENT SKILL

wacc-computation

When the user wants to calculate the Weighted Average Cost of Capital (WACC) for valuation or capital budgeting. Also use when the user mentions "cost of equity," "cost of debt," "CAPM," "beta unlevering," "risk-free rate," or "equity risk premium."

License 许可
MIT
最近更新
2026-11-01
Stars
★ 47
Forks
14

01 前言 Front Matter

name
wacc-computation
metadata
{ "version": "1.0.0" }
description
When the user wants to calculate the Weighted Average Cost of Capital (WACC) for valuation or capital budgeting. Also use when the user mentions "cost of equity," "cost of debt," "CAPM," "beta unlevering," "risk-free rate," or "equity risk premium."

02 资源文件 7

03 SKILL.md 正文

WACC Computation

You are a Corporate Finance Manager. Your goal is to determine the minimum return a company must earn on its existing asset base to satisfy its creditors, owners, and other providers of capital.

Initial Assessment

  1. Capital Structure

    • Market Value of Equity (Market Cap).
    • Market Value of Debt (or Book Value if Market Value is unavailable).
    • Preferred Stock (if any).
  2. Cost of Equity (CAPM)

    • Risk-Free Rate ($R_f$): (e.g., 10-year Treasury yield).
    • Beta ($\beta$): (Raw or Unlevered/Relevered).
    • Equity Risk Premium (ERP).
  3. Cost of Debt

    • Pre-tax Cost of Debt ($R_d$): (Yield to Maturity on existing bonds or marginal borrowing rate).
    • Marginal Tax Rate ($T$).

WACC Framework

The Formula

WACC = (E/V * Re) + (D/V * Rd * (1 - T)) + (P/V * Rp)

  • E: Market Value of Equity.
  • D: Market Value of Debt.
  • P: Value of Preferred Stock.
  • V: Total Value (E + D + P).
  • Re: Cost of Equity.
  • Rd: Cost of Debt.
  • Rp: Cost of Preferred Stock.

Priority Order

  1. Data Collection (Gathering market prices and rates).
  2. Cost of Equity Calculation (Using CAPM).
  3. Cost of Debt Calculation (After-tax).
  4. Weighting (Using Market Values, not Book Values).
  5. Final Computation & Sensitivity.

Technical Computation Steps

1. Unlevering/Relevering Beta

  • If the target company is private or has a weird capital structure, unlever a peer group's beta and relever it based on the target's D/E ratio.
  • β_unlevered = β_levered / (1 + (1-T)*(D/E)).

2. Market Value of Debt

  • If market prices are unavailable, treat the book value as a proxy or use the "Synthetic Rating" method based on the Interest Coverage Ratio.

Output Format

WACC Computation Memo

Summary Table

  • Final WACC: (e.g., 8.4%).
  • Weight of Equity: (e.g., 70%).
  • Weight of Debt: (e.g., 30%).

Component Detail

  • Cost of Equity: Breakdown of CAPM inputs ($R_f$, $\beta$, ERP).
  • Cost of Debt: Pre-tax rate and tax adjustment.

Sensitivity Matrix

  • WACC variance based on different Beta and Equity Risk Premium assumptions.

Scripts

  • calculate.py: CAPM, beta unlevering/relevering, and WACC functions. Run with python3 scripts/calculate.py to self-test; import the functions for actual computations.

References


Assets


Related Skills

  • investment-analysis: WACC is the discount rate for DCF models.
  • capital-budgeting: WACC is the hurdle rate for project NPV.

04 同仓库更多 Skills

GAJETOso
GAJETOso/financeskills

working-capital-analysis

When the user wants to analyze or optimize working capital — receivables, payables, inventory, and the cash conversion cycle. Also use when the user mentions "DSO," "DPO," "DIO," "cash conversion cycle," "cash tied up," "AR aging," "payment terms," "working capital peg," or "free up cash."

★ 47
GAJETOso
GAJETOso/financeskills

venture-debt

When the user wants to evaluate or structure debt for high-growth, venture-backed startups. Also use when the user mentions "startup loan," "warrants," "venture lending," "debt covenants for tech," "non-dilutive funding," or "growth capital debt."

★ 47
GAJETOso
GAJETOso/financeskills

variance-analysis

When the user wants to analyze the difference between actual and standard costs in manufacturing. Also use when the user mentions "material price variance," "labor efficiency," "overhead variance," "standard costing," or "production audit."

★ 47
GAJETOso
GAJETOso/financeskills

treasury-management

When the user wants to manage corporate liquidity, investments, or financial risks like FX and interest rates. Also use when the user mentions "cash positioning," "foreign exchange risk," "interest rate hedging," "corporate investment policy," "liquidity planning," or "managing bank relationships."

★ 47
GAJETOso
GAJETOso/financeskills

three-statement-modeling

When the user wants to build an integrated financial model linking income statement, balance sheet, and cash flow. Also use when the user mentions "3-statement model," "integrated model," "balance sheet doesn't balance," "circular reference," "revolver plug," "model drivers," or "financial projections."

★ 47
GAJETOso
GAJETOso/financeskills

tax-planning

When the user wants to optimize tax liability or ensure tax compliance. Also use when the user mentions "tax strategy," "lowering taxes," "tax credits," "deductions," "filing prep," "corporate tax," "VAT audit," or "capital gains planning." Use this for both individual and corporate tax.

★ 47