Free SaaS Finance Tool

Days Payable Outstanding (DPO) Calculator

Calculate DPO on the right cost basis, see how many days you pay beyond terms, and put a dollar value on every day.

No signup required
Instant results
Benchmarks included
Cost basis
COGS plus the operating costs you buy on credit. The basis that matches a SaaS or services AP ledger.
Average accounts payable
Trade payables from the AP subledger. Leave out accrued expenses and payroll liabilities.
Enter cost figures for the same period as the AP balances.
Cost of goods sold or cost of revenue for the period. For SaaS: hosting, support, third-party software.
Cloud tools, contractors, marketing, legal, rent. Exclude payroll, D&A, stock comp and taxes.
Terms & targets — for days beyond terms and cash at target
days
Your vendor terms in days, weighted by spend.
days
We show the cash freed or consumed to get there.
Early payment discount check — is the discount worth taking?
%
days
days
Taking this discount returns 37.2% a year. Take it when that beats your cost of capital and you have the cash.
Annualised return = discount ÷ (1 − discount) × 365 ÷ (net days − discount days)
What does a good DPO look like?
5+ days earlyPaying early — check discounts
Within 5 daysOn terms
5–15 days overStretching
15+ days overVendor risk
Graded on days beyond your payment terms, not raw DPO.
Days Payable Outstanding
42.6 days
AP turnover 8.6x a year
Stretching
+7.6 days beyond your 35-day terms.
COGS basis: 91.3 days · Total AP spend basis: 42.6 days. A COGS-only calculation overstates your DPO by 48.7 days.
AP turnover8.6x a year
Cost basis ÷ average AP, annualized.
Value of one DPO day$49,315
Spend per day on this cost basis.
Cash at target+$119K
Reaching 45 days; AP rises from $2.10M to $2.22M.
How this is calculated
THE FORMULA
DPO = (Average accounts payable ÷ Cost basis) × Days in period

What does a good DPO look like?

A good DPO sits within five days of your weighted average payment terms. On net-30 terms that is 25 to 35 days; on net 45, 40 to 50. Raw DPO means little on its own: 60 days is late on net 30 and early on net 90. Measure the gap to terms first, then compare with peers.

5+ days early

Paying early

Auto-pay by card, paying on receipt, or taking early-payment discounts. A 2/10 net 30 discount returns 37.2% a year (see the discount check above). Paying early with no discount attached just gives the vendor an interest-free loan.

Within 5 days of terms

On terms

Scale-ups with approval workflows and a fixed weekly payment cycle. Three in five US suppliers offer 30-day terms, so net 30 is the usual term to measure against (Atradius, 2026).

5 to 15 days over

Stretching

Cash-constrained companies, or AP teams with no payment calendar. Past 15 days the badge turns red - vendor risk. Global DPO has risen 11.5% since 2015, and more than 14% in North America and Asia, a gain PwC says is masking worsening receivables and bloated inventory (PwC Working Capital Study 25/26).

15+ days over

Vendor risk

Past 15 days beyond terms, the problem is process, not terms. Late fees, lost early-payment discounts, credit holds and slower service start to bite. This is a payment-calendar and approvals fix, not a one-off catch-up.

DPO by the numbers

+2.9 days
DPO improvement across the 1,000 largest North American non-financial companies in FY2025 - the best level since 2021, while DSO worsened by 2.1 days. Payables still hold $548B of a record $1.94T working capital opportunity.
+11.5%
Rise in global DPO since 2015 across more than 17,000 listed companies. In North America and Asia it is more than 14%, which PwC says is “masking the impact of worsening receivables and bloated inventory.”
108 vs 31 days
Software-sector DPO on a COGS basis versus the same sector measured on revenue (309 firms; AP 8.36% of sales, COGS 28.28%, January 2026). The same balance sheets give answers 3.5x apart.
01

How days payable outstanding works

Days payable outstanding (DPO) is the average number of days your company takes to pay its suppliers. Calculate it as average accounts payable divided by your cost basis (cost of goods sold, purchases, or total spend bought on credit), multiplied by the days in the period. A DPO of 45 means bills are paid about 45 days after invoice.

Outstanding payables are the supplier invoices you have received and not yet paid: the accounts payable balance on your balance sheet. DPO converts that balance into time.

The formula

Days payable outstanding (DPO) is the average number of days a company takes to pay suppliers. The formula is average accounts payable divided by your cost basis - COGS, purchases, or total AP spend - multiplied by the days in the period.

DPO = (Average accounts payable ÷ Cost basis) × Days in period
02

Worked example: one SaaS company, two answers

The same books can put your DPO at 91 days or 43, depending on the denominator. Consider an illustrative SaaS company closing fiscal 2026 with $30.0M of revenue (these are the figures prefilled in the calculator).


COGS was $8.4M: hosting, support and third-party software. Non-payroll operating costs bought on credit added $9.6M, so total AP spend was $18.0M. Accounts payable opened the year at $1.9M and closed at $2.3M, an average of $2.1M. Weighted average payment terms were net 35.

Basis
AP used
DPO
AP turnover
COGS ($8.4M)
$2.1M average
91.3 days
4.0x
Total AP spend ($18.0M)
$2.1M average
42.6 days
8.6x
Total AP spend, ending AP
$2.3M ending
46.6 days
7.8x

The COGS figure says this team pays vendors three months after invoice. On total AP spend it pays 7.6 days beyond its 35-day terms: stretching, but mildly. The ending-AP shortcut adds four more days because the year closed on a high balance.

One DPO day is worth $18.0M ÷ 365 = $49,315. Reaching a 45-day target (2.42 days more) frees about $119,000, as the AP balance rises from $2.10M to $2.22M. Run the same 45-day target on the COGS basis and the tool would tell you to cut DPO by 46 days. For the wider cash picture, see cash flow management.

03

COGS, purchases or total spend: which denominator should you use?

Use the cost basis that matches what sits in your AP ledger. For a SaaS or services company that is total AP spend: COGS plus the operating costs you buy on credit. COGS alone covers hosting, support and third-party software, a fraction of what the AP team pays, so a COGS-based DPO comes out two to three times too high. Read what belongs in SaaS COGS before you draw the line.

Your business
Use
Why
Holds inventory (retail, distribution)
Purchases
COGS lags purchases when stock builds; purchases = COGS + ending inventory − beginning inventory
Product or manufacturing, AP mostly cost of sales
COGS
The ledger and the denominator already match
SaaS or services
Total AP spend
Operating costs make up most of the payables
Comparing with public peers or analyst models
COGS, footnoted
Public data is COGS-based, and the footnote stops the board reading 108 days as a target

Whichever basis you choose, keep it, because a series that switches basis mid-year mixes a method change into the trend.

04

Why your DPO might be lying

Four bookkeeping habits move DPO without any change in how you pay vendors.

Late-dated bills

Shrinks DPO

A bill dated the day it was approved, two weeks after it arrived, shrinks AP and shortens the measured DPO. Date bills to the invoice date.

Accruals & GRNI

Understate DPO

Services and goods received but not yet invoiced sit in accrued expenses rather than AP. A company that accrues carefully shows a lower DPO than one that waits for the invoice, with identical payment behaviour.

Card & supplier finance

Moves it both ways

Paying a vendor by card settles the payable at once and moves the liability to the card balance, so DPO falls while your cash leaves weeks later. Supplier finance does the reverse: the bank pays the vendor, and your payable to the bank lengthens DPO.

The fix: a clean AP subledger

One-off annual renewals distort it too: a $600,000 software renewal invoiced in June spikes that month’s AP, and a two-point average that lands on it is skewed. The fix is a clean AP subledger with bills dated to the invoice, month-end accruals posted with automatic reversals, and a DPO series measured the same way every period.

05

DPO vs DSO, and the cash conversion cycle

Payables timing connects to the rest of your working capital - here’s how.

How it fits the cash cycle

DSO measures how long customers take to pay you; DPO measures how long you take to pay suppliers. The cash conversion cycle puts them together: CCC = DIO + DSO − DPO. A SaaS company holds no inventory, so DIO is near zero and the cycle is roughly DSO minus DPO. With a DSO of 50 days and a DPO of 43, cash is out of the business about a week per cycle. Bill annually upfront and DSO can fall below DPO, turning the cycle negative - customers fund your operations.

Run it with DSO

DSO = ending accounts receivable ÷ credit sales × days in period. Run yours on the days sales outstanding calculator; the working capital calculator shows both sides together.

AP turnover vs DPO

AP turnover is the same data read the other way: cost basis ÷ average accounts payable. A turnover of 8.6x means you cleared your average payables 8.6 times in the year, and DPO = 365 ÷ AP turnover, so the two always agree. Analysts quote turnover; AP teams work in days. The receivables mirror image is on the AR turnover calculator.

Report DPO for the operating conversation, AP turnover when a lender asks, and watch the cash conversion cycle to see both sides of working capital at once.

06

Reading and acting on your DPO

Three questions your DPO should answer: is it healthy, are you paying on terms, and should you be taking early-payment discounts?

Is a high DPO good?

A high DPO is good up to your payment terms and a liability past them. Up to terms, every extra day keeps cash in your account at no cost. Past terms, you’re borrowing from vendors, and the price is late fees, lost early-payment discounts, credit holds and slower service. Negotiated terms are the exception: net 60 agreed at renewal is a high DPO with no penalty — which is why the calculator grades on days beyond terms.

DPO vs payment terms

Days beyond terms - DPO minus your weighted average payment terms — tells you whether a 43-day DPO means you pay on terms or pay late. To get weighted terms, export the vendor master with each vendor’s terms and trailing 12-month spend, multiply terms by share of spend, and add them up: three-quarters on net 30, 15% on net 45 and 10% on net 60 comes to about 35 days. A DPO that rises because you negotiated net 45 at renewal is a win; one that rises on the same terms is a payment backlog.

Early-payment discounts. Take one when its annualised return beats your cost of capital and you have the cash. A 2/10 net 30 discount returns 37.2% a year; 1/10 net 30 is 18.4%; 2/10 net 60 is 14.9% - the formula is discount ÷ (1 − discount) × 365 ÷ (net days − discount days). Taking discounts pulls DPO down, which is the right trade as long as a real discount sits behind each early payment. The calculator’s discount check runs this for any terms.

07

How to improve DPO without burning vendors

The goal is to pay on terms every time, and to lengthen terms where the vendor agrees.

01
Negotiate terms at renewal, not mid-contract

A vendor asking for a multi-year commitment will usually trade net 45 or net 60 for it. Mid-term requests rarely succeed, so time the ask to the renewal.

02
Pay on the due date, not on receipt

A payment cycle that pulls open bills by due date does this without anyone tracking dates by hand - you keep the cash the full term without going late.

03
Put approvals on a clock

Approval workflows routed by amount keep bills out of inboxes, which is where due dates and discount deadlines get missed.

04
Batch payment runs

One or two payment runs a week replace ad hoc payments and give you a single weekly view of what’s going out.

05
Use a card for small vendors

The vendor is paid on terms and your cash leaves on the card statement date, so measured DPO falls - just track it alongside the cash timing.

Work them in order - the first two cost almost nothing. DualEntry’s accounts payable automation covers bill capture, approvals and payment selection by due date from one ledger.

DPO Calculator FAQs

How do you calculate days payable outstanding?

Divide average accounts payable by your cost basis and multiply by the days in the period. Average AP is (beginning AP + ending AP) / 2. The cost basis is COGS for product companies, purchases if you hold inventory, or total AP spend (COGS plus non-payroll opex bought on credit) for SaaS and services. $2.1M / $18.0M × 365 = 42.6 days.

What does days payable outstanding mean?

DPO is the average number of days your company takes to pay supplier invoices. A DPO of 45 means bills are paid about 45 days after the invoice date. Read it against your payment terms: 45 days is on terms at net 45 and two weeks late at net 30.

Is a high DPO good?

Up to your payment terms, yes: each extra day keeps cash in the business at no cost. Past terms, a high DPO means you are paying late, and the costs are late fees, lost early-payment discounts and credit holds. A high DPO earned by negotiating longer terms at renewal is the good kind.

What is a good DPO for a SaaS company?

Within five days of your weighted average payment terms, which for most SaaS scale-ups means 30 to 45 days on a total AP spend basis. Public software companies show about 108 days on a COGS basis (DualEntry calculation from Damodaran, January 2026), but that figure comes from a small COGS denominator. Do not use it as a target.

What is the difference between DSO and DPO?

DSO (days sales outstanding) measures how long customers take to pay you. DPO measures how long you take to pay suppliers. With days inventory outstanding they form the cash conversion cycle: DIO + DSO − DPO. A SaaS company holds no inventory, so its cycle is roughly DSO minus DPO.

Should I use average or ending accounts payable?

Use average AP: (beginning + ending) / 2, or the average of month-end balances if payables swing with annual renewals. Ending AP alone works for a quick quarter-end check, but it overstates DPO when the period closes on a high balance. In the worked example above, ending AP adds four days.

‍

How does DualEntry help with days payable outstanding?

Bill uploads with OCR pull the invoice date, due date and payment terms, approval workflows route each bill by amount or entity, and you can pull open bills by due date for each payment cycle. The AP aging report ages by document or due date and exports to Excel, PDF or CSV, so the inputs to this calculator come from one ledger.

Conclusion

The same books can show 91 days or 43. Use the cost basis that matches your AP ledger, average the balances, and measure the gap to your payment terms rather than the raw number. Then put a dollar value on each day before you decide to move it. The calculator does all four on the total AP spend basis.

Run payables from the ledger you close on.

Capture bills, route approvals by amount, select payments by due date and age payables in one place.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

By clicking "Schedule Demo" you agree to the use of your data in accordance with DualEntry's Privacy Notice.