The debt-to-equity (D/E) ratio measures the financial leverage of a company by evaluating its debt relative to its equity.