Free tool
DSO Calculator
Enter your receivables and credit sales to get days sales outstanding, Best Possible DSO, the days lost to late payment and countback DSO. It’s free, there’s nothing to sign up for, and what you type stays in your browser.
Your numbers
Open receivables at the end of the period, from your aging report or balance sheet.
Invoiced sales on terms only. Leave out cash and card sales paid at the time of sale.
The part of receivables not yet due (the “current” bucket of your aging report). Gives Best Possible DSO.
Net days you give customers, e.g. 30 for net 30.
Results
Days sales outstanding
—
Enter receivables and credit sales to see DSO.
Best Possible DSO
—
Add current receivables to see the floor your terms set.
Days lost to late payment
—
Shown once both DSO figures are in.
Countback DSO (optional)
Enter credit sales for each month, most recent first. Countback takes each month’s sales out of your receivables until what is left fits inside a month, so a big sales month doesn’t hide slow payers. It counts each month as 30 days.
Countback DSO
—
Uses the accounts receivable figure above. Enter at least this month’s sales.
How to calculate DSO
Days sales outstanding is the average number of days it takes to collect cash after a sale on credit. The standard formula divides what customers owe you by what you sold them on credit, then scales it to the length of the period:
DSO = accounts receivable ÷ credit sales × days in the period
A worked example, with round numbers for illustration: a company ends the quarter with $600,000 in receivables after $1,800,000 of credit sales over 90 days. Its DSO is 600,000 ÷ 1,800,000 × 90 = 30 days.
Which numbers to use
- Credit sales, not total revenue. Sales paid at the till or by card at checkout never become receivables. Counting them makes DSO look shorter than it is.
- The same period for both figures. If receivables are at the end of the quarter, use that quarter’s credit sales and 90 days, not a year’s sales.
- Ending or average receivables. Ending receivables show where you are today. The average of opening and closing receivables smooths out a single unusual month-end. Pick one and keep it, so each period compares with the last.
- Gross receivables. Use the balance customers owe before any allowance for doubtful accounts, so a change in your reserve doesn’t move DSO.
The mistakes that make DSO look better than it is are covered in Accounts Receivable Days Formula and Interpretation.
Best Possible DSO and the days lost to late payment
Some of your DSO comes from the terms you give, and some from customers paying late. Best Possible DSO separates the two. It uses only current receivables, the invoices not yet due, so it is the DSO you would post if every customer paid on the due date:
Best Possible DSO = current receivables ÷ credit sales × days in the period
Days lost to late payment = DSO − Best Possible DSO
In the example, if $400,000 of the $600,000 is not yet due, Best Possible DSO is 400,000 ÷ 1,800,000 × 90 = 20 days. The other 10 days are late payment: the part of DSO that collections work can win back without changing terms.
Countback DSO
The standard formula averages over the period, so a big sales month at period-end can make DSO jump even when nobody paid later, and a slow month can hide slow payers. Countback DSO walks backwards through monthly credit sales instead. Take this month’s sales out of receivables; if receivables are bigger, count the whole month and take last month’s sales out too, and so on. When what is left is smaller than a month’s sales, count the share of that month it covers.
Example: $600,000 in receivables, $500,000 of credit sales this month and $700,000 last month. This month counts as 30 days and leaves $100,000, which is 1/7 of last month, about 4.3 days. Countback DSO is about 34.3 days.
Run it next to standard DSO each period. When the two pull apart, the gap points to a month, or a customer, worth a look.
What is a good DSO?
There is no single good number. DSO depends on the terms you give and on what is normal in your industry, so compare it with three things:
- Your own terms. On net 30, a DSO well above 30 means customers are paying late on average. Enter your terms in the calculator to see the gap.
- Your own trend. A DSO that rises quarter after quarter matters more than any single reading.
- Companies like yours. Public competitors report receivables and revenue in their annual reports (10-K filings in the US), which is enough to work out their DSO with this calculator.
For how DSO differs from one industry to the next, read Days Sales Outstanding by Industry Benchmarks.
Bringing DSO down
When most of your DSO is late payment, the work is in collections: invoices that are right the first time and reach the right person, reminders that start before the due date, disputes settled quickly, and invoices submitted correctly to customers’ procurement portals so they don’t sit unpaid after a rejection. When most of it is Best Possible DSO, the lever is your terms. To see what a set of terms means for one invoice, use the Invoice Due Date Calculator. To set DSO beside what you pay your own suppliers, and see your cash conversion cycle, try the DPO Calculator.
More on DSO and receivables
- DSO Meaning and Interpretation for B2B Finance Teams
Break DSO down by trend, gap, and segment to find stuck cash.
- Accounts Receivable Days Formula and Interpretation
How to spot calculation errors that make collections look better than they really are.
- Days Sales Outstanding by Industry Benchmarks
Compare your company's collection speed to where your industry actually collects cash.
- Days Sales Outstanding Reduction Strategies
Collection delays often hide in operational friction, not just customer behavior.
- Key Metrics for Accounts Receivable Performance
Tracking DSO alone masks payment problems that CEI, ADD, and aging buckets reveal.
- Cash Conversion Cycle Benchmarks by Industry
DSO holds most sway over cash flow—and it varies wildly across industries.
- Working Capital Optimization Through Faster Collections
Collecting invoices 18 days faster than your median peer frees $223 billion in trapped cash.
- Days Payable Outstanding Formula and AR Benchmarking
How to calculate DPO cleanly, and why industry context decides what it means.