You can find the methodology used to calculate the WACC here: https://site.financialmodelingprep.com/weighted-average-cost-of-capital