Blog / Guides 4 min read ·

A month of bank transactions as a Sankey diagram

A bank statement lists every payment and explains nothing. A Sankey diagram of the same month shows where the money went at a glance: income on the left, the categories it ran into on the right, every band as wide as the money it carries. Getting from one to the other is a spreadsheet job of about ten minutes.

1. Download the month

Most banks let you download transactions as a CSV file from the account page. Open it in Excel or Google Sheets. You need the amount of each transaction and a description you can recognise.

2. Give each payment a category

Add a Category column and fill it in: Rent, Groceries, Transport, Eating out, Subscriptions, Savings. Ten categories or fewer keeps the diagram readable; small ones can share an Other. Sort by description first, and the same shop's payments sit together and take a minute.

3. Sum by category

A pivot table (rows: Category, values: sum of Amount) or one SUMIF per category gives the month's total for each. Then write the flows as three columns, Source, Target and Amount (€), one row per flow:

  • Salary, Budget, 3,200
  • Side income, Budget, 300
  • Budget, Rent, 1,250
  • Budget, Groceries, 520
  • Budget, Transport, 180
  • Budget, Savings, 600
  • Budget, Other, 950

4. Paste and check

Copy the three columns with their header and paste them into the first empty row of the sheet in SankeyCharts.app. The € in the header becomes the chart's unit. Then read the balance: if the money going out of Budget does not equal the money coming in, the Budget row is flagged with the difference. That gap is either a category you missed or money left in the account; add a "Left over" flow for it and the diagram is honest.

Next month, do the same with the new totals. For a full worked example from gross pay through tax and pension, see the personal budget Sankey below.

Frequently asked questions

How do I turn bank transactions into a Sankey diagram?

Download the transactions as CSV, give each one a category, sum them by category with a pivot table or SUMIF, write the totals as source, target and amount rows, and paste them into SankeyCharts.app.

Is my bank data uploaded?

Only the totals you paste go into the editor, and the diagram is saved in your browser unless you create an account and save it to the cloud.

Try it on your own numbers

The editor is free and opens with a starter Sankey diagram. One row per flow, typed or pasted, and the diagram draws itself. No signup required.

Create Your Sankey Diagram Free