Days sales outstanding calculator.
List your open customer invoices. See how many days of sales you have yet to collect.
How it is calculated.
- Days sales outstanding. Receivables ÷ credit sales × days in the period.
- Credit sales. Sales you invoiced and collected later. Leave out sales paid at the till.
- Days in the period. 365 for a year, 90 for a quarter, 30 for a month. Use the same period as the sales figure.
- Age. Days from the invoice date to the as-of date.
Compare the result with your payment terms. On net 30 terms, a figure near 30 means customers pay on time. A figure of 45 means the average customer takes two extra weeks, and you are funding those weeks from your own cash.
Files.
- PDF. The result and the list of open invoices with their ages.
- CSV. The same tables as plain rows.
- QBO. The open invoices as an invoice import: one row each, with a due date 30 days after the invoice date and the item Services.
Your entries stay in this browser. Nothing is sent to BUILD+BOOKS, and no email is needed. Clear removes them. Each PDF is stamped with the date and the page it came from. QBO files are CSVs in the column layout QuickBooks Online imports. BUILD+BOOKS is not affiliated with Intuit.
For agents.
open /tools/dso-calculator?sales=250000&days=90 fields sales, days, asof lists invoices[customer, number, date, amount] storage localStorage["bpb:dso:v1"], as JSON math /tools/tools.mjs, tools.dso.compute(state)
Own your numbers.
This calculator keeps your entries only in this browser. BUILD+BOOKS is a free, open source ledger that your AI agent keeps for you, in an account you own. Next time, your agent can pull these figures straight from your books.
Paste this into your AI agent.
Clone BUILD+BOOKS from https://github.com/build-plus/buildplusbooks and read its README. Follow the deployment instructions to deploy it to my Cloudflare account. Set up the Books with the details you already know about my business, and ask me only for details you cannot work out. Show me the Worker URL and the MCP endpoint when you finish.