Finance tools
Days sales outstanding (DSO) calculator
Calculate days sales outstanding (DSO) — the average collection period for credit sales, sometimes called AR days or accounts receivable days. Enter accounts receivable and net credit sales for the same month, quarter, or year; the tool applies the standard DSO formula, shows receivables turnover and daily credit sales, and updates as you type. Export CSV or PDF anytime — no sign-up.
What is days sales outstanding (DSO)?
Days sales outstanding (DSO) measures how long it takes to turn credit sales into cash. Finance teams also call it days receivables outstanding, AR days, or the average collection period. The question it answers: how many days of sales are still sitting in accounts receivable?
DSO is a core working-capital metric for month-end, quarter-end, and year-end closes. A lower number usually means faster collections — but “good” depends on your payment terms, customer mix, and seasonality, not a single benchmark.
Example: DSO of 30 means you are carrying about 30 days of credit sales in receivables on average for the period you measured.
Why days sales outstanding matters
DSO connects revenue on the income statement to cash still in receivables. When DSO drifts up, you can look profitable while waiting longer for cash — which hits payroll, inventory purchases, and growth plans. Healthy margins do not automatically mean fast collections; when you review performance, pair DSO with margin using our profit margin calculator.
Finance tracks DSO with receivables turnover and aging reports; operations uses it to catch billing delays or slow-paying segments. Lenders and treasury often view DSO next to liquidity measures such as the current ratio. With inventory and payables days, DSO completes the cash conversion cycle picture even when you calculate each piece on its own.
Days sales outstanding formula
Formula
Average AR = (Beginning AR + Ending AR) ÷ 2
DSO = (Average AR ÷ Net credit sales) × Days in period
DSO = Days in period ÷ Receivables turnover
In short
DSO = (average accounts receivable ÷ net credit sales) × days in the period. It is the number of days of credit sales still uncollected in AR. Lower DSO usually means faster collections — judge it against your invoice terms and your own history, not a generic industry average.
How to use this DSO calculator
Gather AR and credit sales
Pull accounts receivable from the balance sheet and net credit sales from the income statement for the same period. Exclude cash sales from the denominator when your GL splits them.
Enter beginning and ending AR
Use beginning and ending balances, or switch to average receivables mode if finance already computed the average. Try a preset to see realistic B2B or quarterly numbers.
Set days in the period
Use 365 for a fiscal year, 90 for a standard quarter, or match actual calendar days for a month — keep sales and AR aligned to that window.
Read DSO and export
Check days sales outstanding, receivables turnover, daily credit sales, and the short interpretation label on the results panel. If beginning and ending AR are far apart, read the seasonality note before you change terms or policy. Download CSV or PDF for your month-end or quarter-end file.
Two ways to enter accounts receivable
Use beginning and ending AR when you have balance-sheet points for the period, or average receivables when finance already computed the average. The DSO formula is the same either way.
- Beginning & ending — month-end, quarter-end, or year-end closes when you export the balance sheet twice for the same window as credit sales.
- Average receivables — rolling 12-month packs, ERP averages, or when a one-off write-off on a single balance-sheet date would distort the two-point average.
Beginning & ending AR
Enter beginning accounts receivable and ending accounts receivable for the same window as net credit sales. The tool averages them: (Beginning + Ending) ÷ 2.
Best for month-end, quarter-end, and annual closes when you export the balance sheet twice.
Average receivables
Enter average accounts receivable directly when your ERP or controller already rolled up the period average.
Useful for rolling 12-month packs or when begin/end AR would be misleading (large one-time write-offs on the balance-sheet date).
DSO vs receivables turnover
Receivables turnover is net credit sales ÷ average AR — how many times receivables recycle in the period. DSO expresses the same idea in days: DSO ≈ days in period ÷ receivables turnover (and turnover ≈ days in period ÷ DSO).
Example: turnover of 18× over a 365-day year is about 20.3 days of sales outstanding — near the Annual manufacturer (~20 days) preset. Lenders often want turnover; operators think in days. This calculator shows both, plus daily credit sales (net credit sales ÷ days in the period) when you bridge to cash forecasts.
How to calculate DSO in Excel
Copy this layout into Excel or Google Sheets, then point each cell at your trial balance or ERP export. The turnover rows are an optional check that your DSO math matches.
| Cell | Input / formula |
|---|---|
| A1 | Beginning accounts receivable |
| A2 | Ending accounts receivable |
| A3 | =(A1+A2)/2 average AR |
| B1 | Net credit sales for the period |
| B2 | Days in period (e.g. 365) |
| B3 | =(A3/B1)*B2 DSO in days |
| B4 | =B1/A3 receivables turnover (optional check) |
| B5 | =B2/B4 DSO from turnover (should match B3) |
DSO vs DIO vs DPO
Days inventory outstanding (DIO) is how long inventory sits before you sell it — try our DIO calculator for that leg. Days payable outstanding (DPO) is how long you take to pay suppliers. DSO is the receivables leg: how long you wait for customer cash after a credit sale.
Together they form the cash conversion cycle: CCC = DIO + DSO − DPO. A shorter cycle usually frees cash, but each metric has its own levers (buying, billing, collections, vendor terms). This calculator covers DSO only; pull DIO and payables days from your other systems when you need a full CCC.
DSO calculator (this page)
Days sales outstanding from average AR and net credit sales for one period. Outputs DSO in days, receivables turnover, and daily credit sales — with CSV/PDF export.
Use for collections speed, lender KPIs, and working-capital reviews.
Days inventory outstanding (DIO)
Inventory days from average inventory and COGS for the same period — the inventory leg of the cash conversion cycle.
Pair with this DSO tool when you explain CCC: DIO + DSO − DPO. Start with our DIO calculator.
Credit sales vs total revenue
Use credit sales (invoiced sales on account) in the denominator — not cash at the register and not customer deposits before you recognize revenue. Net out returns and allowances so the sales line reflects what you expect to collect.
If nearly everything is invoiced, net revenue can be a practical stand-in; say so in your close notes so reviewers know which GL line you used. In mixed cash-and-credit businesses, total revenue makes DSO look faster than reality because cash sales inflate the denominator while AR does not.
If you also track inventory, pair DSO with COGS and DIO using our cost of goods sold calculator and DIO calculator.
What is a good days sales outstanding?
There is no single “good” DSO for every company. Many B2B sellers on net-30 terms land near 30–45 days when collections run well; net-60 contracts, government payers, or healthcare billing can run higher without a crisis. Third-party industry medians are useful context — not a scorecard.
Watch your trend, your contract terms, and customers that look like yours. DSO well above your terms often points to billing delays, disputes, or follow-up gaps, not just “how the industry is.”
Results include a short fast / moderate / slow label versus the period you chose (for example, 25 days means something different on a 90-day quarter than on a 30-day month). Use it as a sanity check, then confirm with aging buckets and invoice due dates.
Monthly or quarterly DSO formula
Monthly DSO: use that month’s net credit sales and average AR (or beginning/ending AR for the month), and set days in period to actual calendar days (28–31) or a consistent 30-day convention — pick one method and keep it month over month.
Quarterly DSO: use credit sales and average AR for the same fiscal quarter and set days to 90 (or 91/92 for calendar quarters). Try the Quarterly snapshot (~23 days) preset for a worked layout.
The formula does not change; the usual mistake is mixing windows — e.g. quarterly sales with a full-year AR balance, or month-end AR with partial-month sales. Track month-over-month DSO so one slow month does not disappear inside an annual average.
Rolling 12-month DSO
For board or lender reporting, teams often compute rolling DSO with trailing-twelve-month credit sales and average AR over the same window: (Average AR over 12 months ÷ Credit sales over 12 months) × 365. Enter those totals here with 365 days — this calculator uses the standard average-AR method, not a month-by-month countback model.
Use rolling DSO when a single quarter is noisy (seasonal revenue, large deal timing) but you still need one KPI for covenants or investor updates. Pair it with quarterly point-in-time DSO so you see both the smoothed trend and the latest close.
For annual manufacturer or B2B examples on a fiscal year, use the Annual manufacturer or Annual B2B presets — they use full-year sales with beginning/ending AR, which is the same math with a 365-day period.
How to improve days sales outstanding
Start with an aging report by customer — a high company-wide DSO often hides a few slow accounts. Then work through operational levers finance and AR can own together:
- Invoice timing — bill on delivery or milestone, not only month-end batch runs.
- Clear terms — net days, due date, and remit-to on every invoice; match contracts in your billing system.
- Payment friction — ACH, card, or portal links where your margin allows; fewer mailed checks.
- Credit policy — limits and reviews for new accounts; pause shipment when accounts pass overdue thresholds.
- Disputes & credit memos — resolve quickly so AR is not inflated by contested balances.
- Cadence — reminders before due date, escalation paths, and weekly review of top overdue balances.
Track DSO monthly (or quarterly for low volume) so seasonal spikes do not look like a structural trend. If DSO improves but cash does not, check whether you are factoring receivables or accelerating collections with discounts — both change the story.
Limitations and data quality
By default this calculator uses average accounts receivable from beginning and ending balances (or a direct average you enter). Other methods — simple DSO, monthly snapshots, rolling 12-month, and countback — behave differently; see the notes below before you compare to AR software or a lender template.
Simple DSO vs average-AR DSO
A simple DSO uses ending AR only: (Ending AR ÷ Credit sales) × Days — faster for a snapshot but noisier when AR swings month to month. This tool defaults to average AR for quarterly and annual closes.
Monthly snapshot caveat
Some teams use ending AR ÷ that month’s credit sales × days in month without averaging. That is valid for a quick dashboard tile — document which method you use so month-over-month trends stay comparable.
Rolling 12-month and countback
Rolling DSO uses trailing-twelve-month credit sales and average AR — enter those totals with 365 days here. Countback (month-by-month) and weighted blends are not in v1; AR software may show different figures until you align inputs.
Seasonal or lumpy AR balances
When beginning and ending AR differ sharply (seasonal billing, large write-off, or acquisition), the two-point average can misstate true collection speed. This calculator flags a large begin/end gap — review an aging report and consider rolling 12-month DSO before changing credit policy.
Mixed cash/credit revenue, contra-revenue, or AR factoring can distort the ratio until you normalize inputs.
Where to find AR and sales on financial statements
On the balance sheet, accounts receivable (trade receivables) is usually a current asset — often shown net of an allowance for doubtful accounts. Use the same net AR your GL uses for the close; do not mix gross receivables with net sales without adjusting for the allowance.
On the income statement, use net sales or revenue net of returns and discounts — ideally from a credit-sales subledger when cash and credit are mixed. Beginning AR is the opening balance for your period; ending AR is the close — both should come from the same reporting entity and currency.
Notes receivable, unbilled revenue, or related-party balances may sit in separate lines; only include amounts that represent trade credit sales you are measuring. Match AR and sales to the same fiscal period. See the SEC investor.gov financial statements overview for how AR and revenue fit the statements.
Worked example
Each row below matches a preset in the calculator — select the chip to load the inputs and compare your own numbers.
Annual manufacturer: average AR $275,000, net credit sales $5,000,000, 365 days → ($275,000 ÷ $5,000,000) × 365 = 20.08 days.
Annual B2B: average AR $432,500, sales $6,200,000, 365 days → DSO ≈ 25.46 days (in line with common net-30/net-45 B2B closes).
Quarterly snapshot: average AR $80,000, sales $320,000, 90 days → ($80,000 ÷ $320,000) × 90 = 22.50 days.
More free tools
Discover more calculators for time tracking, payroll, and HR.
Frequently asked questions about Finance tools
How do you calculate days sales outstanding?
DSO = (Average accounts receivable ÷ Net credit sales) × Days in the period. When you have two balance-sheet points, average AR is usually (Beginning AR + Ending AR) ÷ 2. The result is your days sales outstanding, AR days, or average collection period for that window — use the calculator above to run the math.
What is the DSO formula?
Days sales outstanding uses credit sales and receivables for the same period:
DSO = (Average AR ÷ Net credit sales) × Days in period
Same idea in one line: DSO = Days in period ÷ Receivables turnover, where turnover = net credit sales ÷ average AR.
Is DSO the same as AR days?
Yes, in most finance contexts. AR days, accounts receivable days, days receivables outstanding, and average collection period usually mean the same metric as days sales outstanding (DSO) when you use average AR and net credit sales for the period.
What is a good DSO ratio?
DSO is expressed in days, not as a ratio — but people often say “DSO ratio” when they mean this metric. A practical benchmark is near your invoice payment terms and your own prior periods, not a generic industry headline. DSO well above your terms often points to slow payers, disputes, or billing delays.
Is a high or low DSO better?
Lower DSO is usually better because you collect cash sooner — as long as collections are healthy. Artificially low DSO from refusing credit, harsh terms, or ignoring disputed balances is not a win. Compare to your payment terms and trend, not a single number from a blog post.
How do I calculate DSO in Excel?
Put beginning AR in A1, ending AR in A2, then average AR in A3: =(A1+A2)/2. Net credit sales in B1, days in period in B2, DSO in B3: =(A3/B1)*B2. Optional check: turnover in B4 =B1/A3, then B5 =B2/B4 should match B3. See the Excel table on this page for the full layout.
How do you calculate DSO for a quarter?
Use net credit sales and average AR for the same fiscal quarter. Set days in period to 90, or to 91/92 for a calendar quarter if that is your convention. Do not pair quarterly sales with a full-year AR balance — the period must match.
What is the monthly days sales outstanding formula?
Monthly DSO = (Average AR for the month ÷ Net credit sales for the month) × Days in month. Use the same calendar month for both inputs. Some dashboards use ending AR only (simple DSO); this calculator defaults to average AR so quarterly and annual closes stay comparable.
What is rolling 12-month DSO?
Rolling DSO = (Average AR over 12 months ÷ Credit sales over 12 months) × 365. It smooths seasonality better than one month. Enter trailing-twelve-month totals with 365 days in this calculator. Month-by-month countback DSO is not supported here — align inputs with your AR system before you compare.
How do you calculate accounts receivable from DSO?
Rearrange the formula: Average AR ≈ (DSO × Net credit sales) ÷ Days in period. Example: DSO 25, $6,200,000 annual credit sales, 365 days → average AR ≈ $424,658. Use this for targets or sanity checks — your GL receivables balance must still tie to the balance sheet.
How does DSO relate to receivables turnover?
Receivables turnover = net credit sales ÷ average AR (how many times AR cycles in the period). Higher turnover means lower DSO. Link them with DSO ≈ Days in period ÷ Turnover. This calculator shows turnover, DSO, and daily credit sales together.
Is DSO the same as receivables turnover?
No. Receivables turnover is a ratio (times per period). DSO is the same relationship in days. They move in opposite directions: faster turnover → fewer days outstanding.
Should I use total sales or credit sales?
Use net credit sales (invoiced sales on account) in the denominator. Total revenue only works when nearly everything is invoiced — say which GL line you used. In mixed cash-and-credit businesses, total revenue makes DSO look faster than reality because cash sales inflate the denominator while AR does not.
How can I improve days sales outstanding?
Start with an aging report by customer, then tighten billing timing, clarify terms on every invoice, and make payment easy (ACH, card, or portal). Review overdue accounts weekly. If beginning and ending AR swing widely, fix disputes and seasonality in the data before you change credit policy.
What is the difference between DSO and days inventory outstanding (DIO)?
DSO is how long you wait to collect after a credit sale. DIO is how long inventory sits before you sell it. Both feed the cash conversion cycle — use our days inventory outstanding calculator for the inventory leg.
What is the cash conversion cycle?
The cash conversion cycle (CCC) is DIO + DSO − DPO — inventory days plus collection days minus how long you take to pay suppliers. This page calculates DSO only; pull DIO and days payable outstanding from your other reports when you need a full CCC.
Is days sales outstanding the same as employee turnover?
No. Employee turnover is HR (how many people leave). Days sales outstanding is finance (how long receivables stay uncollected). English reuses the word “turnover” — check you have the receivables formula, not headcount.