Days Payable Outstanding (DPO) Calculator

Enter accounts payable, cost of goods sold and the period length to get your DPO and payables turnover.

How it is calculated

DPO = payables / COGS × days. Payables is the accounts payable balance owed to suppliers, COGS is the cost of goods sold for the period, and days is the length of that period, which defaults to 365 if left empty. The tool also shows the payables turnover, COGS / payables, the number of times the balance is paid off and rebuilt during the period.

COGS must be above zero and days must be above zero; payables cannot be negative. If payables is 0, DPO is 0 days and the turnover shows a dash. For the figures to make sense, COGS and days must describe the same period: annual COGS goes with 365 days, quarterly COGS with about 90. Using the year-end balance is simple, but an average of opening and closing payables gives a fairer picture.

Worked example

A company ends the year with 180,000 in accounts payable and had 1,460,000 of cost of goods sold over the 365 days. 180,000 / 1,460,000 = 0.1233. Multiplied by 365 this gives 45.00 days. The payables turnover is 1,460,000 / 180,000 = 8.11, meaning the balance turns over about eight times a year. Entering 90 days with the same figures would give just 11.10 days, which shows why the period must match.

Try this example →

Common mistakes

  • Pairing annual COGS with 90 days, or quarterly COGS with 365: the period of COGS and the days field must be the same.
  • Using revenue instead of COGS: DPO compares what you owe suppliers with what you spend on goods, and revenue includes margin, making the result too low.
  • Treating a higher DPO as always better: stretching payment can strain supplier relationships or mean the company is struggling to pay.
  • Including unrelated payables such as taxes, wages or loans in the payables balance: only amounts owed to suppliers belong there.

About this calculator

Days payable outstanding is DPO = (accounts payable / COGS) × number of days in the period — it converts an outstanding supplier balance into an average number of days the company takes to actually pay its bills.

A higher DPO means a company is holding onto cash longer and effectively using suppliers as a source of short-term, interest-free financing — good for cash flow up to a point, but too high a number can signal strained supplier relationships or genuine payment trouble. Finance teams and analysts track it alongside days sales outstanding and days inventory outstanding as part of the full cash conversion cycle.

Was this helpful?

You can pick up to 3 reactions.

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators