Stockertim Dictionary · Technology
Tidy data
Also called long format, tidy table, long-format data
In short
A table laid out with one row per record, one column per field and one value per cell, with no merged cells or subtotals mixed in.
- Intermediate
- Technology
- Checked
In detail
Tidy data is a set of layout rules that make a table easy to analyse with software. Each row is a single observation, such as one company in one year or one share on one day. Each column is a single variable, such as revenue, sector or closing price. Each cell holds one value. The table has a single header row, and totals, notes and colour coding are kept elsewhere.
Spreadsheets built for reading often break these rules: years run across columns, headings span merged cells, subtotals sit between blocks of rows and notes fill spare cells. That layout suits a printed report but trips up sorting, filtering, pivot tables, database imports and charting tools, which expect one consistent structure. Converting from such a wide layout to a long one, sometimes called unpivoting or melting, is a routine step in preparing financial data.
Tidy does not mean small or simple. A long table can have millions of rows, and the same information can be reshaped into a wide summary whenever a person needs to read it. The aim is to keep one clean source from which every report, chart and calculation is produced, so that a correction made once flows everywhere.
Worked example
A report lists revenue for three companies with the years 2024 and 2025 as separate columns.
- Wide layout: 3 rows and 2 year columns
- Tidy layout: 3 × 2 = 6 rows, each with company, year and revenue
The six-row tidy table can be filtered, pivoted or charted by year without rearranging it by hand.
In practice
Statistics bodies and regulators increasingly publish data in machine-readable, tidy formats alongside formatted tables, and data teams in banks and fund managers store results this way before building dashboards.
Watch out
- Subtotal rows inside the data get counted twice when the table is summed.
- Merged cells and multi-row headers break imports and filters.
Learn it properly
Official sources
- The Government Data Quality Framework · UK Government Data Quality Hub
- API technical and data standards · Government Digital Service
Facts last checked on 4 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.