Money
DSO Calculator (Days Sales Outstanding)
Enter your receivables, credit sales and period to see how many days of sales are unpaid, and how that compares with your terms.
Part of a workflow
Getting invoices paid
Result
Updates as you typeEnter your receivables, credit sales and the period to see your DSO.
What this calculates
Days sales outstanding (DSO) tells you how many days of credit sales are sitting unpaid in your receivables. A lower number means you turn invoices into cash faster. It is the clearest single figure for 'how long do customers really take to pay?'.
Enter your receivables, your credit sales for the period and the period length. If you give your payment terms, the calculator shows the gap between your DSO and what you ask for, and how much cash is tied up beyond your terms.
The formula
- Accounts receivable
- What customers owe you on unpaid invoices. By default the balance at the end of the period.
- Total credit sales
- Sales invoiced on credit during the period. Cash sales are excluded because they never become receivables.
- Days in period
- The length of the period the credit sales cover: commonly 30, 90 or 365.
- Current receivables
- The part of receivables that is not yet past its due date. It is used for best possible DSO.
Assumptions
- Credit sales must cover the same period as the days you enter.
- Ending balance is the common default; average receivables smooth out a balance that changed a lot. Pick one and keep it the same each time you compare.
- Best possible DSO assumes current receivables are the most you could reasonably have outstanding, because invoices aren't expected to be paid before their due date.
- Taxes are treated consistently: if receivables include tax, use credit sales that include tax.
Worked example
At the end of a 90-day quarter you are owed $45,000 and invoiced $120,000 on credit. Your terms are Net 30, and $32,000 of the receivables is not yet due.
- 01DSO = ($45,000 ÷ $120,000) × 90 = 33.75 days
- 02Credit sales per day = $120,000 ÷ 90 = $1,333.33
- 03Gap to terms = 33.75 − 30 = 3.75 days; receivables beyond terms = $45,000 − 30 × $1,333.33 = $5,000
- 04Best possible DSO = ($32,000 ÷ $120,000) × 90 = 24 days; delinquent DSO = 33.75 − 24 = 9.75 days (the $13,000 past due ÷ $1,333.33)
DSO is 33.75 days: 3.75 days slower than Net 30 terms, about $5,000 of cash tied up beyond terms. Late payers add 9.75 of those days.
How to read the result
Compare DSO with your payment terms, not with an industry average. A DSO close to your terms means customers pay roughly when asked. A DSO well above them means invoices are paid late on average.
DSO is influenced by sales trends. When sales are rising fast the figure can look better than collections really are, and seasonal businesses swing. Compare the same period year on year, and use best possible DSO to see how much is lateness rather than normal credit.
Common mistakes
- Using total sales including cash sales. DSO is about credit sales only.
- Mismatching the period: a year of sales with 30 days, or a quarter's receivables with annual sales.
- Comparing an ending-balance DSO with an average-balance DSO from another time.
- Judging DSO against someone else's number instead of your own payment terms.
- Ignoring a single big invoice. One large late payer can move DSO a lot, so check the list of what is overdue.
Frequently asked questions
What is DSO?
What is a good DSO?
Should I use ending or average receivables?
Which period should I use: 30, 90 or 365 days?
What is best possible DSO?
What if credit sales are zero?
Sources
- Days sales outstanding — Wikipedia, checked 2026-10-07
Keep going
Related tools
- Accounts Receivable Turnover CalculatorCalculate accounts receivable turnover from net credit sales and average receivables, plus the days per turn and its link to DSO.
- Account Statement GeneratorShow a customer everything on their account for a period — opening balance, invoices, payments and a running balance to the amount due.
- Late Payment Interest CalculatorCalculate interest and fees on an overdue invoice from your own rate, due date and as-of date, with simple or compound interest.
- Invoice Due Date CalculatorFind an invoice due date from the issue date and terms such as Net 30, EOM or Net 30 EOM, with an optional weekend roll and 2/10 discount.
- Cash Runway CalculatorSee how many months your cash lasts, the month it runs out, and what steady revenue growth would change.