By Barron Hansen, Founder · Updated October 8, 2026
DSO Calculation: Days Sales Outstanding Explained
Days Sales Outstanding (DSO) expresses a company's accounts receivable as a number of days of credit sales: roughly, how many days of sales are still waiting to be paid. The figure depends on which balances and which period length go into it, so when you compare two DSO figures, check that both use the same definition.
The DSO formula used in this guide
DSO = (Accounts Receivable / Total Credit Sales) x Days in Period
Days in Period is the length of the period in calendar days. A calendar quarter has 90, 91 or 92 days (in 2026: 90, 91, 92 and 92) and a year has 365 or 366; some teams use a flat 90 or 365 instead, which changes the result slightly. The numerator is the accounts receivable (AR) balance at the end of the period; the denominator is credit sales for the period (sales made on account, excluding cash sales).
A worked example: a company with $4 million in AR at quarter-end and $24 million in credit sales for the quarter has:
DSO = ($4M / $24M) x 90 = 15 days
A company with $8M in AR on the same $24M in credit sales has DSO of 30 days: the same sales, twice the receivables, twice the DSO.
Calendar days or business days
The result is in whatever unit Days in Period is counted in. With calendar days, DSO of 15 means 15 calendar days of credit sales are sitting in receivables. If you count Days in Period in business days instead (the four calendar quarters of 2026 have 64, 65, 66 and 66 Monday-to-Friday weekdays before holidays are taken out), the same balances give a smaller number in business days, and it can no longer be compared with a calendar-day figure.
Whichever unit you choose, use it for every period and every company you compare, and say which one you used. If you need the business-day count for a specific period and country, the Business Days Between Dates Calculator counts it from the holiday data on this site.
Variants of the formula
This guide describes three versions of the calculation:
Standard DSO: (Ending AR / Period Credit Sales) x Days in Period. It needs only two figures, and because it uses the closing AR balance, a large invoice issued or paid on the last day of the period moves it.
Best Possible DSO (BPDSO): (Current AR / Period Credit Sales) x Days in Period, where current AR is the part not yet past due. It shows the part of DSO that comes from receivables not yet due; the gap between BPDSO and standard DSO is the part that comes from past-due receivables.
Countback DSO: start from the ending AR balance and subtract each prior period's credit sales, most recent first, counting the days of each period, until the balance is used up; the days counted are the DSO. It follows the actual sales pattern of recent periods rather than an average across the whole period, and it needs credit sales by month (or a shorter period).
If sales were uneven across the period, the standard and countback figures can differ; running both shows whether a single month or a single large receivable is driving the standard figure.
Comparing DSO figures
This guide does not give industry benchmark ranges, because a DSO figure is only comparable with another built on the same formula, the same period length and the same definition of credit sales. Useful comparisons are:
- Your own payment terms: if every customer paid exactly on the due date and sales were even across the period, standard DSO would equal the number of calendar days from invoice to due date (30 if invoices fall due 30 days after issue). The distance above that reflects late payment and uneven sales.
- Your own history: the same formula, period length and credit-sales definition, period after period.
- Another company's figure: only after checking that it uses the same formula and inputs.
If DSO is well above your terms, an AR aging report by bucket (current, 1–30 days past due, 31–60, and so on) shows whether the excess sits in a few accounts or across many.
DSO and the cash flow forecast
In a cash flow forecast, DSO can serve as the assumption for when billed revenue turns into cash. A weekly forecast (for example, a 13-week model) converts forecast billings into forecast collections either with a single DSO figure or with a collection pattern by age.
The single-figure version: with DSO of 45 days, an invoice issued on day 1 to 7 of week 1 is assumed to be paid 45 days later, on day 46 to 52, which falls in week 7 or week 8. The pattern version spreads each week's billings instead, for example 60% collected within 30 days, 30% within 60 days, 8% within 90 days and 2% after 90 days (illustrative percentages, not a benchmark).
A collection pattern needs your own history of when invoices of each age were paid; without that history, a single DSO figure is the simpler assumption to start from.
What changes DSO
Three groups of inputs move DSO: the payment terms you agree, when customers actually pay, and what you do to collect.
Stated payment terms: if credit sales are even through the period and every customer pays on the due date, standard DSO equals the number of calendar days from invoice to due date, so moving from terms due 30 days after the invoice to terms due 45 days after it adds 15 days. Customers who pay early or late move the result away from that figure. For a guide on writing payment terms, see how to write payment terms on an invoice.
Customer payment behaviour: customers who pay after the due date raise DSO above that number of days, and the larger the share of your receivables that sits with those customers, the larger the effect, whatever the stated terms.
Collection effort: reminder timing, how quickly disputed invoices are resolved and when overdue accounts are escalated all affect when invoices are paid. Selling receivables to a factor can lower the AR balance, and so DSO, without any customer having paid earlier (see the reporting traps below).
To compute exact due dates from invoice date and payment terms, use the Net 30 Calculator, Net 60 Calculator, or Net 90 Calculator. For mechanical due-date math across any term, the Invoice Due Date Calculator handles it. Once an invoice goes past due, the Late Payment Interest Calculator computes interest at the statutory rate it holds for the UK, the EU Late Payment Directive, Germany, France and India, or at a contractual rate you enter for the other countries it lists, including the US.
DSO and seasonality
When sales are seasonal, DSO moves with them. If a quarter's sales are concentrated in its last month, the closing AR balance is high relative to the quarter's sales, and the quarterly DSO rises even when customers pay on time; the quarter after a peak shows the reverse.
A trailing 12-month or trailing four-quarter calculation averages the seasonal pattern out; a single quarter or month shows it. The first suits comparisons across years, the second planning cash for the period ahead.
Common reporting traps
A few inputs can distort a DSO calculation:
- Mixed currency: receivables in several currencies, translated into one reporting currency at each period-end rate, change in value with exchange rates even when nothing was billed or paid.
- Unbilled revenue: Long-term contracts may have revenue recognized but not yet invoiced. Excluding unbilled revenue from the DSO denominator while including it in the numerator (or vice versa) distorts the ratio.
- Credit memos: Large credit memos issued at quarter-end suppress AR and improve apparent DSO without any actual cash improvement. Track gross AR alongside net AR for this reason.
- Receivables sold to a factor: receivables sold through a factoring program can leave the balance sheet although the customer has not paid. If you want DSO to reflect when customers pay, add the sold receivables that are still unpaid back to AR before calculating.
A weekly DSO series (each week's AR against credit sales over a trailing period) shows changes sooner than a month-end figure and depends less on what happens to fall on the last day of a month.
FAQ
What is a good DSO?
There is no single figure. If every customer paid on the due date and sales were even across the period, standard DSO would equal the number of calendar days from invoice to due date (30 if invoices fall due 30 days after issue), so a useful first comparison is DSO against your own terms, then against your own past periods calculated the same way. This guide does not give industry benchmark ranges, because a DSO figure is only comparable with one built on the same formula and inputs.
Should I calculate DSO using calendar days or business days?
The formula works in either unit: the result is in whatever unit Days in Period is counted in. This guide uses calendar days. A business-day DSO is smaller for the same balances and cannot be compared with a calendar-day figure, so pick one unit, use it for every period, and say which one you used.
What is the difference between DSO and CCC?
DSO expresses receivables in days of credit sales. The Cash Conversion Cycle (CCC) is broader: CCC = DIO (Days Inventory Outstanding) + DSO - DPO (Days Payables Outstanding). DSO is one component of CCC, so a lower DSO shortens the CCC only if DIO and DPO do not move the other way.
Why does my DSO spike at the end of the quarter?
If a large share of the quarter's sales is invoiced near the end of the quarter, the closing AR balance is high relative to the quarter's sales, which raises DSO even when customers pay on time. Using average AR across the period (for example the average of the month-end balances) instead of the closing balance reduces the effect.