StatGardenREF. DESK
Calculators/Statistics/Benford's law leading-digit check
Statistics

Benford's law leading-digit check calculator

Compares a data set's leading digits against the distribution natural data follows.

What this calculator does

Benford's law leading-digit check works out compares a data set's leading digits against the distribution natural data follows. Enter your own figures above and the answer updates as you type: nothing is fixed in the code, so the result reflects exactly the numbers you supply.

The formula this calculator evaluates is printed under the tool and explained below, so you can check the working by hand or reuse it in a spreadsheet.

The formula

FormulaExpected share of leading digit d: P(d) = log₁₀(1 + 1/d), for d = 1…9

The inputs explained

FieldWhat to enter
Data (comma or space separated)A list of numbers, separated by commas or spaces.