Skip to content

What is days sales outstanding (DSO)? Formula and example

Accounts receivable, billing and collections

Definition

Days sales outstanding (DSO) is the average number of days a company takes to collect payment after a credit sale: average accounts receivable divided by credit sales, times the days in the period. Lower is faster. Compare it with your payment terms: DSO of 45 on net 30 means customers pay about 15 days late.

Measures
Collection speed
Unit
Days
Sales basis
Net credit sales
Compare with
Payment terms

Days sales outstanding formula

The days sales outstanding formula divides receivables by credit sales and multiplies by the number of days in the period.

DSO = (Average accounts receivable ÷ Net credit sales) × Days in the period
  • Average AR: (Beginning AR + Ending AR) ÷ 2. Many teams use ending AR as a quick proxy; it reacts faster to a month-end spike.
  • Net credit sales: Credit sales for the same period, after returns, allowances, and discounts.
  • Days: 30 or the calendar days in the month, 90 to 92 for a quarter, 365 for a year. Keep the period and the sales figure the same.

DSO is the days version of the accounts receivable turnover ratio: DSO = 365 ÷ annual turnover.

How to calculate DSO: example

Example: Harlow Medical Supply sells on net 30 and calculates DSO for the third quarter of 2026, July 1 to Wednesday, September 30 (92 days). All amounts are illustrative.

Q3 2026Amount
Net credit sales: July $450,000, August $460,000, September $470,000$1,380,000
Accounts receivable, July 1$610,000
Accounts receivable, September 30$590,000
Average accounts receivable$600,000
DSO (600,000 ÷ 1,380,000 × 92)40.0 days
Payment terms30 days
Average days beyond terms10.0 days

Every $1 of daily credit sales tied up for 10 extra days is $10 of cash waiting. At about $15,000 of credit sales a day ($1,380,000 ÷ 92), those 10 days hold roughly $150,000.

What is the countback method for DSO?

The countback method counts back through recent months of sales until it has accounted for the whole ending AR balance, so a growing or seasonal business doesn't distort DSO.

Harlow's ending AR of $590,000 covers all of September's $470,000 of sales (30 days) and $120,000 of August's $460,000 (31 days).

Countback DSO = 30 + (120,000 ÷ 460,000 × 31) = 38.1 days

The average method gives 40.0 days because July's higher opening balance is in the average. Use one method consistently.

What is a good DSO?

A good DSO is close to your standard payment terms. On net 30 terms, DSO in the low 30s means most customers pay on time; DSO well above terms points to late payers, disputes, or billing delays.

Compare DSO with your own trend and with companies on similar terms. A business that sells partly for cash, or to the government, will look different from one on net 60 enterprise contracts.

Days sales outstanding from a 10-K

From Microsoft's Form 10-K for the fiscal year ended June 30, 2026, revenue of $331,839 million and average net accounts receivable of $75,390.5 million ($80,876 million and $69,905 million at the two year-ends) give DSO of about 83 days. Total revenue stands in for credit sales because public companies rarely disclose them.

What is DSO confused with?

DSO is most often confused with days payable outstanding, which measures how fast you pay suppliers, and with best possible DSO, which counts only current receivables.

TermWhat it isHow it differs from DSO
Days payable outstanding (DPO)Average days a company takes to pay suppliers: average accounts payable divided by cost of goods sold, times days in the periodThe payables mirror; DSO minus DPO is part of the cash conversion cycle
Best possible DSODSO calculated using only current (not past due) receivables, showing the collection time if every customer paid on termsThe floor DSO could reach; the gap to actual DSO is days lost to late payment
Average days delinquent (ADD)Average number of days invoices are paid past their due date, often calculated as DSO minus best possible DSOMeasures lateness only
Accounts receivable turnover ratioHow many times a company collects its average accounts receivable in a period: net credit sales divided by average ARThe same relationship as a ratio, not days

DSO at month end

Calculate DSO only after cash is applied and the AR subledger ties to the general ledger, as part of the month-end close.

  1. Apply cash: Unapplied payments leave invoices open and inflate DSO
  2. Book credit memos: Disputed amounts settled by credit should come out of both AR and sales
  3. Report the trend: Show DSO by month with the aging, so a jump points to the customers behind it

For FP&A, DSO drives the receivables line in the cash flow forecast: forecast AR equals forecast daily credit sales times target DSO. Track it with your other month-end close KPIs.

Common DSO mistakes

The most common DSO mistakes mix periods or include sales that never created a receivable.

  • Including cash sales: They lower DSO without any customer paying faster
  • Mixing periods: Quarterly sales with 365 days overstates DSO about fourfold: Harlow's would show 158.7 days instead of 40.0
  • Ignoring seasonality: A big final-month invoice raises ending AR; use countback or averages
  • Excluding disputed invoices: They're still receivables; report them, don't hide them
  • Reading DSO alone: Pair it with the aging report and best possible DSO