Days sales outstanding (DSO)

Days sales outstanding (DSO) is the average number of days a business takes to collect payment after a sale on credit. It compares accounts receivable with credit sales for the same period.

DSO turns your receivables balance into days, so you can compare it with your payment terms. When it rises, cash is staying with customers for longer. In the UK the same measure is often called debtor days.

DSO formula

DSO = accounts receivable ÷ credit sales × number of days in the period

Use credit sales where you can, because cash sales never sit in receivables and would make DSO look shorter. Count 365 days for a year, or the actual days in a quarter or month. Some companies use 360, so check before you compare figures.

There are three common ways to run the DSO calculation. The average method gives the same answer as 365 divided by the accounts receivable turnover ratio.

MethodReceivables usedWhen it fits
Period-endBalance on the last day of the periodMonthly reporting with steady sales
Average receivablesOpening plus closing balance, divided by 2Annual figures and year-on-year comparisons
CountbackClosing balance matched against the latest months of salesSeasonal sales or a spike near the period end

How to calculate DSO with a worked example

Example. A distributor sells to business customers on 30-day terms. Last fiscal year its sales were $16,000,000, of which $14,600,000 were on credit, or $40,000 a day. Receivables were $1,700,000 at the start of the year and $1,900,000 at the end. All figures are illustrative.

  • Period-end method. $1,900,000 ÷ $14,600,000 × 365 = 47.5 days.
  • Average receivables method. ($1,700,000 + $1,900,000) ÷ 2 = $1,800,000, and $1,800,000 ÷ $14,600,000 × 365 = 45 days.

The countback method works backward from the closing balance. Subtract the latest month's credit sales and count all its days, then repeat with earlier months until the amount left is smaller than a month's sales, and count that month in proportion. Taking away December sales of $1,240,000 leaves $660,000, so December counts in full as 31 days. November sales were $1,200,000, so $660,000 ÷ $1,200,000 × 30 = 16.5 days. Countback DSO is 31 + 16.5 = 47.5 days, equal to the period-end result because daily sales were steady.

What is a good DSO

A good DSO sits close to your payment terms. On 30-day terms, a DSO near 30 means customers pay around the due date on average, and every day above that is cash arriving late. With DSO of 45 to 47.5 days, the distributor's customers pay 15 to 17.5 days late on average.

Best possible DSO shows the floor for your terms. It counts only current receivables, the invoices not yet due, so it equals current receivables ÷ credit sales × days in the period. The distributor had $1,200,000 not yet due at year end, which gives $1,200,000 ÷ $14,600,000 × 365 = 30 days. DSO minus best possible DSO is average days delinquent, here 47.5 minus 30 = 17.5 days. An accounts receivable aging report shows which customers make up that gap.

Why DSO can mislead

DSO divides the balance on one day by sales spread over a whole period, so anything that moves sales near the period end moves DSO too. Suppose a promotion lifts the distributor's December credit sales by half, to $1,860,000, while customers pay exactly as before. The extra $620,000 is still unpaid at year end, so receivables rise to $2,520,000 and annual credit sales to $15,220,000. Period-end DSO jumps to $2,520,000 ÷ $15,220,000 × 365 = 60.4 days, while countback DSO stays at 47.5 days because it matches the balance against the months that created it.

Seasonal businesses see this every year, so compare each month with the same month a year earlier. Receivables that include VAT or sales tax also overstate DSO against sales without tax, and invoices sold to a factor lower DSO with no change in how customers pay.

How to lower DSO

  • Invoice on the day you deliver. Terms usually run from the invoice date, so a late invoice means late cash.
  • Get invoices right the first time. A missing purchase order number or a wrong address gives the customer a reason to wait.
  • Remind customers before the due date. A short reminder a few days early catches invoices stuck in approval.
  • Follow up within days. Move from email to a phone call and record every promise to pay.
  • Resolve disputes quickly. A disputed invoice usually stays unpaid until someone fixes it.
  • Match payments promptly. An unmatched payment keeps the invoice open and DSO too high.

Early payment discounts and tighter credit limits also lower DSO, but they cost margin or sales.

Sunbay covers the reminder and follow-up steps. It connects to your ERP or accounting system, sends reminders by email and SMS before and after the due date, makes AI voice calls on invoices that stay unpaid and keeps every customer reply next to the invoice. It matches incoming payments using ERP data and shows DSO next to receivables aging in its analytics view, so you can see whether a rise comes from overdue invoices or from new invoices that are not yet due. Tequipy, which provides IT equipment as a service, cut its DSO by 30% with Sunbay.

Frequently asked questions

How do you calculate DSO?

Divide accounts receivable by credit sales for the period and multiply by the days in it. With receivables of $1,900,000 and annual credit sales of $14,600,000, DSO is $1,900,000 ÷ $14,600,000 × 365 = 47.5 days.

What does a DSO of 45 days mean?

Customers take 45 days on average to pay after a sale. On 30-day terms that is about 15 days late, while on 60-day terms customers pay before the due date on average.

What is the difference between DSO and best possible DSO?

DSO uses all receivables, while best possible DSO uses only invoices that are not yet due. It shows what DSO would be with nothing overdue, and the gap between the two is the average number of days customers pay late.

Laws and rates as of October 2026. This entry is general information, not legal, tax or accounting advice.
Contents
Sunbay
See how Sunbay runs your receivables process
A 15-minute demo on your own invoices, from the first reminder to the payment.
Book a demo
Wins report receipt showing DSO down 9 days, 110 hours saved and zero missed invoicesRaport sukcesów w formie paragonu, DSO krótsze o 9 dni, 110 zaoszczędzonych godzin i zero przeoczonych faktur
See Sunbay with your own invoices

15 minutes on how your team would run collections in Sunbay, from the first reminder to the payment. Pick a time in the calendar.

Book a demo