Data quality metrics: the six dimensions and how to measure them
By AKINO Labs · Updated
The short answer
Data quality metrics measure how fit data is for its use, usually across six dimensions: accuracy, completeness, consistency, timeliness, validity and uniqueness. Measure each as a rate against a written rule, check it where data is ingested, transformed and served, give every dataset an owner, and alert only when a threshold the consumer agreed is broken.
Key takeaways
- The six common dimensions are accuracy, completeness, consistency, timeliness, validity and uniqueness; the UK Government Data Quality Framework says the list can be adapted.
- Every metric needs a written rule, a threshold and an owner, or it is a number nobody acts on.
- Check at three points: when data lands, after each transformation, and before it is served to a report or model.
- Fix problems at the source, not with a patch downstream that hides them.
- A data contract writes down what a producer promises and what a consumer relies on, so a breaking change is caught before it ships.
What are data quality metrics?
Data quality metrics are measurements of whether data is good enough for the job it is used for. A customer table can be perfectly adequate for a monthly sales report and unfit for a same-day fraud check, so quality is always judged against a use.
A useful metric has four parts:
- A rule. A plain statement of what good looks like, such as "every order has a customer ID that exists in the customer table".
- A measurement. Usually the share of records that pass the rule, or a time, such as how late the data arrived.
- A threshold. The level below which consumers would make a wrong decision, agreed with them rather than chosen by the pipeline team.
- An owner. The person or team who is told when the threshold is broken and who fixes the cause.
Data quality KPIs are the same metrics rolled up: the share of critical datasets meeting their thresholds, the number of open incidents, the time to resolve them. They tell leadership whether quality is improving; the rule-level metrics tell engineers what to fix.
What are the six dimensions of data quality?
The six dimensions most teams use are accuracy, completeness, consistency, timeliness, validity and uniqueness. The UK Government Data Quality Framework sets out these six, attributes them to DAMA UK, and says the list is not prescriptive: an organisation can adapt it or add a dimension that matters to its data.
Some are cheap to measure automatically, such as validity and uniqueness. Accuracy is the hardest, because it compares data with the real world, and usually needs a trusted reference or a sample checked by a person.
| Dimension | What it asks | Example metric | How to check |
|---|---|---|---|
| Accuracy | Does the data match reality? | Share of sampled records that match the source document or a trusted reference | Reconcile with the system of record; periodic manual samples |
| Completeness | Are the records and required values present? | Share of rows with every mandatory field populated; row count against expected | Null checks; row counts against the source or a normal range |
| Consistency | Do values agree within and across datasets? | Share of orders whose totals match the sum of their lines | Cross-table and cross-system comparisons |
| Timeliness | Is the data current enough for its use? | Minutes or hours since the last successful load | Freshness checks against an agreed arrival time |
| Validity | Is each value in the expected format and range? | Share of values passing type, format and allowed-value rules | Schema checks; allowed lists; range rules |
| Uniqueness | Is each entity recorded once? | Count of duplicate keys or duplicate customers | Primary key checks; matching rules for duplicates |
How do you measure data quality in practice?
Measure data quality by turning each expectation into an automated rule, running it on every load, and recording the result over time so you can see trends as well as failures.
- Start with the decisions. List the reports, models and processes that depend on a dataset, and ask their owners what a wrong number would cost.
- Pick the critical fields. Not every column needs a rule. Keys, amounts, dates and status fields usually do.
- Write the rules in code. Keep them in version control next to the pipeline, so a change to the rule is reviewed like a change to the logic.
- Baseline before you alert. Run the checks for a few weeks to learn normal row counts and arrival times before setting thresholds.
- Record every result. A history of pass rates shows slow decay that a single failing run never will.
Turning dimensions into numbers
- Completeness rate: rows with every mandatory field populated, divided by all rows.
- Validity rate: values passing their format and range rules, divided by all values checked.
- Duplicate count: keys that appear more than once, which should be zero for a primary key.
- Freshness: time since the last successful load, compared with the agreed arrival time.
- Reconciliation gap: the difference between a total in the platform and the same total in the source system.
Report rates per dataset and per rule, not one blended score for the whole platform. A single average hides the one failing table that finance depends on.
Keep the number of rules proportionate. A few hundred meaningful checks that someone reads beat thousands that fire constantly and are ignored.
Where should data quality checks run: ingest, transform or serve?
Run checks at all three points, because each catches a different kind of problem and the cost of a fix rises the further bad data travels.
At ingest
Check what arrived against what the source promised: schema, row counts, freshness and obvious validity. Stop or quarantine a load that fails badly, rather than letting it overwrite yesterday's good data.
After each transformation
Check the logic: keys still unique after a join, totals unchanged after a reshape, no rows silently dropped by a filter. This is where most consistency and uniqueness checks belong. Our comparison of a data lakehouse and a data warehouse describes the raw, cleaned and modelled layers these checks sit between.
Before serving
Check the numbers consumers see: reconciliation to the source system, totals within expected ranges, metrics that agree across dashboards. Mark a report as stale when its inputs fail, instead of showing a confident wrong number.
Where data observability fits
Data observability watches the platform as a whole, tracking freshness, volume, schema changes and lineage across every table, often without a rule written for each. It finds problems nobody anticipated. Explicit checks encode what the business has said must be true. Most teams need both.
Who owns data quality and how should alerts work?
The team that produces the data owns its quality, and the team that consumes it owns the threshold. An alert goes to the producer, and the consumer is told when their report is affected.
- Name an owner per dataset. A team, not an individual, recorded in the catalogue alongside the dataset.
- Grade alerts by severity. A failed load of a finance table at month end pages someone; a small rise in nulls in a marketing field opens a ticket.
- Route to people who can act. An alert sent to a shared channel that nobody owns is the same as no alert.
- Fix the cause. The UK Government Data Quality Framework advises using root cause analysis to solve data quality issues at source rather than applying temporary fixes. A downstream patch hides the problem from everyone else who reads the same source.
- Review the noise. Each month, remove or retune rules that fired without anyone needing to act.
The data quality checklist lists the checks and ownership questions to settle for each critical dataset.
What is a data contract between producers and consumers?
A data contract is a written, versioned agreement between the team that produces a dataset and the teams that consume it, covering its schema, its meaning, its quality rules and how quickly it will be delivered.
The Open Data Contract Standard, published under the Bitol project, defines a platform-agnostic YAML format with sections that include schema, data quality, team, roles and a service-level agreement. Whether you use that standard or your own template, a useful contract records:
- The schema, with types, keys and which fields may be null.
- Definitions of each business field, so "revenue" means one thing.
- Quality rules and thresholds, drawn from the six dimensions above.
- Freshness and availability commitments.
- The owner, the support channel and how changes are announced.
The value comes from enforcement. Check the contract in the producer's pipeline, so a change that would break a consumer fails before it is deployed rather than after a report goes wrong. Version the contract, and give consumers notice before a breaking version replaces the old one.
How AKINO Labs approaches data quality
AKINO Labs builds data platforms so the numbers reconcile once, at the source, instead of in five competing spreadsheets. Our data engineering and analytics practice covers ingestion, modelling and warehousing, validates models against your own history before they inform a decision, and includes analytics enablement so your team owns the platform afterwards.
We work across AWS, Microsoft Azure and Google Cloud, with Databricks, Snowflake or open-source data stacks, and sometimes the honest answer is the platform you already own. The data platform modernisation playbook shows how quality checks fit into a wider modernisation.
If three teams are reporting three different numbers, talk to us about where they diverge.
Guides to work through
All guides and reports- Data quality checklistA checklist for making data trustworthy: ownership and definitions, completeness, accuracy, timeliness, monitoring and fixing problems where they start.Get the guide
- Data platform modernisation playbookA step-by-step playbook for modernising a data platform: assess what you have, choose a target architecture, migrate in slices, set up governance and prove value as you go.Get the guide
Questions people ask
What are the six dimensions of data quality?
Accuracy, completeness, consistency, timeliness, validity and uniqueness. The UK Government Data Quality Framework, which sets out these six, says the list can be adapted to the data an organisation holds.
What is the difference between data quality and data observability?
Data quality checks test explicit rules the business has agreed, such as unique keys or totals that reconcile. Data observability monitors freshness, volume, schema and lineage across the whole platform to catch problems nobody wrote a rule for.
How do you measure data accuracy?
Compare data with a trusted reference, such as the system of record or the original document, either through automated reconciliation or a regular sample checked by a person. It is the hardest dimension to automate fully.
What are good data quality KPIs?
The share of critical datasets meeting their agreed thresholds, the number of open data incidents, and the time taken to resolve them. Track them over time so leadership can see whether quality is improving.
Who is responsible for data quality?
The team that produces a dataset is responsible for its quality, and the teams that consume it agree the thresholds that matter to them. A data contract records both sides.
Sources
- The Government Data Quality Framework. UK Government (GOV.UK). Sets out six core data quality dimensions from DAMA UK (completeness, uniqueness, consistency, timeliness, validity, accuracy), says the list can be adapted, and advises root cause analysis to fix issues at source.
- Open Data Contract Standard. Bitol project. Describes a platform-agnostic YAML data contract with sections including schema, data quality, team, roles and service-level agreement.
Want this worked through on your own operation?
Send one sentence on what you are trying to fix. A practitioner replies with a straight view of what to build, what to buy and what to leave alone.
- A reply from a practitioner, not a sales script.
- A prioritised view of what to build, what to buy, and what to leave alone.
- No obligation. If we are not the right fit, we will say so.