Free · No sign-up · Nothing leaves your browser
Online cash flow forecast: will you run out of cash in the next 13 weeks?
Enter today's balance, upload your outstanding invoices receivable and payable (CSV or Excel from your invoicing software, or pasted from Excel) and add the recurring items: payroll, rent, subscriptions and taxes. You get the forecast balance week by week or month by month, with a warning for periods in the red, a delay per customer, days sales outstanding and aged balances. Then take it to Excel.
Invoices are read in your browser and never uploaded to a server. They are only saved on this device if you click «Save on this device».
Step by step
How to build a cash flow forecast
A cash flow forecast (also called a cash budget or treasury plan) is a table with the cash you have today and, period by period, what you expect to collect and pay. It does not measure profit but whether you will have money in the bank on the day a payment is due: a profitable company can run out of cash if it collects late.
- 101
Pick the horizon
13 weeks (a quarter, week by week) for day-to-day control; 12 months to plan the year, seek financing or decide on an investment.
- 202
Start from the real balance
Add up what is in all your accounts today. It is the only figure that is not a forecast.
- 303
Place receipts on the date they will arrive
Not the invoice date but the due date plus each customer's usual delay. Overdue invoices you still expect to collect go into the first week.
- 404
Add every payment
Supplier invoices, payroll, social security, rent, loans, subscriptions and taxes in the month they are paid.
- 505
Work out each period's balance
Closing balance = opening balance + receipts − payments
The closing balance of one period is the opening balance of the next.
- 606
Review it every week
Replace forecasts with actuals and spot the next week in the red early enough to act.
13 weeks or 12 months?
The 13-week forecast is the usual choice for short-term cash control: short enough that nearly every receipt and payment is already invoiced, and long enough to talk to the bank or a customer before the problem arrives. The 12-month view shows seasonality, extra salary payments and annual taxes. The tool does both from the same data: use the switch at the top.
Which file to upload
Export the list of outstanding invoices from your invoicing software (sales invoices receivable and, separately or in the same file, purchase invoices payable) as CSV or Excel (.xlsx). The tool recognises columns such as customer or supplier, number, date, due date and amount or outstanding, and lets you fix which column is which. If there is no type column you choose whether they are receipts or payments. A negative amount (a credit note) counts the other way.
Formulas
Days sales outstanding (DSO) and days payable outstanding (DPO)
DSO (in Spanish, *periodo medio de cobro*) is how many days, on average, it takes to collect from customers; DPO (*periodo medio de pago*), how long you take to pay suppliers. If you collect at 60 days and pay at 30, you are financing your customers for a month with your own cash.
- 101
Days sales outstanding (standard ratio-analysis formula)
DSO = (average receivables / sales incl. VAT) × 365
Average receivables = (opening + closing) / 2. Use sales including VAT, since receivables include it. This is the classic financial-analysis formula; no regulation sets it.
- 202
Days payable outstanding
DPO = (average payables / purchases incl. VAT) × 365
Average payables over purchases incl. VAT for the period.
Example: receivables of €90,000 at the start of the year and €110,000 at the end (average €100,000), with €726,000 of sales incl. VAT. DSO = 100,000 / 726,000 × 365 = 50.3 days.
Spain's official supplier payment period (ICAC)
Spanish companies report their average supplier payment period in the notes to the annual accounts using article 5 of the ICAC Resolution of 29 January 2016: a weighted average of the days of paid operations and of operations still pending payment. Companies filing abridged accounts may use average trade payables × 365 / (net purchases + external services). The period for public administrations follows Royal Decree 635/2014 and does not apply to companies.
Indicators from your outstanding invoices
From the invoices you upload the tool computes three amount-weighted figures: the average agreed term (invoice date to due date), the average age (invoice date to today) and the average delay of overdue invoices (due date to today).
Maximum payment terms between businesses in Spain
Article 4 of Spain's Late Payment Act, Law 3/2004, sets a default term of thirty calendar days from receipt of the goods or services, which the parties may extend but never beyond 60 calendar days.
Ageing
Aged balances: who owes you and since when
An aged receivables report splits what each customer (or supplier) owes by how many days it is overdue: not yet due, 1-30 days, 31-60, 61-90 and over 90. The further right, the less likely you are to collect, which is why the tool can leave receivables more than 90 days overdue out of the forecast.
- 1-30 days: a friendly reminder is usually enough.
- 31-90 days: call, agree a date and give that customer its own delay in the forecast.
- Over 90 days: do not count on that money to pay salaries; consider a formal claim.
Excel
Cash flow forecast template in Excel: the formulas
If you prefer your own spreadsheet, these are the formulas the tool uses (English Excel). You can also download your forecast as .xlsx (forecast plus aged receivables and payables, in three sheets) and carry on from there.
"Movements" sheet (one row per receipt or payment):
A: Expected date B: Item C: In D: Out
"Forecast" sheet (one row per week):
A2: =TODAY()-WEEKDAY(TODAY(),3) → Monday of this week
A3: =A2+7 → fill down to A14 (13 weeks)
B2: =SUMIFS(Movements!C:C,Movements!A:A,">="&A2,Movements!A:A,"<"&A2+7)
C2: =SUMIFS(Movements!D:D,Movements!A:A,">="&A2,Movements!A:A,"<"&A2+7)
D1: (today's bank balance)
D2: =D1+B2-C2 → closing balance of the week; fill down
Conditional formatting on D2:D14: "less than 0" in red.
Expected collection date with a delay (in "Movements"):
=MAX(TODAY(), DueDate + DelayDays)
Days sales outstanding (DSO):
=AVERAGE(OpeningReceivables,ClosingReceivables)/SalesInclVAT*365
Age (days overdue) and bucket:
=MAX(0,TODAY()-DueDate)
=IF(E2<=0,"Not due",IF(E2<=30,"1-30",IF(E2<=60,"31-60",IF(E2<=90,"61-90","Over 90"))))FAQ
Questions about cash flow forecasting
What is a cash flow forecast?
Today's balance plus expected receipts minus expected payments, period by period, so you know in advance which week or month will be short of cash.
What is the difference between profit and cash?
Profit counts sales and costs when they are invoiced; cash counts them when money enters or leaves the bank. Selling a lot but collecting at 90 days can leave you profitable and out of cash.
How is days sales outstanding calculated?
Average receivables (opening plus closing, divided by two) divided by sales incl. VAT for the period, multiplied by the days in the period (365 for a year).
Why 13 weeks?
It is a quarter seen week by week: almost everything is already invoiced, so the forecast is reliable, and it gives you time to act before a shortfall.
Which file can I upload?
A CSV (semicolon, comma or tab separated) or an .xlsx file with outstanding invoices exported from your invoicing software. You can also copy the rows in Excel and paste them. The first sheet of the workbook is used.
What should I do if a week goes negative?
Act early: chase overdue invoices, offer early-payment discounts, move payments that can wait, or arrange a credit line or invoice financing in advance. Try «What if a customer pays later?» for the worst case.
Are my invoices uploaded anywhere?
No. The file is read in your browser and everything is computed there. Closing the page loses it all unless you clicked «Save on this device», which keeps it in your browser's storage.
About
Who built it and its limits
Built by Black Wings, a software studio in Valencia (Spain), because a cash flow forecast is one of the features users of invoicing software ask for most, and searches only return articles and templates. Cited regulations link to Spain's Official Gazette (BOE).
- It is an estimate: only as good as the data and delays you enter.
- It is not financial or tax advice. You or your adviser work out tax amounts.
- Weeks start on Monday and months on day 1. Anything due before today counts today.
Privacy
Your invoices never leave your browser
- There is no server: the CSV or Excel file is read with JavaScript on your device.
- The Excel or CSV download is also created in your browser.
- Nothing is stored unless you click «Save on this device» (it stays in this browser's local storage); «Delete saved data» removes it.
- The site's visit measurement receives nothing you type or upload.
Want it connected to your invoicing and your bank?
A forecast that updates itself from your invoicing software (Holded included) and your bank transactions, inside a dashboard with your own figures: we build that as custom work at Black Wings.