Skip to content
Calculator

Days Payable Outstanding (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.

Days Payable Outstanding (DPO) measures how long your organization takes to pay its suppliers. It's one of the three components of the Cash Conversion Cycle (CCC), alongside Days Sales Outstanding (DSO) and Days Inventory Outstanding (DIO). A higher DPO means you hold cash longer, improving working capital — but push it too far and you risk vendor relationships, lose early payment discounts, and can even trigger supply disruptions. This days payable outstanding calculator works out your DPO with the standard formula, then models the trade-off between holding cash and paying early for a discount.

How It Works

Enter your accounts payable balance, cost of goods sold, and payment terms. We calculate your current DPO using the standard formula (AP ÷ COGS × 365), compare it to industry benchmarks, and model the cash flow impact of adjusting your payment timing — including early payment discount capture opportunities.

Input Your Data

Total outstanding accounts payable

Total COGS for the year

Weighted average vendor payment terms

Percentage of spend with discount terms

Your company's weighted average cost of capital

Assumptions(1 adjustable)

Every constant behind this calculator is listed here. Adjust the editable values to match your organization, then recalculate — results always use the values shown below.

Assumed vendor discount for early payment (e.g. 2/10 net 30).

  • Discount window: The discount deadline is estimated as min(10, max(payment terms − 10, 5)) days. Discounts are only "captured" in the model when the discount APR beats your cost of capital.

Results use your inputs plus the assumption values listed above.

Your Results

Current DPO
36.5
Your current Days Payable Outstanding
Optimal DPO
22
Recommended DPO balancing cash flow and discounts
Annual Cash Flow Impact
$31,233
Net benefit of optimizing payment timing
Discount Capture Opportunity
$40,000
Potential savings from early payment discounts

Default scenario interpretation

Your DPO is in the typical range. Fine-tune by capturing early payment discounts where the APR exceeds your cost of capital.

How to calculate days payable outstanding: worked example

A distributor has $500,000 in accounts payable at year end and $6,000,000 cost of goods sold for the year. Most vendors offer 2/10 net 30.

  1. DPO = $500,000 ÷ $6,000,000 × 365 = 30.4 days. On average the company pays suppliers about 30 days after the bill.
  2. For a quarter, use quarterly COGS and the days in the quarter: $500,000 ÷ $1,500,000 × 91 = 30.3 days.
  3. Discount APR for 2/10 net 30 = (2 ÷ 98) × (365 ÷ 20) = 37.2%.
  4. With an 8% cost of capital, paying on day 10 to take the 2% discount beats holding the cash to day 30.

DPO of 30.4 days against net 30 terms means the company pays on time but is not taking 2/10 discounts. Paying discount-eligible bills on day 10 lowers DPO but earns the 37.2% annualized return.

How We Calculate

DPO = (Accounts Payable ÷ Cost of Goods Sold) × Days in Period. Discount APR = (Discount % ÷ (100 − Discount %)) × (365 ÷ (Net Days − Discount Days)). Paying early is worth it when the discount APR is higher than your cost of capital.

Automate payment timing optimization

See how Aequo AP helps you schedule payments at the optimal time — capturing discounts and preserving cash flow.

Frequently Asked Questions

What is a good DPO?

A good DPO depends on your industry, your vendor terms and your cash position. Compare it first with your own average payment terms: a DPO close to your terms means you pay on time, well above it means you pay late, and well below it means you pay early. Paying early makes sense when the discount APR is higher than your cost of capital; otherwise pay on the due date.

How does DPO affect cash flow?

A higher DPO means you hold cash longer, improving working capital. For example, increasing DPO from 30 to 45 days on $10M annual spend frees up roughly $410,000 in working capital. However, this must be balanced against vendor relationships, early payment discounts, and potential late payment penalties.

Can AP automation help optimize DPO?

Yes. AP automation ensures invoices are processed quickly so you have the option to pay early for discounts or schedule payment at the optimal time. Without automation, slow processing forces late payments regardless of strategy, and invoices that arrive after the discount window close it before anyone sees the bill.

What is the DPO formula?

DPO = (Accounts Payable ÷ Cost of Goods Sold) × 365. This tells you the average number of days your company takes to pay suppliers. For example, $500,000 AP ÷ $6,000,000 COGS × 365 = 30.4 days. You can also calculate DPO using total purchases instead of COGS for a more precise measurement.

How do I calculate days payable outstanding?

To calculate days payable outstanding, divide your total accounts payable balance by your cost of goods sold (or total purchases), then multiply by 365. For quarterly calculation, use quarterly COGS and multiply by the number of days in the quarter. The days payable outstanding calculator above does this automatically and shows the discount trade-off.

What is the difference between DPO and DSO?

DPO (Days Payable Outstanding) measures how long you take to pay your suppliers, while DSO (Days Sales Outstanding) measures how long your customers take to pay you. Together with DIO (Days Inventory Outstanding), they form the Cash Conversion Cycle: CCC = DIO + DSO - DPO. A lower CCC means faster cash conversion.

Ready to see your actual savings?

Get a personalized demo showing exactly how Aequo AP can transform your accounts payable.