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.
DPO by the numbers
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.
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.
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.
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.
Whichever basis you choose, keep it, because a series that switches basis mid-year mixes a method change into the trend.
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.
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?
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.
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.
How to improve DPO without burning vendors
The goal is to pay on terms every time, and to lengthen terms where the vendor agrees.
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.
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.
Approval workflows routed by amount keep bills out of inboxes, which is where due dates and discount deadlines get missed.
One or two payment runs a week replace ad hoc payments and give you a single weekly view of what’s going out.
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.
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.
By clicking "Schedule Demo" you agree to the use of your data in accordance with DualEntry's Privacy Notice.
DSO Calculator
See how many days of revenue are sitting in your receivables — simple and countback methods.
Open calculator →SaaS metricsAccounts Receivable Turnover Calculator
Calculate your AR turnover ratio, days to collect, and the cash tied up in slow receivables.
Open calculator →ERPERP Implementation Cost Calculator
Estimate license, implementation, and hidden costs of a legacy ERP rollout.
Open calculator →SaaS metricsChurn Rate Calculator
See what share of customers or revenue you’re losing each period.
Open calculator →PlanningBreak-Even Calculator
Find the point where revenue covers your fixed and variable costs.
Open calculator →PlanningBurn Rate Calculator
Track how fast you’re spending cash and how many months of runway remain.
Open calculator →SaaS metrics
Net Revenue Retention Calculator
Measure how much recurring revenue you retain and expand from existing customers.
Open calculator →
SaaS metricsWorking Capital Calculator
Calculate working capital, current and quick ratios, and non-cash working capital from your balance sheet.
Open calculator →SaaS metricsSaaS Magic Number Calculator
Measure sales efficiency — the new annualized revenue each dollar of prior-quarter S&M spend generates.
Open calculator →