how do you calculate days payable outstanding 
to calculate days of payable outstanding dpo the following formula is applied dpo accounts payable x number of days cost of goods sold cogs here cogs refers to beginning inventory plus purchases subtracting the ending inventory accounts payable on the other hand refers to company purchases that were made on credit that are due to its suppliers 