CAPM and capital weights
The equity rate is calculated as risk-free rate + beta x market risk premium, where the market risk premium is the expected market return minus the risk-free rate. Equity and debt weights are each divided by their combined value. The resulting WACC is equity weight x equity cost + debt weight x debt cost x (1 - tax rate).