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.

FreeNo sign-upRuns in your browserReviewed 2026-10-07

Your numbers

Receivables & sales
Receivables to use

Ending is the common default. Average smooths a balance that moved a lot.

Unpaid invoices owed to you.

Invoiced on credit. Leave out cash sales.

Period & terms
Period length

The credit sales above must cover this same period.

Net 30 = 30. Lets the tool compare DSO with what you ask for.

Advanced: best possible DSO

Best possible DSO uses only receivables that are not yet past due. The gap to your actual DSO is the part caused by late payers.

Saved on this device

Result

Updates as you type

Enter 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

DSO = (Accounts receivable ÷ Total credit sales) × Days in period
Average receivables = (Beginning + Ending) ÷ 2
Gap to terms = DSO − Payment terms in days
Best possible DSO = (Current receivables ÷ Total credit sales) × Days in period
Delinquent DSO = DSO − Best possible DSO
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.

  1. 01DSO = ($45,000 ÷ $120,000) × 90 = 33.75 days
  2. 02Credit sales per day = $120,000 ÷ 90 = $1,333.33
  3. 03Gap to terms = 33.75 − 30 = 3.75 days; receivables beyond terms = $45,000 − 30 × $1,333.33 = $5,000
  4. 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?
Days sales outstanding: how many days of credit sales are unpaid in your accounts receivable. It is receivables divided by credit sales, multiplied by the days in the period.
What is a good DSO?
It depends on your terms and industry. A useful test is your own payment terms: a DSO at or below them suggests customers pay about on time, and one far above them points to late payment.
Should I use ending or average receivables?
Ending is the common default and is simple to get. Average (start plus end, divided by two) smooths a balance that moved a lot during the period. Both are used; keep to one for comparisons.
Which period should I use: 30, 90 or 365 days?
Match the period to your credit sales figure. Monthly is good for tracking, quarterly smooths noise and annual suits yearly reporting. The formula is the same.
What is best possible DSO?
A variant that uses only receivables that are not yet past due. The difference between your DSO and best possible DSO is the part caused by late payment.
What if credit sales are zero?
DSO can't be calculated, because there are no days of sales to measure against. Enter the credit sales for the period.

Sources

Keep going