A Pellucid guide

Days Sales Outstanding (DSO): How to Calculate It and What It Tells You

Suppose you close two 30-day periods with $450,000 in accounts receivable. Credit sales rise from $300,000 to $360,000, and your days sales outstanding falls from 45 to 37.5. The new figure looks encouraging, but the entire change can be explained by higher sales. You’d still need to check what customers paid and which invoices are aging.

That’s why we use DSO as a starting point for the receivables review. It shows how much is tied up in receivables relative to sales and gives the team a reason to investigate when the trend changes. The calculation is simple. The value comes from knowing what moved it.

What is days sales outstanding?

Days sales outstanding (DSO) expresses your accounts receivable balance as an equivalent number of days of sales. If you bill $10,000 a day on credit and end the month with $450,000 in trade receivables, that balance represents 45 days of credit sales. Individual customers may have paid sooner, paid later, or still owe you money. To see how long customers actually took to pay, use invoice and payment dates. CFA Institute · Credit Research Foundation

For a controller or CFO, DSO helps explain how much working capital the business carries in receivables. For an AR manager, it’s a useful monthly signal to look at alongside the aging report. If DSO and past-due balances are both rising, investigate which customers and invoices account for the increase. If DSO rises while past-due balances are steady, start with changes in sales timing, customer mix, or payment terms.

How to calculate DSO

DSO = (Trade accounts receivable ÷ Net credit sales for the period) × Calendar days in the period

Before you calculate DSO, check your inputs.

  • Receivables. Use billed trade receivables before the allowance for doubtful accounts. Exclude unbilled work and non-trade receivables.
  • Sales. Use credit sales less returns and allowances. If you only have total sales, label the result as an estimate. Including cash sales can make DSO look lower.
  • Period and scope. Match the sales and receivables to the same reporting period, business units, currency, and tax treatment. For June, use June sales and 30 calendar days.
  • Zero or negative sales. If net credit sales are zero or negative, skip DSO for that period. Review the aging report or use a longer, comparable period with positive sales.

Credit Research Foundation

Run the numbers with Pellucid’s free DSO calculator. Enter the period, credit sales, and either an ending receivables balance or the figures for an average balance. You can also see how a lower DSO target would change the implied receivables balance at the same sales rate.

Three ways to calculate DSO

The right method depends on the question. Use ending-balance DSO for a close-date snapshot, average-balance DSO to relate a typical balance to sales over a period, and countback when month-to-month sales swings make a single sales rate less representative. Suppose June starts with $390,000 in trade receivables, ends with $450,000, and has $300,000 in net credit sales over 30 days. May had $186,000 in net credit sales over 31 days.

Method When it helps Result in this example
Ending-balance DSOReporting the balance you carried at month-end45 days
Average-balance DSORelating a typical receivables balance to sales during the period42 days
Countback DSOAccounting for changes in monthly sales, such as a seasonal peak55 days

1. Ending-balance DSO

Divide June’s closing receivables by June’s credit sales and multiply by 30. The result is $450,000 ÷ $300,000 × 30 = 45 days. This is an easy measure to reproduce at close. A large invoice batch just before month-end or a payment received just after close can change the snapshot, so look at the trend before drawing conclusions. Credit Research Foundation

2. Average-balance DSO

Average the opening and closing balances to get ($390,000 + $450,000) ÷ 2 = $420,000. Then calculate $420,000 ÷ $300,000 × 30 = 42 days. If balances swing sharply within the period, an average of daily balances can better reflect what the business carried. For a longer reporting window, monthly balance snapshots can also be useful if they’re taken consistently. Average the balances first, then divide by the period’s sales per day. CFA Institute · APQC

3. Countback DSO

Starting with the ending AR balance, work backward through monthly credit sales. If a full month’s sales fit within the remaining balance, subtract those sales and add the full month’s days. When the remaining balance is smaller than the next month’s sales, count only that fraction of the month.

In our example, start with June’s $450,000 closing balance. Count all 30 days of June and subtract its $300,000 of sales. That leaves $150,000. If May had $186,000 in net credit sales over 31 days, count $150,000 ÷ $186,000 × 31 = 25 days. The result is 55 days. Countback reflects the different sales rates in June and May. Use invoice aging to see which months the open invoices actually came from. You’ll need monthly sales history for this method. Pellucid’s calculator covers the ending- and average-balance methods. Oracle’s countback example

When to track DSO and what to check when it changes

If your business regularly invoices on credit, calculate DSO at monthly close. Add a view by business unit or customer group if terms or sales patterns differ and you can match the sales and receivables for each group. If only a small part of the business sells on credit, track DSO for that group and use aging to manage individual balances. For seasonal businesses, compare the same month last year and consider adding a rolling 90-day view or countback for context.

Document the method and which sales and receivables you include. APQC divides average gross accounts receivable, excluding unbilled receivables, by total gross annual sales per day (annual sales ÷ 365). Check the benchmark’s definition and peer group before comparing it with a calculation based on net credit sales. APQC

When DSO moves, work through three questions.

  1. Did sales or terms change? Check for a large billing week, a slower sales period, or more sales to customers with longer terms. Compare receivables and sales per day with the prior period. In the opening example, credit sales rose from $10,000 to $12,000 per day while receivables stayed at $450,000. The higher sales rate explains the full drop from 45 to 37.5 days.
  2. Did cash collections change? Check cash received against due invoices and review balances past due by customer and aging bucket. A drop in receivables may also reflect credits or write-offs, so check those before attributing a lower DSO to faster payment.
  3. Where is the work stuck? Review unapplied cash, open disputes, and deductions. A customer may have paid while the invoice still appears open because the remittance is missing. A short payment may need research and a decision on whether to dispute it or approve a credit. Why Is This B2B Invoice Still Unpaid?

There’s no universal target. Start with your own trend, the terms you offer, and the makeup of your receivables.

How much of your DSO comes from past-due invoices?

If you use ending-balance DSO, calculate best possible DSO (BPDSO) using only receivables that are still within terms. Keep the same credit sales and number of days. The difference between ending-balance DSO and best possible DSO is called average days delinquent (ADD). Credit Research Foundation

Suppose $330,000 of June’s $450,000 in ending receivables is still within terms. Use June’s $10,000 in daily credit sales for both calculations.

  • Best possible DSO is $330,000 ÷ $10,000 = 33 days.
  • Average days delinquent is 45 − 33 = 12 days. That’s $120,000 in past-due receivables, or 12 days of credit sales.

Use the invoice due dates in your aging report to see how late individual invoices are.

How deductions can move DSO without bringing in cash

Suppose a distributor pays $20,000 less than it owes a manufacturer, citing freight charges and a pricing discrepancy. At $10,000 in daily credit sales, that $20,000 represents two days of DSO while it’s included in the receivables balance. If the manufacturer moves the balance to a deductions account outside its DSO calculation while it investigates, reported DSO falls from 45 to 43 days at the same sales rate. The $20,000 is still unresolved, and the reclassification brings in no additional cash.

At close, review the value and age of open deductions alongside DSO. When a deduction closes, record whether you recovered cash, issued a credit, or wrote off the balance. That gives you a way to explain a lower DSO even when cash collections are flat.

What would five fewer days of DSO mean?

At $10,000 of credit sales per day, moving from 45 to 40 days implies $50,000 less in receivables at the same sales rate. If customers pay sooner and that’s what drives the reduction, it can free up working capital. Treat the result as a scenario when discussing a target. Your cash forecast still needs expected payment dates and amounts.

To decide what to change and how to verify that cash arrived sooner, see our guide to reducing days sales outstanding in B2B.

If deductions are tying up cash, compare the cost and review effort of building or buying AR automation.

At your next close, record DSO alongside past-due receivables and cash collected. If the number moves, identify which accounts or changes in sales explain it and decide what the team will do about them. That makes DSO part of the receivables review, with a clear connection to the work that gets cash in the door.

Where Pellucid fits

Someone still has to resolve the $20,000 deduction from the example above. To decide whether to pursue payment or approve a credit, your team may need to compare the invoice and remittance with the customer’s explanation of the freight and pricing charges.

Pellucid is an AI-Native accounts receivable platform for B2B finance teams. We’re building it to bring invoices, remittances, and customer conversations together alongside your accounting system. That gives your team one place to see what’s holding up payment and decide who should follow up. Your team decides whether to pursue the balance, approve a credit, or write it off.

If short payments take up too much of your team’s time, join the waitlist to talk with us about how you handle them today.