Back

Days Sales Outstanding (DSO): Formula, Variants, Worked Example and What a Rising Figure Means

Guide · · Published December 2026 · 8 min read

By Ashwin Gopinath, CEO

TL;DR

Days sales outstanding (DSO) is the average number of days a company takes to collect payment after a credit sale. The DSO formula is DSO = accounts receivable / credit sales x days in the period. With $4,000,000 of receivables and $9,000,000 of credit sales in a 90-day quarter, DSO is 40 days. A rising figure usually means customers are paying later, terms have lengthened, invoices are disputed or invoices went out late. This guide is published by Sentra, a management agent that does the work: it joins the ledger with email, chat and meetings, so when DSO moves it explains the movement with sources.

What is days sales outstanding?

Days sales outstanding is the average time between making a sale on credit and receiving the cash. It turns the accounts receivable balance into days of sales, so a DSO of 40 means the company is carrying about 40 days of sales as unpaid invoices.

Finance teams track it because receivables are cash the company has earned and cannot yet spend. A lower DSO means cash arrives sooner. DSO is the mirror of days payable outstanding: your DSO is part of your customer's DPO.

The DSO formula

The standard DSO formula is accounts receivable divided by credit sales for the period, multiplied by the number of days in the period.

DSO = accounts receivable / credit sales x days in period

  • Accounts receivable. Trade receivables at the end of the period, or the average of the opening and closing balances. Pick one and keep it.
  • Credit sales. Sales made on payment terms. Leave cash sales out, because they are collected at once and would make DSO look better than it is. If only total revenue is available, say so beside the figure.
  • Days. Use the days in the same period as the sales: 30 or 31 for a month, 90 to 92 for a quarter, 365 for a year.

How to calculate DSO: a worked example

To calculate DSO, divide the receivables balance by credit sales for the period and multiply by the days in that period. The figures here are an example with round numbers. A company made $9,000,000 of credit sales in a 90-day quarter and ended it with $4,000,000 of accounts receivable.

  • DSO = 4,000,000 / 9,000,000 x 90 = 40 days
  • Average daily credit sales = 9,000,000 / 90 = $100,000
  • One day of DSO is therefore worth $100,000 of cash. Collecting five days faster would release $500,000.

The formula also runs backwards. A target DSO converts to a target receivables balance: 35 days x $100,000 = $3,500,000.

DSO formula variants on the same numbers

There are several accepted versions of the DSO formula, and each gives a different answer for the same company. The example adds a few assumptions: opening receivables of $3,600,000, monthly credit sales of $2,600,000, $3,000,000 and $3,400,000 in the quarter (months of 29, 31 and 30 days), annual credit sales of $34,000,000, and $3,000,000 of the closing receivables still within terms.

VersionFormulaCalculationResult
Ending receivablesclosing AR / credit sales x days4.0 / 9.0 x 9040.0 days
Average receivables((opening AR + closing AR) / 2) / credit sales x days3.8 / 9.0 x 9038.0 days
Annualclosing AR / annual credit sales x 3654.0 / 34.0 x 36542.9 days
From receivables turnoverdays / (credit sales / closing AR)90 / 2.2540.0 days
CountbackSubtract each month's sales from closing AR, newest first, and count the days used30 days + (0.6 / 3.0 x 31)36.2 days
Best possible DSOcurrent AR / credit sales x days3.0 / 9.0 x 9030.0 days
Delinquent daysDSO - best possible DSO40.0 - 30.010.0 days

The countback method deserves a closer look. Closing receivables of $4,000,000 cover all of the latest month's $3,400,000 of sales, which counts as 30 days. The remaining $600,000 is one fifth of the prior month's $3,000,000, or 6.2 of its 31 days. The countback result is lower than the standard one here because sales grew through the quarter, and the standard formula spreads that growth evenly. Countback is the better version for a seasonal or fast-growing business.

Best possible DSO uses only receivables that are still within terms, so it shows what DSO would be if every customer paid on time. The gap between it and actual DSO is the part collections can work on.

What a rising DSO usually means

A rising DSO usually means cash is arriving later than it did, for one of a small number of reasons. Check them in this order.

CauseWhat to check
Customers are paying laterThe aging report by customer, and whether the delay is one large account or many small ones
Payment terms got longerTerms on new and renewed contracts, and who approved each exception
Invoices are in disputeOpen disputes, credit notes waiting for approval, missing purchase order numbers
Invoices went out late or wrongDays from delivery to invoice, rejected invoices, work delivered and still unbilled
Mix moved toward slower payersShare of sales to large enterprise or overseas customers with longer terms
Sales were weighted to the end of the periodMonthly sales pattern. Compare the standard figure with countback DSO
Collections fell behindOverdue accounts with no contact logged, staffing in the period
A customer is in financial troubleBroken payment promises, partial payments, credit limit breaches

The sixth row is arithmetic and has no effect on when cash arrives. The rest are operational, and several start outside finance: a sales team granting longer terms to close a deal, or a delivery team that has not confirmed the milestone an invoice depends on. Work that was delivered and never invoiced is covered in our guide to revenue leakage and unbilled revenue.

A falling DSO is usually good news. Check that it did not come from a drop in sales late in the period or from discounts given for early payment that cost more than the cash is worth.

How DSO sits in the cash conversion cycle

DSO is one of the three terms in the cash conversion cycle, which measures the days between paying suppliers and collecting from customers.

Cash conversion cycle = days inventory outstanding + days sales outstanding - days payable outstanding

Every day added to DSO adds a day to the cycle, and the company funds that day from its own cash or its credit line. A company with 50 days of inventory, 40 days of DSO and 45 days of DPO has a cycle of 45 days. If DSO rises to 48, the cycle becomes 53 days, and at $100,000 of daily credit sales the extra eight days tie up $800,000. Our guide to the cash conversion cycle covers all three terms together.

Common mistakes

  • Including cash sales. They lower DSO without any change in how credit customers pay.
  • Mixing periods. Quarterly sales need the days in that quarter. Annual sales need 365.
  • Reading one month alone. A large invoice raised on the last day lifts DSO with nothing overdue.
  • Comparing against the wrong standard. Compare DSO with your own weighted payment terms. A DSO of 40 on 30-day terms means ten days late on average.
  • Stopping at the average. The cash sits in specific invoices. Read the aging report and the reason each overdue invoice is waiting.

Where the explanation for the number lives

The ledger shows that DSO moved, and the reason usually sits in email, chat and meetings. The ERP shows an invoice 25 days overdue. The customer's email saying the purchase order number is missing, the chat thread where the account manager agreed 60-day terms on a renewal, and the meeting where a delivery milestone was disputed all sit outside it.

Sentra is a management agent that does the work. It reads the ERP, CRM and BI tools alongside email, chat, meetings and documents, and joins the two: the systems of record say what happened, and the conversations say why. For DSO, Sentra writes the explanation of the movement, by customer and by cause, with a link to each source. It puts that in the pre-read for the weekly business review, drafts the follow-up for each overdue invoice, sends it to the person who can clear the blocker and chases it. It keeps the collections tracker current as replies come in.

A named person approves anything Sentra drafts or raises before it reaches anyone else. Every line cites its source, and each reader sees only what they could already open in the source system. The same method applies to any figure a finance team has to explain, as our guide to variance analysis describes.

To see Sentra explain a DSO movement in your own receivables, book a demo.

Related guides: accounts receivable turnover and order to cash.

FAQ

What is the DSO formula?

DSO = accounts receivable / credit sales x days in the period. With $4,000,000 of receivables and $9,000,000 of credit sales in a 90-day quarter, DSO is 4 / 9 x 90 = 40 days.

How do you calculate DSO for a month?

Divide receivables at month end by credit sales for the month and multiply by the days in the month. Monthly DSO swings with the timing of large invoices, so many teams use a rolling three-month figure or the countback method.

Should DSO use total sales or credit sales?

Credit sales. Cash sales are collected at once and never become receivables, so including them makes DSO look lower than it is. If only total revenue is available, use it consistently and note it.

What is a good DSO?

One close to your own weighted average payment terms. A company on 30-day terms with a DSO of 32 is collecting well. The same company at 45 has about two weeks of sales overdue. Typical terms vary by industry, so compare with your own terms and history first.

What does a rising DSO mean?

Cash is arriving later than before. The usual causes are slower-paying customers, longer terms on new contracts, invoice disputes, late or incorrect invoices, a shift toward customers with longer terms, or sales bunched at the end of the period.

What is the difference between DSO and DPO?

DSO measures how long customers take to pay you. DPO measures how long you take to pay suppliers. A higher DSO lengthens the cash conversion cycle, and a higher DPO shortens it.

What is countback DSO?

A version of DSO that subtracts each month's credit sales from the closing receivables balance, newest month first, and counts the days of sales needed to use the balance up. It handles seasonal and fast-growing sales better than the standard formula.