Control totals

A control total is a figure calculated from a set of records, such as a count of rows or the sum of an amount field, and compared with the same figure from a trusted source. A difference shows that records were lost, added or changed.

Also called: control total · batch total · batch totals · hash total · hash totals · record count check

What it is

A control total is a summary figure computed from a group of records and compared with an independent figure for the same group. It tests whether the group arrived and was processed completely and without alteration, without checking each record one by one.

The usual forms are:

ISACA describes batch controls as checks on the correctness of batches of input, in two forms: sequence numbering of records and control totals of values in selected fields. It describes a hash total as a total of a numeric field that is checked against a control total of the same field.

The figure from the trusted side is the expected total. The figure computed from the received or processed data is the actual total. The two should be equal.

Why it matters

Data moves between systems through files, interfaces and queries. A row can be dropped by a failed load, duplicated by a join or altered by a transformation, and the loss is invisible in the result itself.

The Government Accountability Office lists record counts, control totals and arithmetic totals of important data among the ways to test that source documents are not lost, added or changed between processing stages. Its audit manual describes completeness and accuracy as the core objectives of application controls over input, processing and output.

Worked example

Illustrative numbers. A ledger extract is sent to a reporting database. The sending system states 1,200 rows and a total amount of 5,000,000. The reporting database holds 1,198 rows and a total of 4,950,000 after the load.

The record count differs by 2 and the amount differs by 50,000. The analyst compares the two row lists, finds two rows rejected because of a formatting error, corrects them and reloads. The load then shows 1,200 rows and 5,000,000, and the totals agree.

If the counts agree but the amounts differ, a value was changed during processing. If the amounts agree but the counts differ, offsetting items were added or removed, which is why both checks are taken.

How to read it

A match shows that the batch is complete and unaltered in the field tested. It does not show that the data is right at source, or that fields not totalled are intact.

A difference is a signal to investigate, not a diagnosis. The size and sign of the difference point to the kind of fault: a whole row missing, a duplicate, or a changed value.

Assumptions

Who uses it

Common confusions

8Roles that need it

9Skills behind it

Sources behind this page (3) · Updated 5 Nov 2026

Concept