Free tool
DPO Calculator
Enter your accounts payable and cost of goods sold to get days payable outstanding, see how it compares with your suppliers’ terms, and add DSO and DIO for your cash conversion cycle. It’s free, there’s nothing to sign up for, and what you type stays in your browser.
Your numbers
Trade payables to suppliers at the end of the period. Leave out payroll, taxes, accruals and loans.
Gives DPO on average payables, so one large bill at period-end doesn’t skew it.
From the income statement, for the same period as the payables.
Net days your suppliers give you, e.g. 30 for net 30.
Results
Days payable outstanding
—
Enter accounts payable and cost of goods sold to see DPO.
Payables turnover
—
Shown once DPO is in.
Cash conversion cycle (optional)
Add your DSO, and DIO if you hold inventory, to see how many days your own cash is tied up between paying suppliers and collecting from customers. Use figures for the same period as above.
Leave empty for a business with no inventory.
Cash conversion cycle
—
Enter DPO’s figures above and your DSO.
DSO minus DPO
—
How collections compare with what you pay out.
How to calculate DPO
Days payable outstanding is the average number of days a company takes to pay its suppliers. The standard formula divides what it owes suppliers by its cost of goods sold, then scales it to the length of the period:
DPO = accounts payable ÷ cost of goods sold × days in the period
A worked example, with round numbers for illustration: a company ends the quarter with $450,000 in trade payables after $1,350,000 of cost of goods sold over 90 days. Its DPO is 450,000 ÷ 1,350,000 × 90 = 30 days.
With an opening balance of $390,000, average payables are (390,000 + 450,000) ÷ 2 = $420,000, and DPO on average payables is 420,000 ÷ 1,350,000 × 90 = 28 days. Enter the opening balance in the calculator to use the average.
Which numbers to use
- Trade payables only. Supplier invoices for goods and services bought on credit. Payroll, taxes, accrued expenses and loan balances are liabilities too, but counting them makes DPO look much longer than it is.
- Cost of goods sold or credit purchases. Cost of goods sold is the usual choice, and the one you can read off any income statement. Credit purchases match payables more closely, since payables come from buying, not selling. Either works; switching between them from one period to the next makes the trend meaningless.
- The same period for both figures. If payables are at the end of the quarter, use that quarter’s cost of goods sold and 90 days.
- Ending or average payables. Ending payables show where you are today. The average of opening and closing payables smooths out one large bill landing at period-end. Pick one and keep it.
The formula’s traps, and why DPO reflects negotiating position, are covered in Days Payable Outstanding Formula and AR Benchmarking.
What is a good DPO?
A high DPO keeps cash in the business longer, but only up to the terms you agreed. Past them, it means paying late, and suppliers notice. So compare DPO with:
- Your suppliers’ terms. If most suppliers give net 30, a DPO near 30 means you pay on time. Well above it means late payment; well below it means you pay early. Enter your usual terms in the calculator to see the gap.
- Your own trend. A DPO that climbs quarter after quarter without new terms behind it is worth a look before suppliers raise it with you.
- Companies like yours. Public companies report payables and cost of goods sold in their annual reports (10-K filings in the US), enough to work out their DPO with this calculator.
Without an early payment discount, paying on the due date rather than before it keeps the cash the terms were meant to give you. With one, compare the discount with what the cash is worth to you: the Invoice Due Date Calculator works out the yearly rate of terms like 2/10 Net 30.
DPO and the cash conversion cycle
DPO is the part of the cash conversion cycle that works in your favour. Inventory (DIO) and receivables (DSO) are days your cash is tied up; payables (DPO) are days your suppliers’ cash is:
Cash conversion cycle = DIO + DSO − DPO
With 40 days of inventory, a DSO of 45 and a DPO of 30, the cycle is 55 days: the company funds 55 days of operations from its own cash. A business with no inventory can leave DIO out, and the cycle is DSO minus DPO. When DSO is lower than DPO, customers pay before suppliers have to be paid. To work out your DSO first, use the DSO Calculator.
How the cycle differs from one industry to the next is in Cash Conversion Cycle Benchmarks by Industry.
Reading a customer’s DPO from the AR side
Your invoice sits in your customer’s payables, so their DPO is a rough guide to how long they take to pay suppliers like you. For a public customer, take trade payables from the balance sheet and cost of goods sold (or cost of revenue) from the income statement in their annual report, and enter them here with 365 days.
- Their DPO is well above your terms. Expect to wait past the due date unless your contract and their payment process say otherwise. Agree terms you can live with up front, make sure invoices meet their requirements the first time, and follow up before the due date, not after.
- Their DPO is rising. A customer stretching suppliers further each year may be managing its cash tightly, or under strain. It is a reason to review the credit limit you give them.
- It is an average. DPO blends every supplier, including the ones a customer pays fast and the ones it pays slowly. Your own payment history with the customer is the better guide once you have one.
More on sizing credit for a new customer in Credit Limit Setting for New B2B Customers.
More on DPO and working capital
- Days Payable Outstanding Formula and AR Benchmarking
How to calculate DPO cleanly, and why industry context decides what it means.
- Cash Conversion Cycle Benchmarks by Industry
DSO holds most sway over cash flow—and it varies wildly across industries.
- Days Inventory Outstanding Calculation and Working Capital Interpretation
Learn to calculate DIO correctly and read what it says about cash.
- Working Capital Formula and Ratio Interpretation
Understand which liquidity metrics actually predict cash problems.
- Accounts Payable vs Accounts Receivable
Why two payment clocks create cash crunches despite paper profits.
- Free Cash Flow vs Operating Cash Flow for B2B Finance Leaders
Operating and free cash flow answer different questions, and each fits different B2B decisions.