There is more than one way to calculate but the common approach is to use the long term interest bearing debt or in other words the loans or debentures that the company uses to finance it’s operations as the numerator. The denominator is the equity section that you can get from the balance sheet.
In other words the formula is : Interest Bearing Long Term Debt/ Equity