Days sales outstanding (DSO): formula, example and how to lower it
Updated 3 Dec 2026 · 4 min read
Short answer
Days sales outstanding (DSO) is the average number of days a business takes to collect payment after a sale on credit. It is calculated as accounts receivable divided by credit sales for a period, multiplied by the days in that period. Lower means cash comes in faster.
On this page
The formula
DSO = (Accounts receivable ÷ Credit sales) × Number of days
- Accounts receivable: what customers owe at the end of the period (some use the average over the period).
- Credit sales: sales made on credit in the same period. Use total sales only if credit sales aren't available.
- Number of days: the length of the period, for example 30, 90 or 365.
A worked example
In a 90-day quarter a business makes 1,500,000 in credit sales. At the end of the quarter customers owe it 500,000.
DSO = (500,000 ÷ 1,500,000) × 90 = 30 days
On average it takes 30 days to collect. If its payment terms are 30 days, customers are paying roughly on time; if terms are 15 days, they are paying late.
Calculating DSO in a spreadsheet
Put the three inputs in cells and divide. With receivables in B2, credit sales in B3 and days in B4:
=B2/B3*B4
For a monthly trend, use each month's closing receivables, that month's credit sales and the number of days in the month. Plot the result for 12 months. The trend tells you more than any single month.
What is a good DSO?
Compare DSO with your own payment terms, your own trend, and businesses in your industry, not with a universal number. A DSO close to your standard terms means customers pay roughly on time. A DSO that is rising quarter by quarter is a warning even if the number looks acceptable.
Where DSO misleads
- Seasonal sales: a big final month raises receivables and DSO without anyone paying late.
- A mix of terms: customers on 15 and 90 days averaged together hide who is late.
- Averages hide the tail: one large, very late invoice can matter more than the average.
Look at an ageing report alongside DSO: receivables grouped by how overdue they are (current, 1–30, 31–60, 61–90, over 90 days).
Other ways to calculate DSO
Best possible DSO = (Current receivables ÷ Credit sales) × Number of days
- Current receivables: amounts owed that are not yet overdue.
Best possible DSO shows what DSO would be if every customer paid on time. The gap between it and actual DSO is the delay caused by late payment, which collections can work on.
The countback method works backwards instead: it takes the receivables at the end of the period and subtracts each month's sales, latest first, until the receivables are used up, counting the days covered. It handles seasonal sales better than the standard formula.
DSO and average days delinquent
Average days delinquent (ADD) = DSO − Best possible DSO
If DSO is 52 days and best possible DSO is 34, customers pay on average 18 days late. ADD separates the two things that drive DSO: the terms you give (fixed by sales and contracts) and how late customers pay against them (the part collections can change).
DSO in the cash conversion cycle
Cash conversion cycle = DIO + DSO − DPO
- DIO: days inventory outstanding, how long stock sits before it is sold.
- DSO: how long customers take to pay.
- DPO: days payable outstanding, how long you take to pay suppliers.
A business that holds stock for 45 days, collects in 40 and pays suppliers in 30 has a cycle of 45 + 40 − 30 = 55 days: each sale ties up cash for almost two months. Cutting DSO by 10 days frees 10 days of credit sales in cash, without selling more.
Common mistakes when calculating DSO
- Including cash sales in the denominator, which makes DSO look better than it is.
- Mixing periods: receivables at year end divided by one month's sales.
- Comparing a 30-day DSO with a 90-day one without noticing the period changed.
- Leaving out credit notes and write-offs, so receivables include amounts that will never be collected.
- Reporting one company-wide number when customer groups have very different terms.
How to lower DSO
- 1Invoice right, and at once. Correct prices, PO numbers and delivery references, sent the day the goods or service are delivered.
- 2Find disputes early. Check open disputes and short deliveries before chasing; a reminder for a disputed invoice wastes a week.
- 3Follow up on a schedule. Reminders before and after the due date, with clear escalation (see dunning).
- 4Make paying easy. Clear payment details and several ways to pay.
- 5Apply cash quickly. Match payments to invoices fast, so paid invoices aren't chased.
- 6Review credit terms. Check terms and limits for customers who are often late.
Questions
Is a high DSO bad?
It means cash is collected more slowly, which ties up working capital. Whether it is a problem depends on your terms and your industry; a rising trend is the clearer warning sign.
What is the difference between DSO and DPO?
DSO measures how fast you collect from customers. Days payable outstanding (DPO) measures how fast you pay your suppliers.
Should DSO use average or closing receivables?
Either, consistently. Closing receivables are simpler; the average of opening and closing smooths out a single unusual month-end.