Accounts Payable Days Calculator
The accounts payable days calculator measures days payable outstanding, the average number of days a business takes to pay its suppliers. The method is the standard efficiency ratio: divide accounts payable by the cost of goods sold and multiply by the number of days in the period, usually 365 for a year. The result shows how long the company holds onto cash before settling its bills. A higher days payable outstanding frees up working capital because suppliers are paid later, but stretching payments too far can sour supplier relationships and cost early-payment discounts; a very low figure may mean paying faster than necessary. The classic formula uses cost of goods sold as the denominator because it is readily available, though total credit purchases is a more precise base when disclosed. Keep the accounts payable, the cost of goods sold and the day count on the same period. Enter your own accounts payable and cost of goods sold to measure payment speed, benchmark against peers, or track working capital over time. Every figure here is computed deterministically from the formula shown below, with a worked example that reconciles exactly to the calculator so you can trust the result.
Days payable outstanding is accounts payable over cost of goods sold, times the days in the period: DPO = (AP / COGS) x days. With $60,000.00 payable, $500,000.00 COGS and 365 days, DPO is 43.80 days.
Days payable outstanding formula
DPO = (AP / COGS) x D
AP = accounts payable
COGS = cost of goods sold for the period
D = days in the period (365 for a year)
Dividing payables by cost of goods sold gives the share of a period's purchasing still unpaid. Multiplying by the days in the period turns that share into an average number of days to pay.
Worked example
A company owes 60,000 dollars to suppliers, with annual cost of goods sold of 500,000 dollars.
- Ratio = 60,000 / 500,000 = 0.12
- Multiply by days = 0.12 x 365
- DPO = 43.80 days
Days payable outstanding is 43.80 days. These are the calculator's default inputs, so the result above matches the widget exactly.
DPO at different payable balances
Days payable outstanding with 500,000 COGS over 365 days.
| Accounts payable | COGS | DPO (days) |
|---|---|---|
| 40,000 | 500,000 | 29.20 |
| 60,000 | 500,000 | 43.80 |
| 80,000 | 500,000 | 58.40 |
Financial ratios and working capital: US Securities and Exchange Commission, Investor.gov.
Accounts payable days calculator: frequently asked questions
What is days payable outstanding?
Days payable outstanding, or DPO, is the average number of days a company takes to pay its suppliers. It equals accounts payable divided by cost of goods sold, times the number of days in the period. A higher DPO means the business holds onto cash longer before paying bills, which can help working capital but may strain supplier relationships.
How do I calculate accounts payable days?
Divide accounts payable by the cost of goods sold, then multiply by 365 for a full year. With accounts payable of 60,000 dollars and cost of goods sold of 500,000 dollars, DPO is 60,000 divided by 500,000, times 365, which is about 43.80 days. Use 90 or 30 days instead of 365 for a quarter or month.
Is a high or low DPO better?
It depends. A higher DPO frees up cash because the company pays suppliers later, improving working capital, but stretching payments too far can damage supplier goodwill and forfeit early-payment discounts. A very low DPO may mean the business pays faster than it needs to. The right level balances cash management against strong supplier relationships.
Should I use COGS or purchases?
The classic formula uses cost of goods sold as the denominator, which is widely available on the income statement. A more precise version uses total credit purchases, since payables relate to what was bought rather than what was sold. When purchases are not disclosed, COGS is the standard and acceptable proxy.
What days count should I use?
Use the number of days in the period the figures cover: 365 for a year, about 90 for a quarter, or 30 for a month. The accounts payable and cost of goods sold must match that same period. Mixing an annual COGS with a quarterly day count would distort the result.
Official sources
- Financial ratios, working capital and investing basics: US Securities and Exchange Commission, Investor.gov. As at 25 June 2026.
Reviewed by the CalculatorHub team, edited by James Graham, 25 June 2026. See our methodology. This is general information, not financial, tax, legal or investment advice.