If you’d like to set this up in a spreadsheet, or calculate monthly and rolling 12-month figures, the same countback logic applies to the DSO formula, with Excel formulas you can copy.
Upflow → Blog → Reduce DSO
Days Sales in Accounts Receivable (AR Days): Formula, Examples & Benchmarks
Alexandre Antoine
|
November 12, 2026

Days sales in accounts receivable, often shortened to AR days, is the average number of days a company takes to collect payment after a credit sale. To calculate it, divide your accounts receivable by your total credit sales for the period, then multiply by the number of days in the period. It’s also commonly called days sales outstanding (DSO), accounts receivable days or debtor days.
Tracking this metric shows how efficiently you turn invoices into cash. A lower number usually means customers are paying faster, while a higher number can signal delays in collections, weaker cash flow or problems with billing and follow-up. In this article, we’ll cover:
- What Is Days Sales in Accounts Receivable (AR Days)?
- Days Sales in Accounts Receivable Formula
- Is Days Sales in Accounts Receivable the Same as DSO?
- How to Interpret Days Sales in Accounts Receivable
- Factors Affecting Days Sales in Accounts Receivable
- What Is a Good Number of AR Days?
- How to Lower Your Days Sales in AR
Want to calculate your AR days now? Download our free AR days/DSO calculator spreadsheet to calculate, interpret and improve your AR days.
What Is Days Sales in Accounts Receivable (AR Days)?
Days sales in accounts receivable, or AR days, is the average number of days it takes your business to collect cash from customers after a credit sale. In practical terms, it tells you how long your money stays tied up in accounts receivable before it reaches your bank account.
This metric matters because it connects your sales to your cash. You may be generating revenue on paper, but if customers are slow to pay, your working capital can still come under pressure. That’s why AR days is one of the most closely watched KPIs for finance and AR teams.
You may also hear this metric called:
- Days sales outstanding (DSO)
- Accounts receivable days
- Days sales in receivables
- Debtor days
All of these names describe the same thing: how quickly your company turns receivables into cash.
A low AR days figure usually means customers are paying on time, your invoicing and collections processes are working well, and your cash flow is healthy.
A high AR days figure may mean customers are paying late, invoices are disputed or delayed, payment terms are too long, or your collections workflow needs improvement.
For example, if your AR days is 36.5, it takes your business a little over 36 days, on average, to collect payment after a credit sale. That makes AR days more than an accounting ratio: it’s a direct measure of collection efficiency, customer payment behavior and cash flow health.
Days Sales in Accounts Receivable Formula
The days sales in accounts receivable formula divides your accounts receivable by your credit sales for a period, then multiplies the result by the number of days in that period:

Here it is as text, so you can copy it:
Days Sales in Accounts Receivable = (Accounts Receivable ÷ Total Credit Sales) × Number of Days
Use your accounts receivable balance at the end of the period, and only sales made on credit. Cash sales never sit in receivables, so including them makes your AR days look lower than they really are.
There are two main ways to calculate it: the simple method and the countback method. The simple method is the most common. The countback method is more accurate when sales go up and down from month to month, but it takes longer to work out by hand.
Simple Days Sales in Accounts Receivable Formula
The simple method is a quick and straightforward way to calculate your AR days. Take your accounts receivable at the end of the period, divide it by your net credit sales over the same period, then multiply by the number of days: 365 for a year, 90 for a quarter, or the number of days in the month.
For example:
- Your credit sales for the year are $2,000,000.
- Your accounts receivable at year-end are $200,000.
Using the simple method, your AR days would be ($200,000 ÷ $2,000,000) × 365 = 36.5 days. That means it took your business 36.5 days, on average, to get paid over the year.
Depending on your industry, that may be lower or higher than average. Track it over time and you’ll learn what’s normal for your business, and spot changes early.
The Countback Method for Calculating Days Sales in Accounts Receivable
The countback method works backward from your most recent month. You subtract each month’s credit sales from your accounts receivable balance until it runs out, adding up the days as you go. Because it looks at the sales that actually created your open invoices, it gives a more accurate result when sales are seasonal or growing.
Here’s an example, counting back from the end of September, with $45,000 in accounts receivable:
| Step | Month | Remaining AR | Credit sales | Days added | Running total |
|---|---|---|---|---|---|
| 1 | September (30 days) | $45,000 | $20,000 | 30 | 30 days |
| 2 | August (31 days) | $25,000 | $18,000 | 31 | 61 days |
| 3 | July (31 days) | $7,000 | $14,000 | ($7,000 ÷ $14,000) × 31 = 15.5 | 76.5 days |
In September and August, the remaining AR is higher than that month’s sales, so you add the full month and subtract the sales. In July, the remaining $7,000 is lower than July’s sales, so you add only part of the month: remaining AR divided by that month’s sales, multiplied by its days. The result is 76.5 days.
The simple method over the same three months gives ($45,000 ÷ $52,000) × 92 = 79.6 days. The two results differ because sales grew each month, and the countback method gives more weight to the months your open invoices actually come from.
Is Days Sales in Accounts Receivable the Same as DSO?
Yes. Days sales in accounts receivable and days sales outstanding (DSO) are two names for the same metric: the average number of days it takes to collect payment after a credit sale. Both use the same formula, so the terms are interchangeable.
What sometimes differs is how teams calculate it. Most use the receivables balance at the end of the period, while some use average accounts receivable across the period to smooth out spikes. Whichever version you choose, use the same one every time, so your numbers stay comparable.
AR days is often confused with two related metrics, which measure the same thing from a different angle:
| Metric | What it tells you | Formula | Best used for |
|---|---|---|---|
| AR days / DSO | How many days, on average, it takes to collect payment | (Accounts receivable ÷ Credit sales) × Number of days | Tracking collection speed month to month |
| AR turnover ratio | How many times you collect your average receivables in a period | Net credit sales ÷ Average accounts receivable | Comparing collection efficiency as a ratio |
| Average collection period | How many days it takes to collect, based on average receivables | (Average accounts receivable ÷ Net credit sales) × Number of days | Assessing collection efficiency over a full year |
The three are closely linked. Dividing 365 by your AR turnover ratio gives you your average collection period, which is the average-receivables version of AR days. As turnover goes up, AR days come down.
How to Interpret Days Sales in Accounts Receivable
Once you’ve calculated your AR days, the next step is understanding what the number tells you.
A high figure means your company takes longer to collect payment after a sale. That puts pressure on cash flow, reduces liquidity and limits the money available for payroll, suppliers, hiring or growth. A low figure means you’re collecting cash more quickly, which generally points to strong collection performance and healthy working capital.
There’s no universal “good” number, though. What counts as healthy depends on your payment terms, your customer mix, your billing model and your industry. These three comparisons are the most useful:
Compare It to Your Payment Terms
If your standard terms are net 30 and your AR days is 55, many customers are paying well after the due date.
If your standard terms are net 60 and your AR days is 52, your performance is actually solid.
Compare It to Your Own Historical Trend
A single number is useful, but a trend is more useful. If your AR days has risen from 38 to 49 to 57 over the last three quarters, collections are getting worse, even if the latest figure still looks acceptable on its own.
Compare It to Your Industry
AR days should always be read in context. Industries with longer contract cycles tend to have higher averages, while others are expected to collect much faster. Benchmarking against similar companies, like the industry figures below, is one of the best ways to tell whether your result is healthy or needs attention.
Factors Affecting Days Sales in Accounts Receivable
Several factors influence your AR days. Understanding them helps you see why the number is rising and what to fix first.
1. Credit Terms
The payment terms you offer have a direct impact on AR days. If you invoice on net 30, your AR days will naturally look different than on net 60 or net 90. Longer terms can help you stay competitive, but they also delay cash.
2. Customer Payment Behavior
Some customers consistently pay on time, while others pay late whatever the due date. If a large share of your customers pays late, your AR days will rise. Tracking payment behavior by account or segment helps you spot chronic late payers and adapt your follow-up.
3. Invoice Accuracy and Timeliness
Late or inaccurate invoices create avoidable delays. Missing PO numbers, wrong billing contacts, incorrect amounts or invoices sent late can all push payment further out. Clear, accurate invoices sent on time are essential to keep AR days under control.
4. Internal Collection Processes
Your collections process matters as much as your payment terms. If reminders are inconsistent, disputes aren’t handled quickly, or overdue accounts aren’t escalated early enough, AR days can rise fast. A systematic collections workflow shortens the time between invoicing and payment.
5. Industry Standards
Some industries simply collect more slowly than others. Businesses with long project cycles or standard 60 to 90-day terms often have higher AR days than companies in retail-style or inventory-driven sectors. That’s why it’s important to compare your result with relevant benchmarks, not a generic average.
What Is a Good Number of AR Days?
A good number of AR days is close to your standard payment terms and at or below the median for your industry. Across industries, the median is 56 days, according to Upflow’s State of B2B Payments 2024 report. If your AR days sits well above your payment terms, customers are paying late, whatever your industry.
The chart below shows the median AR days by industry, alongside the top 25% of performers on Upflow:

For B2B tech and services companies, these are the most relevant benchmarks from the same report:
| Industry | Median AR days | Best in Upflow (top 25%) |
|---|---|---|
| Cloud, Network & IT Infrastructure | 56 days | 38 days |
| Marketing & Advertising | 56 days | 38 days |
| Human Resources | 58 days | 40 days |
| Backoffice, Operations & Productivity | 59 days | 35 days |
| Sales & Customer Success | 52 days | 34 days |
| Research, Data & Intelligence | 64 days | 55 days |
| Consulting | 80 days | 69 days |
For most B2B software companies selling on net 30 terms, AR days in the 35 to 55 range is a reasonable target. The gap between the median and the best performers in each industry, often 15 to 20 days, shows how much room there is to improve with better invoicing and follow-up.
Across all sectors, the differences are wide. Traditional service industries like Office & Facilities Management (105 days) and Consulting (80 days) tend to have much higher AR days, often because 90-day payment terms are common. Clothing, Accessories & Home businesses collect fastest (42 days), partly because they can hold back new orders until earlier invoices are paid, a lever service businesses rarely have.
Now that you know where your company stands, you can focus on bringing that number down.
How to Lower Your Days Sales in AR
1) Maintain an efficient invoicing process
Send invoices as soon as work is delivered, with clear due dates, payment terms and correct billing details. Small mistakes, especially when invoicing is tracked by hand, can hold up payment and push your AR days up.
2) Create a convenient payment process
If customers struggle to pay, your AR days will suffer. Offer several payment options, such as bank transfer and card, and include a payment link and the due date on every invoice.
3) Incentivize early payment
Small discounts for paying early improve your cash flow and strengthen customer relationships. Rewarding early payers often works better than penalizing late ones. Just make sure terms like net 30 are clearly stated on every invoice.
4) Automate your AR process
Automation takes the repetitive work out of collections. Automated AR software sends reminders on schedule, so your team can focus on high-risk accounts. It can also calculate your AR days for you: Upflow, for example, works out your AR days using the countback method once it’s connected to your accounting or invoicing system, and tracks it in real time on a dashboard, with no spreadsheets needed.
5) Track other key metrics
Beyond AR days, monitor your AR aging report to find overdue accounts, your collection effectiveness index (CEI) to see how much of what’s due you actually collect, and billing cohorts to see how your collections perform over time.

Alexandre Antoine
Finance Director at Upflow
Alexandre is the Finance Director at Upflow, where he leads the company’s internal finance and accounting operations. With a background in both strategic finance and financial reporting, Alexandre brings a practical, detail-oriented approach to the complexities of B2B finance.
At Upflow, Alexandre ensures that internal processes from cash management to KPI reporting are optimized for transparency, accuracy, and growth-readiness. He helps build scalable finance systems that support Upflow’s mission to empower other finance teams through better collections and cash flow insights.
Alexandre regularly contributes to Upflow’s blog with in-depth articles on accounting metrics, financial ratios, reporting best practices, and operational benchmarks. His writing provides actionable advice for controllers, FP&A teams, and finance leaders navigating complex financial processes.
Yes. Days sales in accounts receivable, AR days, accounts receivable days and days sales outstanding (DSO) are all names for the same metric: the average number of days it takes to collect payment after a credit sale.
The formula is: AR Days = (Accounts Receivable ÷ Total Credit Sales) × Number of Days. Use your accounts receivable balance at the end of the period and only sales made on credit. For example, $200,000 in receivables and $2,000,000 in annual credit sales gives ($200,000 ÷ $2,000,000) × 365 = 36.5 days.
There are two main methods. The simple method divides accounts receivable by credit sales for the period and multiplies by the number of days. The countback method works backward month by month, subtracting each month’s sales from your receivables balance until it runs out, which makes it more accurate when sales are uneven.
Use the same formula with one month’s figures: divide your accounts receivable at the end of the month by that month’s credit sales, then multiply by the number of days in the month. Monthly AR days can move around when sales are uneven, so track it every month alongside a rolling 12-month figure to see the real trend.
A good number is close to your standard payment terms and at or below your industry’s median. In Upflow’s State of B2B Payments 2024 report, the overall median across industries is 56 days, but some sectors run much longer or shorter collection cycles. If your AR days sits well above your payment terms, customers are paying late.
An increase in AR days means it’s taking longer to collect payment. Common causes are slower customer payments, longer credit terms, invoice disputes, billing errors and gaps in your collections process. A rising trend over several months is an early warning that cash is taking longer to come in.
AR days measures how many days it takes, on average, to collect payment. Accounts receivable turnover measures how many times you collect your average receivables in a period. They’re two views of the same performance: dividing 365 by your turnover ratio gives you the number of days.
AR days can’t be negative, since it measures time taken to collect payment after a sale. Payments received before revenue is recognized are tracked as deferred revenue instead. It can be lower than expected, though. A figure far below your payment terms can mean your credit policy is stricter than it needs to be, which may cost you sales with customers who expect standard terms.
Look for accounts receivable software that connects to your ERP or accounting system and calculates AR days and DSO automatically, ideally with the countback method, alongside other KPIs like CEI and AR aging. The most useful tools also let you benchmark your numbers against similar companies and break them down by customer or segment. Upflow, for example, tracks DSO in real time from your ERP data and compares it with industry benchmarks.
Send accurate invoices as soon as work is delivered, make paying easy with payment links and several payment methods, and send reminders before and after the due date. Escalate overdue accounts consistently, resolve disputes quickly, and review credit terms for customers who regularly pay late. Automating these steps keeps follow-up consistent as invoice volume grows.

















