How to Calculate DSO (and the 3 Numbers That Move It)
How to calculate DSO with a worked example, the countback and best possible methods, and the 3 numbers that move it: invoicing speed, terms and follow-up.

Sia Ghazvinian
Co-Founder & CEO

Table of contents
Share
Days sales outstanding is the number every finance leader is measured on and the one most teams calculate once a quarter and then argue about. It is the cleanest single read on how long your cash sits in someone else’s bank account after you have done the work. Calculating it is simple arithmetic. Moving it is where the real work, and the real money, lives.
This guide does both. First, the formula, a worked example, and the two better methods most articles never mention. Then the part most guides skip: the three inputs that actually change DSO, and the one that gives you the fastest win. For context, the Credit Research Foundation’s Q4 2025 survey put the broad median DSO at about 40.5 days (Credit Pulse 2026 benchmarks), 56% of small businesses are owed money from unpaid invoices at any given time (QuickBooks, 2025), and DSO worsened slightly in the latest survey of the 1,000 largest US public companies (The Hackett Group, 2025). If your number is drifting up, it is almost always one of three things.
DSO (days sales outstanding) is the average number of days it takes to collect payment after a credit sale. The formula is DSO = (Accounts Receivable / Total Credit Sales) x Number of Days in the period. The broad median sits around 40 days, and a healthy DSO stays close to your payment terms. Only three inputs move it: how fast you invoice, the terms you set, and how fast you follow up.
How Do You Calculate DSO?
DSO is your accounts receivable divided by your credit sales, multiplied by the days in the period. It tells you, on average, how many days of sales are sitting unpaid.
The formula
DSO = (Accounts Receivable / Total Credit Sales) x Number of Days in the Period
Use 365 days for a year, 90 for a quarter, or 30 for a month. Use credit sales, not total sales, because cash sales were never outstanding.
A worked example
Say your firm has $500,000 in accounts receivable at the end of the quarter and booked $2,000,000 in credit sales over that quarter (90 days).
DSO = ($500,000 / $2,000,000) x 90 = 0.25 x 90 = 22.5 days
That means, on average, it takes about 22 to 23 days to collect after a sale. If your standard terms are Net 30, that is healthy. If your terms are Net 15, you are running late and there is cash to free up.
Read it against your terms, not against zero
DSO is never going to be zero, and it should not be. The useful comparison is DSO versus your stated terms. A simple way to express it: divide DSO by your average terms. A ratio between 1.0 and 1.15 means you collect close to terms, and anything above 1.5 is a compounding cash problem (Credit Pulse, 2026). The same benchmark data flags two warning signs: DSO running more than 50% over terms, or more than 20% of receivables aging past 60 days.
Which DSO Method Should You Use?
The standard formula above is the right starting point, but it can mislead you when sales are uneven. Two other methods fix that. Most finance teams should report the standard DSO, and check it against countback DSO and best possible DSO whenever sales swing month to month.
Method | How it works | Use it when |
|---|---|---|
Standard DSO | A/R divided by credit sales, times the days in the period | Sales are fairly steady and you want one number to trend |
Countback DSO | Start from today’s A/R and subtract each prior month’s sales, newest first, counting the days until the balance is used up | Sales are seasonal or lumpy, like project billing or a big order at month-end |
Best possible DSO | The same formula using only current, not-yet-due A/R | You want to see how much of your DSO is terms and how much is late payment |
A countback example
Say your A/R is $500,000 today. Last month you billed $300,000 (30 days), and the month before $400,000 (31 days). Countback works newest first. The $500,000 swallows all of last month’s $300,000, which counts as 30 days. That leaves $200,000, which is half of the prior month’s $400,000, so it counts as about 15.5 of that month’s 31 days. Countback DSO is roughly 45.5 days.
The standard formula on the same two months gives ($500,000 / $700,000) x 61, or about 43.6 days. The gap is small here, but it grows fast when one big month sits next to a quiet one, which is exactly when a board or lender starts asking questions.
The gap that matters
Subtract best possible DSO from your actual DSO and you get the days caused purely by late payment. Terms are a policy choice. That late-payment gap is the part your follow-up process controls, and it is the part worth money.
What Are the Most Common DSO Calculation Mistakes?
The formula is simple, which is why small input errors slip through unnoticed. These five cause most bad DSO readings.
Using total sales instead of credit sales. Cash and card sales make DSO look better than it is.
Mismatching the period. Quarter-end A/R divided by annual sales, times 90, produces nonsense.
Ignoring seasonality. A strong December inflates A/R at year-end and makes DSO jump for reasons that have nothing to do with collections.
Leaving unapplied cash and credits in the balance. Payments sitting unapplied overstate A/R, so fix cash application before you trust the number.
Calculating once and never trending it. One reading tells you little. A monthly trend against the same method tells you whether your process is getting better.
What Is a Good DSO?
A good DSO sits close to your payment terms and holds steady, and the normal range depends heavily on your industry. There is no universal target. Credit Pulse’s 2026 compilation of Hackett Group and Credit Research Foundation data gives these typical averages:
Wholesale distribution runs about 38 days on Net 30.
SaaS and subscription businesses land around 37 days.
Professional services average about 43 days.
Manufacturing averages about 52 days, often on Net 45.
Construction runs about 72 days, because retainage and progress billing push timelines out.
Compare your number to your own sector and your own terms, not a generic target. A 60-day DSO is a problem for a SaaS firm and fairly normal for a contractor. For the full breakdown, see our DSO benchmarks by industry, and for how terms set the floor, read how Net 30, 60 and 90 terms change DSO.
The 3 Numbers That Actually Move DSO
Once you can calculate it, the question is what to change. Despite how complex collections can feel, only three inputs move DSO. Everything else is a symptom of one of these.
Number 1: How fast you invoice
The DSO clock starts when you invoice, not when you finish the work. If you deliver on the 1st and invoice at month-end on the 30th, you have added up to 30 days before the customer has done anything wrong. Invoicing the day the work is accepted is the most overlooked DSO lever there is, and it costs nothing.
Number 2: The payment terms you set
Your terms are a direct input to DSO. Net 60 will always produce a higher DSO than Net 30, by design. Tighten terms for new or higher-risk customers, offer longer ones selectively, and make sure the term you intend is the term actually written on the invoice. Terms quietly set the floor on your DSO before a single reminder goes out.
Number 3: How fast you follow up
This is the gap between when an invoice is due and when you actually chase it, and it is usually the biggest and cheapest to close. Most past-due balance is not disputed or distressed. It is simply un-chased. Reminders that start before the due date outperform post-due follow-up by 12 to 18 days on average (Credit Pulse, 2026). That is why an overdue ledger is usually a follow-up problem, not a collections problem.
How Do You Lower DSO Using These Three?
Attack them in order of cost, cheapest first. You will usually find the biggest win before you have spent a dollar. The Hackett Group puts the gap between top performers and the median company at 18 days of DSO, and the difference is process, not luck.
Fix invoicing speed first (free). Move from month-end batching to invoicing the moment a job or milestone is accepted. Add a real due date and a payment link to every invoice.
Tune terms next (policy). Confirm the term on every invoice matches what was agreed, shorten terms for new or risky accounts, and take deposits where the exposure warrants it.
Systematize follow-up last (process). Put every open invoice on a fixed reminder cadence instead of relying on someone remembering, and track it with the A/R KPIs worth tracking.
For the full seven-step plan, read how to lower DSO without hiring.
Where Automation Comes In
The first two levers are habits and policy, and you can fix them with discipline. The third, consistent follow-up on every invoice, is where teams break down, because it depends on a person having time to chase the long tail. That is what an AI accounts receivable agent is for.
An AI agent runs the reminder cadence on your whole ledger across email, text and phone, on each customer’s schedule, and logs every touch. It resends invoices, records promises to pay, and hands an account to your team the moment it needs judgment, like a dispute or a hardship conversation. Here is how an AI agent calls customers about overdue invoices, step by step. For a real example, read the OFS Group case study. If you want a broader plan, start with what to automate first in your A/R.
Curious what this sounds like in practice? Here’s a 98-second sample call.
Practical Takeaways
DSO = (Accounts Receivable / Total Credit Sales) x days in the period. Use credit sales and read the result against your terms, not against zero.
When sales are lumpy, check the standard number against countback DSO. Actual DSO minus best possible DSO is the late-payment gap you can close.
A good DSO sits close to your terms and holds steady. The normal range is industry-specific, with a broad median around 40 days.
Only three inputs move DSO: how fast you invoice, the terms you set, and how fast you follow up.
Attack them cheapest first: invoicing speed, then terms, then follow-up. Follow-up is usually where the fastest days hide.
Frequently Asked Questions
What is the DSO formula?
DSO = (Accounts Receivable / Total Credit Sales) x Number of Days in the Period. Use 365 for a year, 90 for a quarter, or 30 for a month, and use credit sales rather than total sales.
What is the countback method for DSO?
Countback DSO starts with today’s A/R balance and subtracts each prior month’s credit sales, newest month first, counting the days until the balance is used up. It is more accurate than the standard formula when sales are seasonal or uneven.
What is a good days sales outstanding number?
One that sits close to your payment terms and stays stable. The broad median is about 40.5 days per the Credit Research Foundation’s Q4 2025 survey, but a good number depends on your industry and terms, not a universal target.
Why is my DSO increasing?
It is almost always one of three things: you invoice slower than you deliver, your terms are longer than they need to be, or you do not follow up consistently on past-due invoices. Check for seasonality and unapplied cash too, since both can raise the number without any change in how customers pay.
Does DSO include cash sales?
No. DSO measures how long credit sales stay unpaid, so you calculate it using credit sales only. Cash sales were collected at the point of sale and were never outstanding.
Want every invoice followed up automatically so your DSO comes down without new hires? Get Started with Abivo.







