AP fundamentals

How to Calculate Days Payable Outstanding (DPO): Formula, Example, and What a Good Number Looks Like

DPO tells you how long you're actually taking to pay suppliers — and whether that's a deliberate cash strategy or something drifting unmanaged.

Nitisha GubreleyFounder & CEO, Vyomiyra2 min read

Days Payable Outstanding measures the average number of days a company takes to pay its suppliers after receiving an invoice. It's one of the clearest single indicators of how AP is actually operating — not how it's supposed to operate on paper, but what's really happening once invoices land in the queue.

The formula

DPO formula

DPO = (Average Accounts Payable ÷ Cost of Goods Sold) × Number of Days in the Period. Average Accounts Payable = (Beginning AP Balance + Ending AP Balance) ÷ 2.

A worked example

Say a company starts the quarter with $180,000 in accounts payable and ends it with $220,000. Cost of goods sold for the quarter is $1,200,000, and the quarter is 90 days.

  • Average AP = ($180,000 + $220,000) ÷ 2 = $200,000
  • DPO = ($200,000 ÷ $1,200,000) × 90 = 15 days

That company is paying its suppliers, on average, 15 days after the invoice is booked. If its stated terms with most vendors are Net 30, a DPO of 15 means it's paying well ahead of terms — which might be intentional for early-payment discounts, or might just mean invoices are getting rushed through without anyone tracking the float being left on the table.

What counts as a good DPO

There's no universal healthy number — DPO needs to be read against your own payment terms, not an industry average pulled from a different business model. The useful comparison is: DPO versus the terms you've actually negotiated. If your terms are Net 30 and your DPO is sitting at 55, that's not a neutral fact — it usually means invoices are aging past due, which risks late fees, damaged vendor relationships, and vendors quietly tightening your terms at renewal. If your DPO is consistently 10–15 days under your stated terms, you're likely leaving working capital on the table that could be used elsewhere without any relationship cost.

Track the trend, not just the snapshot

A single DPO number is a lagging snapshot. What actually matters operationally is the trend line month over month. A DPO that's creeping upward without anyone deciding it should isn't a cash strategy — it's usually a symptom of invoices sitting longer in someone's inbox before they're even entered, approvals stalling, or exceptions piling up unresolved. Watching DPO alongside your AP aging report tells you whether the number is a choice or a drift.

How Vyomiyra helps

Because every invoice's status is visible from intake to payment, DPO stops being a quarter-end calculation and becomes something a controller can watch in near real time — and catch drift in before it shows up as a late-payment problem with a vendor.

More on this topic

Month-End AP Close Checklist: A Step-by-Step Guide

Most AP close problems aren't accounting problems — they're invoices that never made it out of someone's inbox in time.

3-Way Match in Accounts Payable: How It Works and Why It Matters

The single control that catches more billing errors and duplicate charges than any other step in the invoice process.

Related pages

Accounts Payable Automation

Understand how inbox-driven invoice workflows move into structured AP execution.

AI for CFOs

See how CFOs can get better visibility into AP, AR, approvals, and workflow bottlenecks.

Finance Execution Platform

Define the category and understand how finance execution differs from ERP or reporting software.

See how Vyomiyra structures this workflow.

Book a demo or start the free trial to evaluate AP, AR, approvals, and audit-ready workflow execution on real finance work.