Days Payable Outstanding (DPO)
Days payable outstanding (DPO) is the average number of days a company takes to pay its suppliers, calculated as average accounts payable divided by cost of goods sold, multiplied by the number of days in the period.
Last updated
Quick answer
How do you calculate days payable outstanding?
To calculate days payable outstanding, divide average accounts payable by cost of goods sold for the same period, then multiply by the days in the period. For example, $400,000 of average payables and $4.8 million of annual cost of goods sold gives ($400,000 ÷ $4,800,000) × 365 = 30.4 days.
Formula
DPO = (Average accounts payable ÷ Cost of goods sold) × Number of days in the period
Example: Opening AP is $380,000 and closing AP is $420,000, so average AP is $400,000. Annual cost of goods sold is $4,800,000. DPO = ($400,000 ÷ $4,800,000) × 365 = 30.4 days.
DPO equals average accounts payable divided by cost of goods sold, multiplied by the days in the period. A company with $400,000 of average payables and $4.8 million of annual cost of goods sold has a DPO of about 30 days. APQC puts the cross-industry median at about 40 days.
Key Industry Data
- Median DPO around 40 days across all industries; about 30 days at the 25th percentile and about 50 days at the 75th percentile: APQC, via CFO.com Metric of the Month (2024)
- S&P 1500 DPO of 51.2 days in 2023, up from 48.5 days in 2022: J.P. Morgan, Working Capital Index 2024 (2024)
Definition
DPO measures how long cash stays in the business before it goes to suppliers. A higher DPO means the company holds cash longer; a lower DPO means it pays faster. It is one part of the cash conversion cycle, alongside days sales outstanding and days inventory outstanding. Comparing DPO with the payment terms you have agreed shows whether you pay early, on time or late. Because it is built from balance sheet and income statement figures, DPO can be calculated for any company that publishes accounts, which makes it a common benchmark between competitors and industries.
How to calculate DPO
Start with average accounts payable for the period: add the opening and closing AP balances and divide by two. Divide that by cost of goods sold for the same period. Multiply the result by the number of days in the period: 365 for a year, 90 for a quarter, 30 for a month.
Cost of goods sold is used because supplier purchases mostly end up there. Service businesses with little cost of goods sold often use total purchases on credit, or cost of sales plus operating expenses, instead. APQC's benchmark definition allows cost of goods sold or operating expenses. Any of these works if you use the same denominator every period.
Some analysts use ending AP instead of average AP. Ending AP reacts faster to recent changes, but a large bill posted on the last day of the period can distort it. Average AP is the more common choice for annual figures.
What DPO tells you
DPO only means something next to your payment terms. If most suppliers are on net 30 and DPO is 30, you pay on time. If DPO is 18, you pay about 12 days early and give up cash you could have kept. If DPO is 55, you are probably paying late, which suppliers notice through late fees, credit holds and less favorable pricing.
DPO also feeds the cash conversion cycle: days inventory outstanding plus days sales outstanding minus DPO. A longer DPO shortens the cycle, which means less cash tied up in operations. That is why large companies negotiate longer terms. The J.P. Morgan Working Capital Index puts the S&P 1500 at 51.2 days of DPO in 2023, up from 48.5 days in 2022.
Benchmarks vary widely by industry. APQC reports a median DPO of about 40 days across industries, with about 30 days at the 25th percentile and about 50 days at the 75th percentile. Our research page on days payable outstanding by industry calculates DPO from public company filings.
Calculating DPO from your accounting system
QuickBooks Online, Xero, NetSuite, Business Central and Sage Intacct all hold the two figures you need. Take accounts payable from the balance sheet at the start and the end of the period, and cost of goods sold (or cost of sales) from the profit and loss report for the same dates. Use the same dates for both, and the matching number of days.
Before you trust the result, check that the AP balance on the balance sheet equals the total of the AP aging report on the same date. If it does not, a bill posted to the wrong account or a manual journal is distorting the number.
| Company | AP start / end of year | Average AP | Cost of revenue | DPO |
|---|---|---|---|---|
| Walmart (WMT), fiscal year ending 2026-01-31 | $58.7bn / $63.1bn | $60.9bn | $535.4bn | 41.5 days |
| Home Depot (HD), fiscal year ending 2026-02-01 | $11.9bn / $11.5bn | $11.7bn | $109.8bn | 38.9 days |
| Sysco (SYY), fiscal year ending 2026-06-27 | $6.5bn / $6.6bn | $6.6bn | $68.9bn | 34.8 days |
| Caterpillar (CAT), fiscal year ending 2025-12-31 | $7.7bn / $9.0bn | $8.3bn | $44.8bn | 67.9 days |
| Quanta Services (PWR), fiscal year ending 2025-12-31 | $2.1bn / $2.8bn | $2.5bn | $24.2bn | 37.2 days |
Average AP ÷ cost of revenue × 365, from SEC EDGAR XBRL data retrieved 2026-10-23. Walmart: ($58.7bn + $63.1bn) ÷ 2 = $60.9bn; $60.9bn ÷ $535.4bn × 365 = 41.5 days. The method, all 56 companies and a CSV are on our DPO by industry research page.
| Choice | Use | Watch out for |
|---|---|---|
| Average or ending AP | Average of opening and closing AP for annual figures | Ending AP swings with one large bill posted at period end |
| Denominator | Cost of goods sold; credit purchases or operating expenses for service firms | Switching denominators between periods breaks the trend |
| Days | 365 for a year, 90 for a quarter, 30 for a month | Quarterly AP with annual cost of goods sold gives a figure far too low |
Why It Matters
DPO is a key working capital metric. Paying faster than your terms require gives away free financing. Paying slower than your terms damages supplier trust and can cost more in late fees and lost discounts than the cash is worth. Managing DPO well means paying on the agreed due date, every time, which depends on invoices being captured and approved quickly enough to schedule.
Examples
Quarterly DPO
Average AP for the quarter is $150,000 and cost of goods sold for the quarter is $900,000. DPO = ($150,000 ÷ $900,000) × 90 = 15 days. On net 30 terms, this company pays about two weeks early.
Comparing DPO with terms
A company on mostly net 45 terms has a DPO of 32 days. It pays suppliers about two weeks early on average, which is cash it could keep longer without breaching terms.
Cash released by paying to terms
Annual cost of goods sold is $4,800,000, so each day of DPO is worth about $13,151 ($4,800,000 ÷ 365). Moving DPO from 30.4 to 40 days by paying net 45 invoices closer to their due dates keeps about $126,000 more cash in the business, without paying anyone late.
Common Mistakes
Mixing periods
Use AP and cost of goods sold for the same period, and the matching number of days. Quarterly AP with annual cost of goods sold and 90 days gives a figure that is far too low.
Chasing a higher DPO by paying late
Lengthen DPO by negotiating longer terms and paying on the due date, not by stretching past it. Late payment shows up as fees, holds and higher prices.
Comparing across industries
Retailers, manufacturers and service firms have very different supplier terms. Compare DPO with your own terms and with companies in your industry.
Ignoring early payment discounts
A low DPO can be a good sign if it comes from taking 2/10 net 30 discounts, which are worth about 37% a year. Check why DPO is low before trying to raise it.
Changing the denominator
Switching between cost of goods sold, purchases and operating expenses breaks the trend. Pick one and note it.
In Practice
- Pull opening and closing AP balances and cost of goods sold for the period from your accounting system.
- Calculate DPO with the formula, or use the free days payable outstanding calculator.
- Work out your weighted average payment terms across your main suppliers.
- Compare DPO with those terms to see whether you pay early, on time or late.
- Find the causes of any gap: slow approvals, paying on receipt, or missed discount windows.
- Schedule approved bills to be paid on their due dates, and take discounts where they beat your cost of cash.
- Track DPO monthly so changes in terms or process show up quickly.
Tools and Further Reading
- Days payable outstanding explained: Formula, worked examples and benchmarks.
- Days payable outstanding calculator: Work out DPO and the cash effect of paying to terms.
- DPO by industry (2026): Median DPO by industry from 10-K filings, with APQC and J.P. Morgan benchmarks.
- Net 30: Compare DPO with the terms you have agreed.
- What 2/10 net 30 means: Why a low DPO can be a good sign when you take discounts.
- AP aging report: Reconcile the AP balance you use for DPO.
- Free accounts payable course: Seven self-paced modules covering the AP process, matching, approvals, paying bills, the close and AP metrics.
How Aequo AP Helps
Aequo AP records each invoice's dates and terms and shows what is waiting for approval, so the team can approve in time to pay on the agreed due date rather than early or late. Approved bills sync to QuickBooks Online, Xero, FreshBooks, Zoho Books or Business Central, where you pay them; vendor payments inside Aequo are coming soon. The free days payable outstanding calculator works out DPO and models the cash effect of paying to terms.
Start Free TrialFrequently Asked Questions
What is a good DPO?
There is no single good number. It depends on your industry and the terms you have agreed. A useful check is to compare DPO with your average payment terms: well below them means you are paying early, and well above them means you are paying late. APQC reports a cross-industry median of about 40 days.
Is a higher DPO better?
A higher DPO keeps cash in the business longer, but only up to your agreed terms. Stretching past terms leads to late fees, lost discounts and strained supplier relationships.
What does a low DPO mean?
A low DPO means you pay suppliers quickly. That can be deliberate, for example to take early payment discounts, or a sign that bills are paid on receipt and cash is leaving earlier than it needs to.
Can you use purchases instead of cost of goods sold?
Yes. Some companies divide by total credit purchases instead, especially service businesses with little cost of goods sold. Use the same method every period so the trend is comparable.
What is the difference between DPO and DSO?
DPO measures how long you take to pay suppliers. DSO (days sales outstanding) measures how long customers take to pay you. Together with inventory days they make up the cash conversion cycle.
How can a company increase DPO?
Negotiate longer payment terms with key suppliers, then pay each bill on its due date instead of on receipt. Faster invoice approval helps, because it lets you schedule payments rather than rush them.
Category
metricsRelated Terms
Deep Dive Guides
DPO Calculator
Calculate days payable outstanding from your AP balance and cost of goods sold, then model whether paying early for a discount beats holding the cash.
Discount Calculator
Discover the hidden value in your vendor payment terms. Calculate potential savings from capturing early payment discounts.
Glossary: days sales outstanding
Canonical definition and related AP context.
cash flow forecasting
Priority product or workflow page.
Ready to automate your AP?
See how Aequo AP can transform your accounts payable process.