How do you calculate DSO?
Divide accounts receivable at the end of the period by credit sales for the period, then multiply by the number of days in the period. With $8.2 million of receivables and $60 million of annual revenue, DSO is 8.2 ÷ 60 × 365 = 49.9 days. Use 90 days for a quarter or 30 for a month, and the same period for both numbers.
How this is calculatedthe formula, a worked example, benchmarks, assumptions and sources · about 7 min read
The DSO formulas
These are the formulas the calculator runs. The first four are standard credit-management measures. The last one turns days into cash.
- Standard DSO
DSO = accounts receivable ÷ credit sales for the period × days in the periodEquivalent to AR ÷ daily sales, where daily sales = revenue ÷ days in the period.- Countback DSO
Subtract each month’s sales from AR, latest month first. Add the days of every month fully used up, plus (AR left ÷ that month’s sales) × its days for the month where AR runs out.Gives a truer answer when sales are seasonal or growing. The calculator counts each month as 30 days.- Best possible DSO
BPDSO = current (not yet due) AR ÷ credit sales × days in the periodWhat DSO would be if every customer paid exactly on terms. It mostly reflects your terms and billing timing.- Average days delinquent
ADD = DSO − best possible DSOThe days your customers pay late, on average.- Cash released and the interest it saves
cash per day of DSO = revenue ÷ days in the period (countback: latest month’s sales ÷ 30) cash released = (DSO − target DSO) × cash per day of DSO interest saved per year = cash released × borrowing rateCash released comes in once and sits on the balance sheet. It is not profit. Interest saved is a financing gain, so it is not operating profit either.
How to use this DSO calculator
- Pick the methodUse Standard if sales are fairly even through the year. Use Countback if they are seasonal or growing fast, because a flat average then overstates or understates DSO.
- Enter receivables and revenue for the same periodTake trade AR from the period-end balance sheet. For Standard, enter revenue for the same year, quarter, or month. For Countback, enter the last three to six months of sales, latest first.
- Add the share of AR that is currentFrom your aging report: the current (not yet due) bucket divided by total AR. This splits DSO into best possible DSO and days delinquent.
- Set a targetThe what-if starts at today’s DSO minus the AI midpoint. Type your own target to see the cash it releases once and the interest that cash saves every year.
- Fill in the AI estimateDays from delivery to invoice and your DSO drive the days AI takes off. Bad debt written off sizes the savings. Team hours and salary size the hours saved. Your borrowing rate sizes the interest saved. Each field says which ledger or report it comes from.
Worked example: $60 million of revenue, $8.2 million of AR
A company using the calculator’s default inputs.
| Accounts receivable | $8.2 million |
|---|---|
| Revenue for the year | $60 million |
| Share of AR current | 72% |
| Days from delivery to invoice | 4 days |
| Bad debt written off | 0.6% of revenue ($360,000 a year) |
| Billing and collections time | 60 hours a week, $65,000 average salary |
| Borrowing rate | 8% (Opswell default) |
- Daily sales: $60 million ÷ 365 = $164,384.
- DSO: $8.2 million ÷ $164,384 = 49.9 days.
- Best possible DSO: 72% × $8.2 million = $5.9 million current, ÷ $164,384 = 35.9 days.
- Average days delinquent: 49.9 − 35.9 = 14.0 days, with $2.3 million of AR past due.
- Countback check, with the last three months at $5.4 million, $4.9 million, and $5.1 million: the latest month uses up $5.4 million (30 days) and the remaining $2.8 million is 57% of the month before (17.1 days). Countback DSO is 47.1 days, because recent months were busier.
- With AI on billing and collections, the model takes 4.0 to 8.4 days off, 6.2 at the midpoint: 2.3 from invoicing, 2.9 from collections follow-up, and 1.0 from cash application.
- Cash collected sooner: 6.2 days × $164,384 = about $1.01 million, once ($652,000 to $1.37 million).
- Bad debt avoided: 15% of $360,000 = $54,000 a year ($36,000 to $72,000 at 10–20%). This is the only saving that adds to profit.
- Interest saved on the cash: $1.01 million × 8% = $81,000 a year. This is a financing gain, not counted in profit.
About $1.01 million of cash comes in once. That is cash in the bank, not profit. Profit rises by $54,000 a year from bad debt avoided ($36,000 to $72,000). The cash also saves $81,000 a year of interest, which is a financing gain. Hours saved are worth $88,000 a year (about 1,870 AR team hours) and are kept out of the headline.
DSO benchmarks
What the large published surveys say. They describe big public companies in aggregate and payment terms from supplier surveys, not sector medians for smaller companies.
| Measure | Figure | Who it describes | Source |
|---|---|---|---|
| Average DSO (standard, annual) | 48.5 days (up 1%) | Europe’s 1,000 largest nonfinancial companies, FY2024 (large-company figure) | Hackett Group, 2025 |
| DSO gap, top quartile vs median | 18 days, a $600 billion receivables opportunity | 1,000 largest US nonfinancial public companies, FY2024 | Hackett Group, 2025 |
| Change in DSO, FY2025 | +2.1 days; worse in 40 of 50 industries; third straight year of decline | 1,000 largest North American public companies | Hackett Group, 2026 |
| Receivables opportunity | $773 billion, 40% of the total working capital opportunity | 1,000 largest North American public companies | Hackett Group, 2026 |
| Companies with longer DSO, 2023 | 67% | S&P 1500, excluding financials and real estate | J.P. Morgan, 2024 |
| Average B2B payment terms | 45 days from invoice (terms, not DSO) | US B2B suppliers, survey | Atradius, 2025 |
| B2B receivables paid late | 22% | US B2B suppliers, survey | Atradius, 2026 |
Three caveats. Hackett’s 48.5 days is a large-company figure, comparable only to standard, annual DSO. We could not verify a primary source for DSO medians by industry, so this page shows none; sector figures online trace to gated reports or vendor blogs. And Atradius’s 45 days is payment terms, not DSO: compare it with your best possible DSO, and your days delinquent with the 22% of receivables paid late. Your best benchmark is your own trend.
Sources: Hackett Group, 2025 Europe Working Capital Survey; Hackett Group, 2025 US Working Capital Survey; Hackett Group, 2026 North America Working Capital Survey; J.P. Morgan, Working Capital Index 2024; Atradius Payment Practices Barometer, US 2025; Atradius, B2B payment practices in the US 2026.
Why DSO rises
Split DSO into best possible DSO and days delinquent first. The split tells you which kind of problem you have.
If best possible DSO is high, the cause is structural: long terms, invoices that go out days after the work ships, or billing errors that restart the clock. If days delinquent is high, customers are paying late: follow-up is slow or uneven, disputes sit unresolved, or a few large accounts are stretching you. And some DSO movement is arithmetic: a big sales month at period end raises standard DSO without anyone paying later, which is why countback exists.
- Invoice delay: every day between delivery and invoice is a day of DSO, before the customer’s clock even starts.
- Billing errors and disputes: a wrong PO number or price sends the invoice back and the clock resets.
- Thin follow-up: reminders go to the biggest balances, and mid-sized accounts drift.
How to lower DSO
Start with the days you control. Getting invoices out the day work ships is usually the cheapest day of DSO you will ever remove, because it needs no customer to change behaviour. In the worked example above, invoicing alone is worth 2.3 days, about $378,000 of cash, once.
Then work days delinquent: contact every overdue account on a schedule ranked by risk, mid-sized ones included; resolve disputes with the evidence attached; apply cash the day it arrives.
Change terms last. Shorter terms and early-payment discounts move best possible DSO, but they cost margin or goodwill. A discount only pays if it costs less than your borrowing rate on the days it saves.
Where AI helps with DSO, and where it doesn’t
The calculator models three jobs where AI takes days off, and you can measure each one before and after. Invoice timing: AI reads delivery, timesheet, or shipping records and drafts the invoice the same day, with the PO and contract details checked. Risk-ranked collections: it ranks every open account by balance, age, and payment history, drafts the reminder or escalation, and schedules the next touch, so mid-sized accounts stop drifting. Cash application and dispute routing: it matches remittances to invoices, flags short-pays, and routes disputes to the right owner with the invoice, PO, and proof of delivery attached.
AI does not change your customers’ credit quality, and it does not change contract terms. A customer who can’t pay won’t pay faster because the reminder was better written, and 60-day terms stay 60 days. That is why the model caps the cut at DSO minus 20 days and scales collections gains by how far DSO sits above 30. If your days delinquent are low and best possible DSO is high, most of your gap is terms, and the AI estimate will look small. That is the right answer.
Keep the dollars apart. Days off DSO turn receivables into cash once. That is a balance-sheet change, not profit, and the headline shows it as cash. Interest saved on that cash is real, but it is a financing gain. What adds to profit every year is the bad debt avoided. AR team hours saved are shown and kept out of it.
Assumptions and limits
- Countback treats each month as 30 days so the answer is the same on any date. Standard DSO uses the period you choose: 365, 90, or 30 days.
- In countback mode a day of DSO is valued at the latest month’s sales ÷ 30, not an average of possibly seasonal months. Bad debt in countback mode uses the months entered, annualised.
- Best possible DSO in countback mode is the countback of current AR through the same months.
- Days cut: invoicing removes 60–90% of the days beyond one between delivery and invoice; collections 2–5 days, scaled up as DSO rises above 30 and capped at 4–8; cash application 0.5–1.5 days. The total is capped at DSO − 20 days, and the midpoint is the average of low and high.
- Bad debt avoided is 15% of today’s write-offs (10% conservative, 20% stretch), from earlier follow-up. The low and high cases vary this share as well as the days cut.
- Hours saved: 60% of billing and collections hours can be automated, at salary × 1.3 ÷ 1,800 hours.
- The default borrowing rate of 8% is an Opswell assumption, not a quoted rate; use your revolver or term-loan rate, or what your cash earns. A WACC charge (Damodaran’s January 2026 US figure is 7.72%) is not used, because it is an economic return measure, not a P&L line.
- These are Opswell’s own assumptions, not benchmarks. A free Snapshot checks them against your own AR aging export.
Terms used on this page
- Added profit
- Here, the bad debt avoided each year. This is the same as the EBITDA effect, for readers who use that term.
- Days sales outstanding (DSO)
- Average number of days between a sale on credit and the cash arriving.
- Best possible DSO (BPDSO)
- DSO counting only current receivables: what DSO would be if everyone paid on terms.
- Average days delinquent (ADD)
- DSO minus best possible DSO: the average days customers pay late.
- Cash application
- Matching incoming payments to the invoices they pay, so open AR is accurate.
Sources
- 2025 Working Capital Survey: payables rebound, receivables and inventory lag · The Hackett Group, 2025
- Record $1.94 trillion working capital opportunity among North America’s largest companies · The Hackett Group, 2026
- 2025 Europe Working Capital Survey · The Hackett Group, 2025
- Increasing efficiency: Working Capital Index 2024 · J.P. Morgan, 2024
- Payment Practices Barometer: B2B payment practices trends US 2025 · Atradius, 2025
- B2B payment practices trends in the US 2026 · Atradius, 2026
- Cost of equity and capital (US), January 2026 · Aswath Damodaran, NYU Stern, 2026
Common questions
What is a good DSO?
It depends mostly on your payment terms. A useful test is the gap: DSO should sit close to your best possible DSO, so average days delinquent stay small. For context only, Hackett found an 18-day gap between top-quartile and median performers among the 1,000 largest US companies in 2025, and Europe’s 1,000 largest companies averaged 48.5 days of standard DSO. Both describe very large companies. We don’t publish sector medians because we couldn’t verify a source for them.
What is the difference between DSO and payment terms?
Terms are what you agreed; DSO is what actually happens. Average US B2B terms are 45 days from invoice according to Atradius’s 2025 survey. Your DSO also includes invoice delay before the clock starts and late payment after it ends. Best possible DSO is the closest measure to terms; days delinquent is the late part.
Can DSO be negative?
Not with the standard formula: receivables and sales are both positive, so DSO is zero or more. It can be close to zero for businesses paid upfront, such as retail or prepaid subscriptions. If you see a negative number, a credit balance (customer prepayments or unapplied cash) is being netted against AR. Report deferred revenue separately.
Should I calculate DSO monthly or annually?
Both. Annual DSO smooths out seasons and suits year-over-year comparison. Monthly DSO, with 30 days in the formula, shows a trend early. If sales swing month to month, use countback for the monthly figure, or it will jump whenever a big month closes.
What is the countback method for DSO?
Countback walks backwards through monthly sales, latest first, until the AR balance is used up. Each month fully consumed adds its days; the month where AR runs out adds a pro-rated share. It ties DSO to the sales that actually created the receivables, so growth and seasonality don’t distort it.
How much cash does one day of DSO free up?
One day of annual revenue: revenue ÷ 365. At $60 million of revenue that is about $164,000. It comes in once. The recurring value is the interest that cash saves, about $13,000 a year at an 8% borrowing rate. That is a financing gain, not profit. If sales are seasonal, value a day at the latest month’s sales instead, as countback mode does.
Does cash released from lower DSO count as profit?
No. Receivables become cash once, on the balance sheet. The interest that cash saves (cash × borrowing rate) is a financing gain, so it is not operating profit either. Only bad debt avoided adds to profit. The calculator leads with the cash, labeled as cash, and shows profit and interest as separate figures.
Read next
- How to automate it: Cash collected soonerInvoices out the day work ships, follow-ups drafted by risk, and remittances matched automatically.
- DSO benchmarks: what the 2025 and 2026 working capital surveys showPublished benchmarks, each linked to its source
- Which AI dollars are real?Hard savings, revenue gained and hours saved are three different kinds of money. A business case that adds them together will not get past the CFO.
- How Opswell tools count dollarsThe rules behind every number on this page
Reviewed November 22, 2026 by Maxwell Kroll, founder of Opswell. The math runs in your browser. A Python copy of the same engine runs on our server, and we test that both give the same answer on every release.