The days sales outstanding formula is accounts receivable divided by credit sales for a period, multiplied by the number of days in that period. If you ended June with $120,000 in receivables after $90,000 of credit sales in the month, your DSO is 40 days ($120,000 ÷ $90,000 × 30). On average, it takes you about 40 days to turn a credit sale into cash.
Days sales outstanding (DSO) is the average number of days a business takes to collect payment after making a sale on credit. It measures how quickly accounts receivable turn into cash, so a lower DSO means customers are paying sooner.
DSO is worth tracking every month, and it is easy to get wrong. This guide works through the calculation with examples, then covers how to judge your result and the input mistakes that distort it.
The DSO formula
DSO = (Accounts receivable ÷ Credit sales) × Number of days
Each input needs a little care:
- Accounts receivable is what customers owe you at the end of the period, taken from your balance sheet or AR aging report. Some analysts use the average of the opening and closing balances instead. Either works if you are consistent.
- Credit sales are sales made on account: invoiced now, paid later. Leave out sales paid at the time of purchase, whether in cash or by card at the counter, because they never pass through receivables.
- Number of days is the length of the period in days, such as 30 for a 30-day month or 365 for a year.
How to calculate DSO: three worked examples
Example 1: monthly DSO
Say a commercial cleaning company invoices all of its customers on net 30 terms. In June it issued $90,000 of invoices, and on 30 June its receivables stood at $120,000.
- Divide receivables by credit sales: $120,000 ÷ $90,000 = 1.333.
- Multiply by the days in the period: 1.333 × 30 = 40 days.
With net 30 terms, a DSO of 40 means the average customer pays about 10 days after the due date.
Example 2: annual DSO using average receivables
A distributor had $1,460,000 of credit sales last year. Its receivables were $150,000 at the start of the year and $170,000 at the end.
- Average receivables: ($150,000 + $170,000) ÷ 2 = $160,000.
- Divide by annual credit sales: $160,000 ÷ $1,460,000 = 0.1096.
- Multiply by 365: 0.1096 × 365 = 40 days.
An annual figure is handy for comparing one year with the next, or for a lender's review. It is too slow to manage collections with, because a bad quarter disappears into the average.
Example 3: the countback method
The standard formula assumes sales are spread evenly across the period. When they aren't, because the business is growing quickly or its sales are seasonal, the countback method gives a truer answer. Start with your ending receivables and subtract each month's credit sales, working backward from the most recent month, until the receivables are used up. Then count the days that took.
Say receivables on 30 June were $150,000, and credit sales for the quarter looked like this:
| Month | Days | Credit sales |
|---|---|---|
| April | 30 | $70,000 |
| May | 31 | $80,000 |
| June | 30 | $100,000 |
- Subtract June's sales: $150,000 − $100,000 = $50,000 left. That uses all 30 days of June.
- The remaining $50,000 is part of May's $80,000: $50,000 ÷ $80,000 = 0.625 of the month, or 0.625 × 31 = 19.4 days.
- Add the two: 30 + 19.4 = 49.4 days.
Now run the standard formula on the same numbers. Using June alone gives 45 days ($150,000 ÷ $100,000 × 30). Using the whole quarter gives 54.6 days ($150,000 ÷ $250,000 × 91). The same books give three different answers. The countback figure sits between the other two because it matches the receivables against the sales that actually created them. What matters most is picking one method and sticking with it, so that the month-to-month trend means something.
What is a good DSO?
A good DSO is one close to your own payment terms. Published industry averages are less useful than they look, because they blend businesses with very different terms and customers. If you invoice on net 30, a DSO in the low 30s means customers are paying roughly on time. A DSO of 55 on the same terms means a meaningful share of customers are paying weeks late, and it's worth working through your aging report to find out who.
Best possible DSO and average days delinquent
To separate the effect of your terms from the effect of late payment, calculate best possible DSO. It uses only the receivables that are not yet due:
Best possible DSO = (Current receivables ÷ Credit sales) × Number of days
The gap between actual DSO and best possible DSO is called average days delinquent. Say your actual DSO is 48 days and your current receivables give a best possible DSO of 31. Customers are, on average, 17 days late (48 − 31). Your terms account for 31 days of the wait, and late payment accounts for the other 17. To change the first number, look at your invoice payment terms. To change the second, look at how you follow up.
Common DSO calculation mistakes
Counting cash and card sales as credit sales
This is an easy mistake to make, and it flatters the result badly. Say a business takes $200,000 a month, of which $120,000 is paid at the time of sale and $80,000 is invoiced. Receivables are $100,000.
- Using total sales: $100,000 ÷ $200,000 × 30 = 15 days.
- Using credit sales only: $100,000 ÷ $80,000 × 30 = 37.5 days.
The 15-day figure suggests invoiced customers pay within about two weeks. In fact they take more than five weeks.
Ignoring seasonality and growth
A month with a sales spike inflates the denominator and pushes DSO down, even if nobody paid any faster. A slow month does the opposite. Compare each month with the same month last year rather than the month before, or use the countback method if your sales swing a lot.
Letting one large invoice distort the month
A big invoice issued on the last day of the period lands in receivables at full value but has had no time to be paid. If your business issues a handful of large invoices, note them when you report DSO, or use average receivables so a single date carries less weight.
Treating the average as the whole story
DSO is an average, and averages hide individual accounts. A DSO of 38 can mean every customer pays in about 38 days. It can also mean most pay in 20 while one large customer is 120 days behind, and that second case needs a phone call this week. Your accounts receivable aging report shows which situation you are in.
Leaving uncollectible invoices on the books
Invoices you will never collect keep inflating receivables, and DSO with them, until they are written off. How and when to write off bad debt is a question for your accountant. The point for DSO is that old, dead balances can make the number look worse than your recent collection work deserves.
How DSO relates to other receivables metrics
DSO has two close relatives. The accounts receivable turnover ratio divides credit sales by average receivables, and it is really DSO expressed the other way up: 365 ÷ turnover = DSO. In Example 2, turnover is $1,460,000 ÷ $160,000 = 9.125 times a year, and 365 ÷ 9.125 = 40 days.
DSO is also one part of the cash conversion cycle, which adds days inventory outstanding to DSO and subtracts days payable outstanding. For a service business that holds little inventory, DSO is usually most of the cycle.
What a lower DSO is worth
Every day you take off DSO turns one day of credit sales into cash. Take the distributor from Example 2, which makes about $4,000 of credit sales a day ($1,460,000 ÷ 365). Cutting DSO from 40 days to 30 frees roughly $40,000 ($4,000 × 10 days). That cash stays freed for as long as the faster collection pattern holds, and it is money that doesn't have to come from a credit line.
Most of the levers are practical. Invoice the day the work is done, and give every invoice a pay button so the customer can settle it in one step. Then follow up on a fixed schedule instead of whenever someone remembers. Software that schedules invoices and sends payment requests at the right time, such as the smart invoicing PayLink can put in place, takes care of the timing. For an ordered plan, see how to reduce DSO.
Frequently asked questions
Should I use 360 or 365 days to calculate DSO?
Either, as long as you use the same convention every time. Some finance teams use a 360-day year, or 30 days for every month, so that periods compare neatly. Others use actual calendar days. The difference is small. Switching between conventions from one report to the next is what causes trouble, because the trend line moves for no business reason.
Can DSO be lower than my payment terms?
Yes. If some customers pay early, or pay automatically by card or ACH when the invoice is issued, the average can fall below your stated terms. A DSO far under your terms can also mean cash or card-at-sale revenue has crept into the credit sales figure, so check your inputs before you celebrate.
Should DSO use gross or net credit sales?
Use net credit sales, meaning invoiced sales after returns and credit notes. Gross sales overstate the denominator, which makes DSO look shorter than it really is. Receivables should already reflect any credits issued against open invoices, so both sides of the formula end up on the same basis.
How often should I calculate DSO?
Monthly suits most small and mid-size businesses, calculated the same way on the same day each month. Chart it over 12 months so you can see both the trend and the seasonal pattern. If collections are a live problem, a weekly look at the aging report will tell you more than a weekly DSO figure would.