Wacc Calculation

.wacc-calc-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; max-width: 800px; margin: 20px auto; padding: 25px; border: 1px solid #e0e0e0; border-radius: 8px; background-color: #ffffff; color: #333; box-shadow: 0 4px 6px rgba(0,0,0,0.05); } .wacc-calc-container h2 { color: #1a237e; margin-top: 0; text-align: center; font-size: 24px; } .wacc-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; } @media (max-width: 600px) { .wacc-input-grid { grid-template-columns: 1fr; } } .wacc-input-group { display: flex; flex-direction: column; } .wacc-input-group label { font-weight: 600; margin-bottom: 8px; font-size: 14px; color: #444; } .wacc-input-group input { padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; } .wacc-btn { background-color: #1a237e; color: white; padding: 15px 25px; border: none; border-radius: 4px; cursor: pointer; font-size: 18px; font-weight: bold; width: 100%; transition: background-color 0.2s; } .wacc-btn:hover { background-color: #0d1642; } #wacc-result-area { margin-top: 25px; padding: 20px; background-color: #f8f9fa; border-radius: 4px; text-align: center; display: none; } .wacc-main-result { font-size: 32px; color: #1a237e; font-weight: 800; margin: 10px 0; } .wacc-breakdown { font-size: 14px; color: #666; line-height: 1.6; } .wacc-article { margin-top: 40px; line-height: 1.6; color: #444; } .wacc-article h3 { color: #1a237e; border-bottom: 2px solid #eee; padding-bottom: 10px; } .wacc-formula-box { background: #f0f2f5; padding: 15px; border-left: 5px solid #1a237e; font-family: "Courier New", Courier, monospace; margin: 20px 0; overflow-x: auto; }

Weighted Average Cost of Capital (WACC) Calculator

Your Weighted Average Cost of Capital is:
0.00%

What is WACC?

The Weighted Average Cost of Capital (WACC) represents a company's average after-tax cost of capital from all sources, including common stock, preferred stock, bonds, and other forms of debt. It is the minimum return a company must earn on its existing asset base to satisfy its creditors, owners, and other providers of capital.

The WACC Formula

WACC = (E/V × Re) + [(D/V × Rd) × (1 – T)]
  • E: Market Value of Equity
  • D: Market Value of Debt
  • V: Total Value of Capital (E + D)
  • Re: Cost of Equity
  • Rd: Cost of Debt
  • T: Corporate Tax Rate

How to Interpret WACC

WACC is used by corporate directors to determine the feasibility of mergers and other expansionary opportunities. It is the discount rate used for Cash Flow Analysis (DCF). A lower WACC indicates a lower cost of borrowing and higher efficiency in capital structure, while a higher WACC suggests higher risk or more expensive financing.

Example Calculation

Suppose a company has $600,000 in equity and $400,000 in debt. The cost of equity is 12%, the cost of debt is 6%, and the tax rate is 25%.

1. Total Capital (V) = $1,000,000
2. Weight of Equity (E/V) = 0.60
3. Weight of Debt (D/V) = 0.40
4. After-tax Cost of Debt = 6% × (1 – 0.25) = 4.5%
5. WACC = (0.60 × 12%) + (0.40 × 4.5%) = 7.2% + 1.8% = 9.0%

function calculateWACC() { var E = parseFloat(document.getElementById('marketEquity').value); var D = parseFloat(document.getElementById('marketDebt').value); var Re = parseFloat(document.getElementById('costEquity').value) / 100; var Rd = parseFloat(document.getElementById('costDebt').value) / 100; var T = parseFloat(document.getElementById('taxRate').value) / 100; if (isNaN(E) || isNaN(D) || isNaN(Re) || isNaN(Rd) || isNaN(T)) { alert("Please enter valid numbers in all fields."); return; } var V = E + D; if (V === 0) { alert("Total capital value cannot be zero."); return; } var weightEquity = E / V; var weightDebt = D / V; // Formula: (E/V * Re) + (D/V * Rd * (1-T)) var wacc = (weightEquity * Re) + (weightDebt * Rd * (1 – T)); var waccPercent = (wacc * 100).toFixed(2); var resultArea = document.getElementById('wacc-result-area'); var output = document.getElementById('wacc-output'); var details = document.getElementById('wacc-details'); output.innerHTML = waccPercent + "%"; var detailText = "Weight of Equity: " + (weightEquity * 100).toFixed(2) + "% | "; detailText += "Weight of Debt: " + (weightDebt * 100).toFixed(2) + "%"; detailText += "After-tax Cost of Debt: " + (Rd * (1 – T) * 100).toFixed(2) + "%"; details.innerHTML = detailText; resultArea.style.display = "block"; }

Leave a Comment