Benford's Law
Home · Interesting Math Problems · Problem 19 · Growth & numbers

1. The problem

Take a long list of real numbers — populations of towns, river lengths, electricity bills, share prices, invoice amounts. Look only at the first digit of each number. How often is it a 1? A 9?

There are nine possible first digits, so surely each turns up about 1/9 ≈ 11 % of the time?

2. The answer

30.1 %
of first digits are 1 in many natural data sets.
4.6 %
are 9. Each digit d appears with chance log10(1 + 1/d).
First digit123456789
Benford30.1 %17.6 %12.5 %9.7 %7.9 %6.7 %5.8 %5.1 %4.6 %

3. Why

Think of a quantity that grows by a percentage, like money at interest. Going from 1,000 to 2,000 needs a 100 % rise; going from 9,000 to 10,000 needs only 11 %. So the number spends far longer with first digit 1 than with 9.

On a logarithmic ruler, numbers starting with 1 take up the stretch from log 1 = 0 to log 2 = 0.301 — 30.1 % of each decade. Numbers starting with 9 take log 10 − log 9 = 0.046. Data that are spread over several orders of magnitude, and evenly spread on a log scale, follow this:

P(first digit = d) = log10(d + 1) − log10(d) = log10(1 + 1/d)

The law is also scale-invariant: convert all the prices from rupees to dollars and the first-digit pattern stays the same. Benford's distribution is the only one with that property.

4. Test some data

Data set:

Numbers counted: 0 · last: – · average gap from Benford (MAD): –

■ your data   ● Benford

5. Fine print

  • It does not apply to numbers with a narrow fixed range (adult heights, exam marks, PIN codes) or to assigned numbers like phone numbers.
  • Forensic accountants (after Mark Nigrini) use it to flag invented figures: people making up numbers tend to spread first digits too evenly. A mismatch is a reason to look closer, not proof of fraud.
  • Simon Newcomb noticed it in 1881 — the early pages of log tables were more worn — and Frank Benford tested it on 20,000 numbers in 1938.
  • For MAD on first digits, Nigrini's rough guide: below 0.006 close conformity, 0.006–0.012 acceptable, 0.012–0.015 marginal, above 0.015 nonconformity.