The weighted average cost of capital (WACC) is a calculation of a firm's cost of capital in which each category of capital is proportionately weighted. All sources of capital, including common stock, preferred stock, bonds, and any other long-term debt, are included in a WACC calculation.
WACC = (% of debt)(Before-tax cost of debt)(1−T) + (% of preferred stock)(cost of preferred stock) + (% of common stock)(cost of common stock)