Short answer: Days sales outstanding (DSO) is the average number of days it takes a business to collect payment after a sale. You calculate it by dividing accounts receivable by total credit sales for a period, then multiplying by the number of days in that period. A lower DSO means you collect faster; a rising DSO means cash is getting stuck in unpaid invoices. There is no single good DSO, but most healthy B2B companies land somewhere between 30 and 45 days.
Last updated: July 2026.
Every business that sells on credit has a gap between making a sale and getting paid. Days sales outstanding is the number that measures that gap. It is one of the most watched figures in finance because it translates directly into cash: the longer your DSO, the more of your own money is tied up in invoices customers have not paid yet, and the less you have to run the business. It is also a quiet signal about customer experience, because a climbing DSO often means invoices are wrong, terms are unclear, or the follow-up is either too aggressive or missing entirely.
What does days sales outstanding measure?
DSO measures how long, on average, your receivables sit unpaid before turning into cash. If your DSO is 40, it means a typical invoice takes about 40 days from sale to collection. It is an efficiency and liquidity measure at the same time: efficiency because it reflects how well your billing and collections work, and liquidity because it tells you how quickly sales convert to usable cash. It is the headline metric for the accounts receivable process, and finance teams track it monthly as a trend, not just a point in time.
How do you calculate days sales outstanding?
The days sales outstanding formula is:
DSO = (Accounts Receivable / Total Credit Sales) x Number of Days
Accounts receivable is the total owed to you at the end of the period. Total credit sales is what you sold on credit during the period (cash sales are excluded, because they were never a receivable). Number of days is the length of the period you are measuring, usually 30, 90, or 365.
Here is a worked example. Say at the end of the quarter you have 180,000 dollars in accounts receivable, and you made 600,000 dollars in credit sales over that 90-day quarter:
| Input | Value |
|---|---|
| Accounts receivable | 180,000 dollars |
| Total credit sales (quarter) | 600,000 dollars |
| Days in period | 90 |
| DSO calculation | (180,000 / 600,000) x 90 |
| DSO result | 27 days |
So on average it takes this business 27 days to collect. If the terms are net 30, that is excellent: customers are paying at or slightly ahead of the due date. Use the same period consistently. Mixing a month of receivables with a year of sales produces a meaningless number, and that mismatch is the most common DSO calculation mistake.
DSO calculation over a month, a quarter, and a year
The same business collecting at the same speed produces the same DSO whichever period length you use, as long as the receivables and the sales come from that same period. This is the check that catches a mismatched calculation: run it twice at different frequencies and see whether the answers agree.
| Period | Receivables | Credit sales in period | Days | DSO |
|---|---|---|---|---|
| Month | 180,000 dollars | 200,000 dollars | 30 | 27 days |
| Quarter | 180,000 dollars | 600,000 dollars | 90 | 27 days |
| Year | 180,000 dollars | 2,400,000 dollars | 365 | 27 days |
If your monthly and annual figures diverge sharply, that is not an error, it is information: it means your sales are uneven, and the simple formula is being distorted by whichever months happen to sit inside the window. That is exactly the case the countback method was designed for.
The countback method: a more accurate DSO calculation
The countback method calculates DSO by working backward through your actual sales, month by month, until you have accounted for the full receivables balance. Instead of assuming sales were even across the period, it matches the balance you are holding against the specific months that produced it. Finance teams with seasonal or lumpy revenue generally prefer it, because the simple formula flatters you in a slow month and punishes you after a strong one.
The mechanics are straightforward. Start with your current receivables balance. Subtract the most recent month's credit sales; if the balance is still positive, that whole month is included, so count its days. Keep stepping back a month at a time. When a month's sales exceed the balance that remains, take that remaining balance as a fraction of that month's sales and multiply by the days in the month. Add the day counts together and you have your DSO.
| Step | Sales in month | Balance remaining | Days counted |
|---|---|---|---|
| Starting receivables | 180,000 dollars | ||
| Most recent month | 140,000 dollars | 40,000 dollars | 31 (full month) |
| Month before | 160,000 dollars | 0 dollars | (40,000 / 160,000) x 30 = 7.5 |
| Countback DSO | 38.5 days |
Use the simple formula for a fast monthly read and the countback method when you are reporting to a board, raising against receivables, or your revenue swings by more than about 30 percent between months. Whichever you choose, keep using the same one, because a method change mid-year looks like a performance change and it is not.
Best possible DSO formula
Best possible DSO shows the fastest you could collect if every customer paid exactly on time and nothing was overdue. The formula uses only your current receivables, meaning the portion not yet past due:
Best possible DSO = (Current Accounts Receivable / Total Credit Sales) x Number of Days
The gap between your actual DSO and your best possible DSO is the part caused by late payment, as opposed to the part caused simply by offering terms at all. If your actual DSO is 45 and your best possible is 28, roughly 17 days are recoverable through collections work. If the two are close, your collections process is fine and the lever you actually have is your terms, not your follow-up. That distinction saves teams from chasing customers who are already paying on time.
What is DSO in accounting and finance?
In accounting, DSO is an efficiency ratio that measures how quickly a company converts credit sales into cash. It sits alongside days inventory outstanding and days payable outstanding as the three components of the cash conversion cycle, and it is derived from two figures you already report: accounts receivable from the balance sheet and credit sales from the income statement. It is not itself a line item on any statement, which is why two companies can compute it slightly differently.
That last point matters when you compare yourself to anyone else. Public filings rarely disclose credit sales separately from total revenue, so analysts usually substitute total revenue, which understates DSO for any business with meaningful cash sales. Some teams use period-end receivables, others use an average of opening and closing balances, which smooths out a big December invoice run. Neither is wrong; mixing them across periods is. Write down which convention you use and stay with it.
DSO also interacts with how you recognize revenue. A subscription billed annually in advance produces a receivables spike and a temporarily ugly DSO in the month it is invoiced, even though that is the healthiest possible billing arrangement. Read the number in the context of your invoicing process rather than as a standalone verdict.
Other names for the same metric
DSO shows up under several names, and they refer to the same calculation. If you have been handed a spreadsheet using different wording, you are almost certainly looking at this formula.
| Name you may see | What it means |
|---|---|
| Days sales outstanding (DSO) | The standard term |
| Days receivable outstanding | Identical calculation, different wording |
| Accounts receivable days | Identical, common in UK and European reporting |
| Days sales in receivables | Identical, common in accounting textbooks |
| Average collection period | Identical in practice, though sometimes computed from average rather than closing receivables |
One genuinely different metric that gets confused with it: days sales in cash, which measures how long your cash on hand would cover operating expenses. It answers a runway question, not a collections question, and the two move independently.
What is a good DSO?
A good DSO is one that is close to your payment terms and stable or falling over time. If you sell on net 30, a DSO in the low 30s means the process is working; a DSO of 55 means invoices are routinely paid three to four weeks late. As a rough rule, a DSO under 45 days is considered healthy for most B2B companies, and under your stated terms is excellent. But DSO varies widely by industry, so compare yourself to your sector and to your own trend, not to a universal target.
| Situation | What the DSO signals |
|---|---|
| DSO at or below your terms | Healthy: customers pay on time, collections work |
| DSO 10 to 15 days over terms | Watch: some slippage, worth tightening follow-up |
| DSO 20+ days over terms | Problem: cash is stuck, process is breaking somewhere |
| DSO rising month over month | Early warning: fix it before it hits cash flow |
One nuance worth knowing: the lowest possible DSO for your business is called best possible DSO, calculated using only your current (not yet overdue) receivables. Comparing your actual DSO to your best possible DSO shows how much of the gap is late payment versus just the normal time it takes customers to pay within terms.
What does a high DSO mean?
A high DSO means cash is trapped in unpaid invoices, and it usually points to one of a handful of causes. It can mean you are extending credit to customers who pay slowly, that your invoices are going out late or with errors, that your follow-up on overdue accounts is weak, or that you have loosened terms to close sales. A high DSO is rarely a single collections failure; it is more often the sum of small upstream problems. That is why the fix almost always starts before the invoice, not after it goes overdue.
Is a high or low DSO better?
A lower DSO is generally better, because it means you convert sales to cash faster and keep less money tied up in receivables. But an extremely low DSO is not always a good sign: if it is far below your industry norm, it can mean your credit terms are so tight that you are turning away creditworthy customers who would happily buy on normal terms. The goal is not the lowest possible number. It is a DSO that is close to your terms, stable, and achieved without making customers jump through hoops to pay you.
How to reduce days sales outstanding
Reducing DSO is mostly about removing friction and delay from the parts of the process you control. The highest-impact levers:
- Invoice immediately and accurately. Every day between delivery and invoice is a day added to DSO for free. Getting the amount, PO, and contact right on the first send removes the single most common payment delay. A tighter invoicing process is usually the fastest win.
- Make paying easy. Offer multiple payment methods and put a clear pay link on the invoice. Friction in payment is friction in collection.
- Send graduated reminders. A polite reminder before the due date and a structured follow-up sequence after it collects far more than a single angry notice. See the approach in dunning emails for failed and late payments.
- Set and enforce clear terms. Put the due date and terms on every invoice and in the contract, so there is nothing to negotiate at payment time.
- Apply payments the day they arrive. Fast cash application keeps your aging report honest and stops you from chasing customers who already paid.
- Consider early-payment incentives. A small discount for paying within 10 days can meaningfully pull cash forward, if the math works for your margins.
Why DSO belongs on your dashboard
DSO is one of the few finance numbers that is both a cash-flow metric and a customer-experience metric at once. When it climbs, it usually means something in the billing experience broke: a wrong invoice, an unclear term, a missing reminder, or a payment that was hard to make. Watching DSO as a monthly trend, alongside your aging report, the accounts receivable turnover ratio that expresses the same collection speed as an annual frequency, and the broader set of customer experience operations metrics, turns receivables from a month-end scramble into an early-warning system. The businesses that collect fastest are rarely the most aggressive collectors. They are the ones that made getting paid effortless.