How do you find days payable outstanding?

Indicates how the firm handles obligations of its suppliers. ยท Formula Ending Accounts Payable

Purchases / 365