Days Sales Outstanding: Formula, Calculation, Example

Jul 22, 2026

Try it now, capture a real invoice

Your file is processed for the demo only and never stored.

Days sales outstanding (DSO) is the average number of days it takes to collect cash after a sale is made on credit. The formula is accounts receivable divided by total credit sales, multiplied by the number of days in the period. A DSO of 45 means that, on average, money sits in receivables for 45 days between invoicing a customer and the cash arriving.

Finance teams watch DSO because it converts a balance sheet number into something operational. Receivables of $2.4 million tells you very little on its own. Forty-eight days of sales tied up in receivables tells you exactly how long your customers are financing themselves with your cash, and whether that number is getting worse.

Days sales outstanding formula

The standard calculation is:

MetricFormulaWhat it tells you
Days sales outstanding(Accounts receivable / Credit sales) x Days in periodAverage days from sale to cash collected
DSO using average AR(Average AR / Credit sales) x Days in periodSmooths out a lumpy period-end receivables balance
Accounts receivable turnoverCredit sales / Average accounts receivableHow many times AR is collected and replaced per year
DSO from turnover365 / AR turnover ratioThe same answer, derived from the turnover ratio

Two details decide whether your number is meaningful. Use credit sales, not total revenue: including cash sales that were never in receivables understates DSO and flatters the result. And use average receivables when your period-end balance is unrepresentative, which it usually is if you invoice heavily in the last week of the quarter.

How to calculate days sales outstanding

Work through a full quarter. A distribution business reports the following:

InputAmount
Credit sales for the quarter$4,500,000
Accounts receivable at start of quarter$2,100,000
Accounts receivable at end of quarter$2,500,000
Days in the period91

Average receivables are ($2,100,000 + $2,500,000) / 2, or $2,300,000. Divide that by credit sales of $4,500,000 to get 0.5111, then multiply by 91 days. DSO is 46.5 days.

Now interpret it. If this company sells on net 30 terms, a DSO of 46.5 means the average invoice is paid roughly 16 days late. That gap, sometimes called days delinquent sales outstanding, is more actionable than DSO on its own, because it separates the terms you granted from the behavior you are tolerating. Sixteen days of late payment on $4.5 million of quarterly sales is roughly $790,000 of cash sitting in someone else's bank account.

What is a good days sales outstanding?

A good DSO is close to your stated payment terms, usually within 10 to 15 days of them. If you sell on net 30, a DSO in the high 30s is healthy and anything above 45 signals a collections problem. There is no universal target, because terms and industry norms differ widely.

Comparing your DSO to a published industry average is less useful than people assume. Construction runs high because of retainage and progress billing. Retail runs low because most sales settle immediately. Professional services sit somewhere in between and vary with client size. The comparison that actually matters is your DSO against your own terms, and your DSO this quarter against your DSO last quarter.

Days sales outstanding vs accounts receivable turnover

They measure the same thing in different units. AR turnover counts how many times you collect your receivables balance in a year. DSO converts that into days. A turnover of 8 becomes a DSO of about 46 days, because 365 divided by 8 is 45.6.

Most operators prefer DSO because days are easier to act on. Telling a collections team that turnover fell from 8.2 to 7.6 rarely changes behavior. Telling them the average invoice now takes four days longer to collect than it did last quarter does.

How to reduce days sales outstanding

Four levers do most of the work, roughly in order of how quickly they pay off.

Invoice faster and accurately. A meaningful share of late payment is caused by invoices that went out late, went to the wrong contact, or were disputed over a detail. The clock starts when the customer receives a correct invoice, not when you did the work.

Chase before the due date, not after. A short reminder a week before terms expire moves more cash than three escalating emails afterward. Most late payment is administrative, not financial distress.

Set credit terms deliberately. If a large customer insists on net 60 and you cannot say no, price that in. Do not grant net 60 by accident because nobody set a policy.

Make paying easy. ACH details on the invoice, a payment link, and a named contact for disputes remove friction. Teams that already automate the invoice follow-up sequence tend to see the biggest movement here, because consistency matters more than intensity.

How DSO fits with DPO and the cash conversion cycle

DSO is one of three components of the cash conversion cycle, alongside days inventory outstanding and days payable outstanding. The full formula is DSO plus DIO minus DPO. Collecting faster shortens the cycle. Holding less inventory shortens it. Paying suppliers later also shortens it, though that lever has limits and consequences.

This is where the two sides of working capital meet. A finance team that pushes DSO down while letting DPO drift down at the same time has not improved anything: it collects faster and pays faster, and net cash position is unchanged. The point of measuring both is to move them in opposite directions deliberately. Our guide to the cash conversion cycle works through the combined math, and working capital management covers the broader picture.

Why does days sales outstanding increase?

DSO rises for three reasons, and they need different responses. Sales mix shifted toward customers on longer terms, which is a pricing and credit policy issue. Collections effort dropped, often because a person left and nobody picked up the follow-up, which is a process issue. Or a small number of large invoices are genuinely disputed or at risk, which is a credit issue.

Look at the aging bucket detail before concluding anything. A DSO that rose from 42 to 51 because one $600,000 invoice is stuck in a dispute is a completely different problem from one that rose because every customer is now paying five days later. The headline number does not distinguish between them.

Does DSO include cash sales?

No. DSO should be calculated on credit sales only. Cash sales never enter accounts receivable, so including them in the denominator inflates the sales figure without changing the receivables figure, which pushes DSO down artificially. If your accounting system does not split credit from cash sales cleanly, calculate it from the receivables side and be consistent period to period so the trend stays comparable.

Track it monthly, not annually

DSO is a trend metric. A single quarterly figure tells you almost nothing without the three quarters behind it. Calculate it monthly, chart it against your stated terms, and split it by customer segment if you sell into materially different markets.

The same discipline applies on the payables side. Knowing your DPO, your accounts payable turnover, and your cost per invoice gives you the other half of the working capital picture, and automating the payables side with accounts payable software is what makes those numbers reliable enough to manage against.

Stop keying invoices by hand

AutoPayables captures vendor, amounts and dates from any invoice with AI, routes approvals, and syncs to QuickBooks, Xero, NetSuite or Sage Intacct.

See the product

From the same family of tools