Business calculators
Days sales outstanding calculator.
See how many days of credit sales are sitting uncollected in your receivables.
DSO = accounts receivable ÷ credit sales × days in period. Or use the countback method when sales swing from month to month.
Inputs
Result
Worked example
Receivables of $225,000 against $1,800,000 of annual credit sales: 225,000 ÷ 1,800,000 × 365 = 45.6 days. For countback with $300,000 receivable and monthly credit sales of $150,000 (30 days), $140,000 (31 days) and $130,000 (30 days): the newest month absorbs $150,000 (30 days), the next absorbs $140,000 (31 days), and the remaining $10,000 is 10,000 ÷ 130,000 × 30 = 2.3 days. DSO = 63.3 days.
Formula and sources
The BDC glossary defines the average collection period as the average number of days it takes a business to collect and convert its accounts receivable into cash (checked 2026-09-30). The FDIC Money Smart for Small Business page was also checked and does not state a DSO formula. The formula and the countback method on this page are therefore arithmetic on the definition, not quoted from either source. No benchmark is given, because neither source provides one.
Period alignment
Receivables and credit sales must describe the same business and the same period. Annual sales over a quarter-end balance, or total sales instead of credit sales, will mislead. If sales are growing quickly, simple DSO overstates collection time; countback is less affected by that.
The formula, variable by variable
DSO = accounts receivable ÷ credit sales × days in the period. Each piece has a specific meaning, and most wrong DSO figures come from mixing them up.
- Accounts receivable is money customers owe you for goods or services already delivered. Use the balance at the end of the period, or the average of the opening and closing balances if the balance swings a lot. The BDC glossary describes accounts receivable as the money a company is owed by customers for products and services provided.
- Credit sales are sales made on invoice terms. Cash and card sales that were paid at the till never sat in receivables, so leaving them in the denominator makes collection look faster than it is.
- Days in the period must match the sales figure. Use 365 with a year of sales, 90 with a quarter and 30 with a month.
Two more worked examples
Quarterly. A firm has $90,000 outstanding at quarter end and invoiced $270,000 on credit during the quarter. DSO = 90,000 ÷ 270,000 × 90 = 30.0 days. The same business measured with a year of sales ($1,080,000) and 365 days gives 90,000 ÷ 1,080,000 × 365 = 30.4 days, a close but not identical answer because the annual figure averages away any seasonal swing.
Comparing with your terms. If you invoice on net 30 terms and your DSO is 45.6 days (the calculator’s default example), customers are paying about 15.6 days later than the terms allow on average. That gap, not the DSO itself, is what to chase. If your terms are net 45, the same DSO means customers are paying on time.
The mismatch trap. Pairing $225,000 of receivables with $1,800,000 of annual sales but a 30-day period returns 3.75 days, which looks excellent and is meaningless. The calculator cannot know which period your sales figure covers, so check this first when a result looks too good or too bad.
Simple DSO versus countback
Simple DSO assumes sales were spread evenly across the period. When they were not, for example a retailer with a heavy fourth quarter, the result drifts. Countback works backward from the newest month: the latest month’s sales are matched against receivables first, then the month before, until the receivable balance is used up, and a partial last month is counted as a fraction of its days. It answers the question “which invoices are probably still unpaid?” more directly. Use simple DSO for a quick trend line, and countback when sales are uneven, growing fast or seasonal.
Common mistakes
- Using total revenue. Include only sales on credit terms.
- Using a balance from a different date. A mid-month balance against a full month of sales understates DSO.
- Reading DSO as a verdict. One large overdue invoice can lift DSO by weeks. Look at the aging of individual invoices before deciding that collection is broken.
- Ignoring growth. If sales are rising quickly, receivables include invoices from the newest, biggest months, so simple DSO overstates collection time.
- Comparing across industries. Terms and billing cycles differ, so compare against your own history and your own terms, not a generic number. This page gives no benchmark for that reason.
How DSO connects to cash flow
DSO is one leg of the cash conversion cycle, which adds days of inventory held and subtracts days you take to pay suppliers (days payable outstanding, or DPO). Shortening DSO by five days releases roughly five days of sales as cash without selling anything extra. See the cash conversion cycle calculator, the inventory turnover calculator and the cash flow calculator for the other pieces.
This tool is arithmetic on figures you provide. It does not know your customers, your contracts or your accounting policies, and it is not accounting advice.
FAQ
What is days sales outstanding?
The average number of days to collect receivables, here receivables ÷ credit sales × days in period.
Should I use total sales or credit sales?
Credit sales. Cash sales never enter receivables, so including them makes DSO look lower than it is.
When is countback better?
When sales are uneven or seasonal, because it matches receivables against the most recent sales instead of a period average.
What is a good DSO?
There is no single good number. Compare DSO with your own payment terms and your own history: if you invoice on net 30 and DSO is 45, customers are paying about two weeks late on average. This page does not give an industry benchmark because none of the sources checked supplies one.
Is DSO the same as the average collection period?
They measure the same idea. BDC defines the average collection period as the average number of days it takes a business to collect and convert its accounts receivable into cash. DSO is the name usually used when the figure is built from receivables and credit sales over a stated period.
Should I use ending or average receivables?
Ending receivables are the simplest and match the "as of" date. If the balance swings sharply during the period, the average of the opening and closing balance gives a fairer picture. Whichever you pick, use it consistently so trends are comparable.
What is the difference between DSO and DPO?
DSO measures how long customers take to pay you. DPO, days payable outstanding, measures how long you take to pay your suppliers. Together with days of inventory they make up the cash conversion cycle: DIO + DSO minus DPO.
How can I reduce DSO?
Invoice promptly, state terms clearly on every invoice, follow up before and right after the due date, and consider deposits or early-payment discounts for slow payers. Check the effect by recalculating DSO each month on the same basis.
Sources
Retrieved October 2026. Where a source blocks automated checks this is noted; figures that no source supports are labelled as your own inputs.
- BDC glossary: average collection period and accounts receivable - definitions of average collection period and accounts receivable; the DSO formula itself is arithmetic on those definitions
- FDIC Money Smart for Small Business - checked; it does not state a DSO formula or benchmark