Skip to main content
7B BusyBoss

DSO vs DPO Calculator: DIO and Cash Conversion Cycle

DSO vs DPO explained, then calculated. Enter AR, AP, inventory, sales and COGS to get DSO, DPO, DIO, the cash conversion cycle and the cash it ties up.

No limitsZero data leaksSuper fast

DSO, DPO, DIO & Cash Conversion Cycle

Days in period

DSO (days to collect)

45.6 days

DIO (days in inventory)

46.9 days

DPO (days to pay)

41.7 days

Cash conversion cycle

50.8 days

Cash tied up (AR + inv − AP)

$160,000

Cash freed per day of DSO cut

$3,288

You wait 50.8 days between paying suppliers and collecting from customers — that stretch is funded from your own cash or credit. AR + inventory − AP leaves $160,000 of cash tied up in the cycle on your balance-sheet date. Collecting one day faster frees about $3,288; paying suppliers one day later frees about $1,918 (assumes sales and COGS are spread evenly over the 365 days).

DSO = AR ÷ credit sales × 365. DIO = inventory ÷ COGS × 365. DPO = AP ÷ COGS × 365. CCC = DSO + DIO − DPO. The day count must match the period your sales and COGS cover (365 for a year, 90 for a quarter). If balances swing during the period, use averages ((opening + closing) ÷ 2). Rough DSO targets: under 45 days for most B2B, under 30 for B2C — compare against your own payment terms and industry before acting on any of these numbers.

Don't take our word for it — turn your wi-fi off.

This tool keeps working with no connection at all, because your file is processed here in the browser. A site that uploads your file cannot do that. Disconnect and try it — this box will notice.

Prefer to check properly? Open DevTools → Network, then run the tool. Your file appears in no request. Why none of our tools upload

You're on 7BusyBoss — 300+ free tools that run instantly in your browser. No signup, nothing uploaded.

Browse all Cash Flow →
About this tool

DSO vs DPO comes down to who is waiting on whom. DSO (days sales outstanding) is how many days customers take to pay you. DPO (days payable outstanding) is how many days you take to pay suppliers. Low DSO and high DPO both keep cash in the business. This DSO vs DPO calculator takes AR, AP, inventory, sales and COGS and returns DSO, DPO, DIO and the cash conversion cycle, CCC = DSO + DIO − DPO.

The two formulas have the same shape: DSO = AR ÷ credit sales × 365 and DPO = AP ÷ COGS × 365. One looks at the money owed to you, the other at the money you owe.

DSO vs DPO vs DIO side by side

DIO (days inventory outstanding, also written DSI) is the third leg. It measures how long stock sits before it sells. The table lines all three up.

QuestionDSODPODIO
MeasuresDays to collect from customersDays you take to pay suppliersDays stock sits before it sells
FormulaAR ÷ credit sales × daysAP ÷ COGS × daysInventory ÷ COGS × days
Who owes whomCustomers owe youYou owe suppliersCash you already spent, sitting on shelves
Direction you wantLowerHigher, within agreed termsLower, without running out of stock
What good looks likeClose to your payment terms (net 30 → about 30–40)Close to your suppliers' terms, never past themDepends heavily on the product; compare with your own history
How to improveInvoice on delivery, chase on day 1 overdue, offer easy paymentNegotiate longer terms, pay on the due date rather than earlyOrder smaller batches, clear slow lines
Risk of pushing too farLost sales from strict credit termsSupplier damage, lost discounts, worse pricesStock-outs and missed sales

What the DSO/DPO ratio tells you

Divide DSO by DPO and you get the same story as one number. Above 1 you collect slower than you pay, so you are funding the gap yourself. Below 1 your suppliers are funding part of your receivables.

DSO and DPO example for one company

A distributor has $150,000 of accounts receivable, $80,000 of accounts payable and $90,000 of inventory on its balance sheet. Over the year it booked $1,200,000 of credit sales and $700,000 of cost of goods sold.

  • DSO = 150,000 ÷ 1,200,000 × 365 = 45.6 days
  • DIO = 90,000 ÷ 700,000 × 365 = 46.9 days
  • DPO = 80,000 ÷ 700,000 × 365 = 41.7 days
  • CCC = 45.6 + 46.9 − 41.7 = 50.8 days

So the company pays its suppliers and then waits 50.8 days to get the money back from customers. Its DSO/DPO ratio is 1.09. The cash locked in that cycle, AR + inventory − AP, comes to $160,000 in this case.

Strip out the inventory, as a service firm would, and the cycle drops to DSO − DPO = 3.9 days and the cash tied up to $70,000.

That $160,000 is only the trade part of working capital. The working capital calculator adds cash and the other current items on top.

Now put a price on one change. A day of sales is $3,288 (1,200,000 ÷ 365) and a day of COGS is $1,918. Collect 10 days faster and about $32,877 comes out of AR. Pay suppliers 10 days later and you pick up about $19,178 of supplier credit. Do both and the cycle shortens to 30.8 days.

Bankers often count a 360-day year. On that convention the same inputs give DSO 45.0, DIO 46.3, DPO 41.1 and a CCC of 50.1 days. Check which convention a benchmark uses before you compare against it.

How to calculate DSO and DPO correctly

  • Match the day count to the period. Annual sales use 365 (or 360). One quarter's sales use about 90. Take $150,000 of AR against $300,000 of quarterly sales: multiply by 365 and you get 182.5 days, which is nonsense. The right answer is 45.0.
  • Use credit sales for DSO where you can. Cash sales never become receivables, so dividing by total revenue understates DSO.
  • Use average balances, (opening + closing) ÷ 2, when AR, AP or stock swing during the period. A year-end snapshot taken after a quiet December flatters the result.
  • DPO is usually based on COGS. Some analysts divide by purchases instead. Either works as long as you stay consistent.

Typical ranges by industry (rough)

Treat these as ballpark patterns. Real figures vary a lot with company size, country and year, and your own trend is a better yardstick than any table.

Business typeDSODIOUsual CCC
Grocery, restaurantsNear zero (card and cash sales)Days to a few weeksOften negative: suppliers fund the business
General retailNear zeroWeeks to monthsDriven almost entirely by inventory
Wholesale, distributionRoughly 30–60 daysAbout one to two monthsPositive, often one to two months
ManufacturingRoughly 40–70 daysOften two months or moreUsually the longest cycles
Agencies, B2B servicesRoughly 30–75 daysNoneDSO − DPO, mostly DSO
Construction, contractingOften 60–90+ days (retentions)Low to moderateLong and lumpy

The most useful check is against your own terms. On net-30 terms a DSO of 45.6 means customers pay about 15.6 days late on average. Your AR aging analysis shows which invoices are doing that.

How to reduce DSO and extend DPO responsibly

  • Invoice the day you deliver. Put the due date, bank details and a payment link on the invoice.
  • Run credit checks before you grant terms. On large jobs, agree deposits or milestone billing.
  • Chase on a schedule: a reminder before the due date, a call on day 1 overdue, escalation at 30 days.
  • Negotiate longer supplier terms rather than paying late. Then pay on the due date and no earlier. Keep an eye on your AP aging so stretching does not turn into overdue bills.
  • Price an early-payment discount before you skip it. Passing up 2/10 net 30 to stretch DPO costs about 37.2% a year in annualised terms. That is an expensive loan.

How to use this calculator

  1. Enter total AR, total AP and inventory from the balance sheet. A service business leaves inventory blank, and the cycle becomes DSO − DPO.
  2. Enter credit sales and COGS for the period they cover, then pick the days in period: 365, 360, or Custom (90 for a quarter).
  3. Read off DSO, DIO, DPO and the cash conversion cycle, along with cash tied up (AR + inventory − AP) and the cash freed for each day of DSO you cut. The highlighted sentence says what the cycle means in words. The copy button copies it with all four figures.

The DPO line on its own makes this a days payable outstanding calculator as well. Only AP and COGS feed it.

To see what the cycle does to your bank balance week by week, carry these days into the 13-week cash flow forecast.

Common mistakes and limits

  • Days and dollars can disagree. DSO is measured against sales and DPO against COGS. A company with $30,000 AR on $90,000 quarterly sales and $20,000 AP on $60,000 COGS has DSO 30.0 and DPO 30.0, a cycle of 0.0 days, and $10,000 still tied up.
  • Averages hide the tail. A DSO of 45 can mean everyone pays on day 45, or most pay on day 20 while one customer is 200 days late.
  • Seasonal balances mislead. Measure at the same point each period, or use averages.
  • The calculator does arithmetic on the figures you type in. It knows nothing about your payment terms or your industry.

How to use the DSO & DPO Calculator

Takes about a minute. No signup, no download, your data stays in your browser.

  1. 1
    Open the tool. Scroll up to the DSO & DPO Calculator above — it loads instantly in your browser, no install needed.
  2. 2
    Enter your values. The fields come pre-filled with realistic defaults so you can see how it works — replace them with your own numbers.
  3. 3
    Read the result. The output updates instantly. Copy or share it — nothing is uploaded to a server, everything stays on your device.

Frequently asked questions

Common questions about the DSO & DPO Calculator.

DSO vs DPO: what is the difference?

DSO (days sales outstanding) is how long customers take to pay you. DPO (days payable outstanding) is how long you take to pay suppliers. DSO is built from receivables and credit sales, DPO from payables and COGS. You want DSO low and DPO as long as your agreed terms allow, because the gap between them is cash you finance yourself.

How do you calculate DSO and DPO?

DSO = accounts receivable ÷ credit sales × 365, and DPO = accounts payable ÷ COGS × 365. With $150,000 of AR on $1,200,000 of sales, DSO is 45.6 days. With $80,000 of AP on $700,000 of COGS, DPO is 41.7 days. Swap 365 for the number of days your sales and COGS cover, for example 90 for a quarter.

What is the difference between DSO, DPO and DIO?

DIO (days inventory outstanding, also called DSI) is how long stock sits before it sells: inventory ÷ COGS × 365. DSO and DIO count days your cash is out of reach. DPO counts days your suppliers are lending to you. Put together they make the cash conversion cycle, DSO + DIO − DPO.

What is a good cash conversion cycle?

Shorter is better, and negative is possible. Grocers and restaurants often collect from customers before they pay their suppliers. There is no universal target, because an inventory-heavy business runs a far longer cycle than a service firm. Compare your cycle with your own history and with companies in the same line of work.

Should DPO be higher than DSO?

When DPO is higher than DSO, suppliers are funding your receivables, which helps cash flow. When DSO is higher, as with a DSO/DPO ratio of 1.09, you collect slower than you pay and fund the difference yourself. Raise DPO by negotiating longer terms. Paying late also raises it, and costs you the supplier.

Should I use 365 or 360 days for DSO and DPO?

Either, as long as you stay consistent. 360 is a banking convention and gives slightly lower figures: inputs that give DSO 45.6 days on 365 give 45.0 days on 360. Matching the day count to the period matters more. Use about 90 when your sales figure covers one quarter.

Why is cash still tied up when my cash conversion cycle is zero?

DSO is measured against sales and DPO against COGS, so a day of receivables is worth more than a day of payables. A business with DSO and DPO both at 30.0 days can still have $10,000 tied up. That is why the calculator shows the dollar figure, AR + inventory − AP, next to the days.

Community rating

Discussion (0)

No comments yet. Start the discussion.