Home · Statistics · Descriptive Statistics · Benford's Law Calculator
Benford's Law Calculator
Check a data set against Benford's law: the observed percentage of numbers starting with the digit 1, set against the 30.1% the law predicts.
What this calculator does
Check a data set against Benford's law: the observed percentage of numbers starting with the digit 1, set against the 30.1% the law predicts. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Only the first significant digit of each value is used; the headline figure is the observed percentage of values whose first digit is 1.
Benford's law predicts that percentage as log₁₀(2) ≈ 30.1%, with each higher digit rarer than the one before, down to about 4.6% for 9.
The law applies to data spanning several orders of magnitude that arise naturally — counts, prices, populations. It does not apply to assigned numbers, bounded measurements or data with a fixed number of digits, and a meaningful check needs a reasonably large list (the default has 24 values).
Worked example
With the example inputs this page opens with, the result is 33.33. Change any figure and the result updates with the same formula.
Quick reference
| Figure | Value |
|---|---|
| Result | 33.33 |
| Values used | 24 |
| Leading digit 1 | observed 33.333333% — Benford expects 30.103% |
| Leading digit 2 | observed 8.333333% — Benford expects 17.609126% |
| Leading digit 3 | observed 8.333333% — Benford expects 12.493874% |
| Leading digit 4 | observed 8.333333% — Benford expects 9.691001% |
| Leading digit 5 | observed 8.333333% — Benford expects 7.918125% |
| Leading digit 6 | observed 8.333333% — Benford expects 6.694679% |
| Leading digit 7 | observed 8.333333% — Benford expects 5.799195% |
| Leading digit 8 | observed 8.333333% — Benford expects 5.115252% |
| Leading digit 9 | observed 8.333333% — Benford expects 4.575749% |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Why should 1 be the commonest first digit?
Because real-world quantities grow multiplicatively and span many scales: a quantity spends more of its growth passing through the 100s range's low end (100–199) in logarithmic terms than the high end, so about 30.1% of values start with 1 and only about 4.6% with 9.
Does failing a Benford check prove data were faked?
No. It is a screening signal only: legitimate data that do not span several orders of magnitude, or that are rounded, capped or assigned, routinely fail it, and fabricated data can be made to pass. Auditors use it to decide where to look closer, not as proof.
How does the Benford's Law Calculator work?
Check a data set against Benford's law: the observed percentage of numbers starting with the digit 1, set against the 30.1% the law predicts. Data (list of positive numbers) → Observed percentage starting with 1 (%). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Benford's Law Calculator need?
Data (list of positive numbers) → Observed percentage starting with 1 (%). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.