The formula for calculating D/E ratios can be represented in the following way: Debt - Equity Ratio = Total Liabilities / Shareholders' Equity The result may often be expressed as a number or as a percentage. This form of D/E may often be referred to as risk or gearing.