Skip to the page
Explorable Illusions

See for yourself — then run it 100,000 times.

Benford’s Law: Why 1 Beats 9 as a Leading Digit

Explorable Illusions · Published

Of the first 1,000 powers of 2, 301 start with the digit 1. Only 45 start with 9, and Benford's law describes the pattern: in lists like this one, the leading digit d turns up with a share of log10(1 + 1/d), about 30.1% for 1 and 4.6% for 9, not 1 in 9 each. Simon Newcomb printed the same nine shares in 1881, in the American Journal of Mathematics. A 2020 primer by Arno Berger and Theodore Hill shows why powers of 2 follow the law and lists many kinds of data that do not.

Protocol · 4 parts
Bar chart of leading digits of 2^1 to 2^1000: 301 start with 1, 45 with 9, each bar close to the law's mark.

Open the diagram full size

The first 1,000 powers of 2, sorted by leading digit. Purple bars are counts; green marks show what Benford's law predicts for 1,000 numbers."Leading digits of the first 1,000 powers of 2" by Explorable Illusions — https://explorableillusions.com/probability/benfords-law/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

At a glance

Name
Benford's law
Also called
First-digit law
First recorded
Earliest source read for this page: Simon Newcomb, 1881, a two-page note in the American Journal of Mathematics. The law takes its name from Benford, whose 1938 paper is known here only from a reference list.
Type
Number pattern: how often each digit leads a number in some lists and data sets
Main explanations
For powers of 2: follows from a theorem of Weyl, as Berger and Hill show. log10(2^n) = n x log10(2), and because log10(2) is irrational these values spread evenly once whole numbers are dropped. For real-world data: no simple general explanation is known.
On this page
Static figures and recomputable data: exact leading-digit counts for five program-made lists, including the first 1,000 powers of 2 (301 start with 1)

benfords-law-glance.csv (CSV) · what the file holds and its license

If all nine digits were equally likely, about 111 of those 1,000 powers would start with 9. On this page, the gasp point is the last bar: 45, close to the 46 the law predicts.

What does Benford's law say?

Read the first nonzero digit of a number: 2,019 starts with 2, and 0.0381 starts with 3. Benford's law, also called the first-digit law, says what share of the numbers in a list start with each digit d: log10(1 + 1/d).

For d = 1 that is log10 2, about 30.1%, and for d = 9 it is log10(10/9), about 4.6%. So in a list that follows the law, 1 leads about 6.6 times as often as 9.

Bars for digits 1 to 9 falling from 30.1% to 4.6%, with a dashed line at 11.1% for equal shares.

Open the diagram full size

The nine shares Benford's law gives, against the 11.1% each digit would get if all nine were equally likely."Benford's law shares for leading digits 1 to 9" by Explorable Illusions — https://explorableillusions.com/probability/benfords-law/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

The nine shares add up to exactly 1. Each share is the log of (d + 1)/d, and multiplying 2/1 by 3/2 and so on up to 10/9 gives 10, whose log10 is 1. Berger and Hill define the law as a property of a whole list, so a list either follows it or does not. Luck evening out, the idea behind the gambler's fallacy, plays no part here: every power of 2 is fixed, and the uneven shares come from the rule that makes the list.

Where did Newcomb see it?

Simon Newcomb opened a two-page note in 1881 with a remark about books of logarithms. Anyone who used them much, he wrote, would notice “how much faster the first pages wear out than the last ones.” His next sentence gave the pattern: “The first significant figure is oftener 1 than any other digit, and the frequency diminishes up to 9.”

Engraved portrait of Simon Newcomb, a bearded man in a dark jacket and bow tie.
Simon Newcomb in an engraving printed in Popular Science Monthly in 1877, four years before his note on digits."Simon Newcomb (Popular Science Monthly, vol. 11, 1877)" by Unknown author — https://commons.wikimedia.org/wiki/File:PSM_V11_D530_Simon_Newcomb.jpg — Public domain (US: published 1877 in Popular Science Monthly, vol. 11; EU: presumed, as an anonymous engraving published in 1877, more than 70 years ago (no engraver named on the file page))

A log table lists numbers in order. In a table with one line for each number from 100 to 999, each leading digit gets 100 of the 900 lines. If the numbers people look up follow the law, the pages for 1 get 30.1% of the look-ups and the pages for 9 get 4.6%. This is the page's model of the wear, not a count of any real book.

Two bars of 900 lines: by space each digit gets 11.1%; by Benford look-ups 1 gets 30.1% and 9 gets 4.6%.

Open the diagram full size

The same 900 lines counted two ways: by space in the book and by use."A 100-to-999 table: lines per leading digit against Benford look-ups" by Explorable Illusions — https://explorableillusions.com/probability/benfords-law/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Newcomb's own rule was that “all mantissæ of their logarithms are equally probable.” For a number of 1 or more, the mantissa is the part of its logarithm after the decimal point. On page 40 he printed the chance of each first digit, from 0.3010 for 1 down to 0.0458 for 9, and this page's program matches all nine values when it rounds log10(1 + 1/d) to four places. The law takes its name from Benford, whose 1938 paper in the Proceedings of the American Philosophical Society appears in Berger and Hill's reference list; this page did not read that paper. The Necker cube is another entry that starts from a plain printed figure, one that can flip between two readings.

Why do powers of 2 follow it?

Picture a ruler marked by logarithms, running from 1 to 10, where the distance from 1 to any number t is log10 t. The stretch from 1 to 2 takes 30.1% of the length. The stretch from 9 to 10 takes 4.6%. A number starts with 1 when its spot on this ruler, after dropping whole powers of 10, lands in the first stretch.

Log ruler from 1 to 10 with 1-to-2 at 30.1% of the length and 9-to-10 at 4.6%; dots mark 2 to 1024.

Open the diagram full size

A log ruler from 1 to 10, with 2, 4, 8 and on up to 1024 placed by the part of their log10 after the decimal point."Log ruler with the powers of 2 from 2 to 1024" by Explorable Illusions — https://explorableillusions.com/probability/benfords-law/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Each doubling moves a number log10 2, about 0.30103, along the ruler, wrapping back to 1 whenever it passes 10. Of the ten numbers 2 through 1024, three land in the first stretch: 16, 128 and 1024. Because log10 2 is irrational, the steps never land on the same spot twice. In the long run they spread evenly over the ruler, a classical theorem of Weyl that Berger and Hill apply to this exact example.

So the share of powers of 2 that start with 1 tends to log10 2. In the first 10,000 powers, this page's count is 3,010. As with the birthday paradox, the surprise fades once you count the right thing, which here is the length of each stretch of the ruler.

When does Benford's law fail?

Many lists do not follow the law. Berger and Hill give powers of the square root of 10 as one example: 10^(n/2) runs 3.16…, 10, 31.6…, 100, and so on, so every term starts with 1 or 3. This page's program counted the first 1,000 terms: 500 start with 1, 500 start with 3, and no other digit ever leads.

Bar chart of leading digits of 10^(n/2), n = 1 to 1000: 500 start with 1, 500 with 3, none with any other digit.

Open the diagram full size

Powers of the square root of 10: in 1,000 terms, only two digits ever lead."Leading digits of 10^(n/2), n = 1 to 1000" by Explorable Illusions — https://explorableillusions.com/probability/benfords-law/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

The primer lists other misses. Neither the counting numbers 1, 2, 3 and on nor any list drawn evenly from a range, however wide, follows the law.

A smooth bell curve can miss badly too. For one centered on 7 with a standard deviation of 1, this page's calculation gives a leading 1 only about 0.14% of the time, against 30.1% under the law. For real-world data, Berger and Hill write that no simple explanation is known for why the law shows up.

Check it yourself

Every count below is exact: the program wrote out each number in full (for 10^(n/2), its whole-number part) and read its first digit. No sampling is involved. Every list is made by a rule, not taken from outside data.

Leading digitlog10(1 + 1/d), 4 placesNewcomb 1881, p. 402^1 to 2^10002^1 to 2^100003^1 to 3^100010^(n/2), n = 1 to 10001 to 999
10.30100.30103013,010300500111
20.17610.17611761,7611770111
30.12490.12491251,249123500111
40.09690.096997970980111
50.07920.079279791790111
60.06690.066969670660111
70.05800.058056579590111
80.05120.051252512520111
90.04580.045845458460111

Download the digit counts (CSV) · what the file holds and its license

Now break it

Change one thing about how the list is made: add instead of multiply.

Bar chart of leading digits of 3^1 to 3^1000: 300 start with 1, 46 with 9, close to the law's marks.

Open the diagram full size

Before: 3^1 to 3^1000, a list made by multiplying. 300 of the 1,000 start with 1."Leading digits of the first 1,000 powers of 3" by Explorable Illusions — https://explorableillusions.com/probability/benfords-law/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Swap doubling for tripling first, and the shape holds: 300 of the first 1,000 powers of 3 start with 1, and 46 start with 9. Berger and Hill list powers of 3 among the lists that follow the law.

Bar chart of leading digits of the whole numbers 1 to 999: every digit leads exactly 111 times.

Open the diagram full size

After: every whole number from 1 to 999, a list made by adding 1. Every digit leads exactly 111 times."Leading digits of the whole numbers 1 to 999" by Explorable Illusions — https://explorableillusions.com/probability/benfords-law/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Now count up by 1 instead. Every digit leads exactly 111 times, and the bar for 1 drops from 300 to 111. The same flat result holds for any stretch from 1 to a number made only of 9s.

Try this next: Galton board — beads that pile up into a bell shape, a kind of spread that does not follow Benford's law.

Sources

  1. Simon Newcomb, “Note on the Frequency of Use of the Different Digits in Natural Numbers,” American Journal of Mathematics 4 (1881): 39–40. https://archive.org/details/sim_american-journal-of-mathematics_1881_4Read: full text (pages 39–40), checked against the page images
  2. Arno Berger and Theodore P. Hill, “The Mathematics of Benford’s Law – A Primer,” arXiv:1909.07527, version 3 (2020). https://arxiv.org/abs/1909.07527Read: full text

Cite this page

Explorable Illusions. (2026). Benford’s Law: Why 1 Beats 9 as a Leading Digit. Explorable Illusions. Published 2026-11-13. https://explorableillusions.com/probability/benfords-law/

Add the date you read it. Figures and CSV files on this page are CC BY 4.0 unless their credit line says otherwise.

How pages here are checked Corrections log Report an error: contact@explorableillusions.com

More in Probability Playground

  • Illustration: three doors, one standing open with a goat inside, two still closed.
    Probability Playground

    Monty Hall Problem: Standard Rules Make Switching Win 2 in 3

    Under the standard rules, switching wins the Monty Hall problem 2 times in 3, because the host knows where the car is. See the count and 100,000-round runs.

    Picture credit (illustration)

    Illustration: Explorable Illusions. Generated schematic image — not a photograph, historical record, or test stimulus. Reuse: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), to the extent any rights exist.

  • Illustration: a party room with fewer than twenty adults in everyday clothes and a few floating balloons.
    Probability Playground

    Birthday Paradox: 23 People Make 253 Pairs That Can Match

    In a room of 23 people, a shared birthday is slightly more likely than not: 50.7%, exact, under the standard 365-day model. Count the 253 pairs and see why.

    Picture credit (illustration)

    Illustration: Explorable Illusions. Generated schematic image — not a photograph, historical record, or test stimulus. Reuse: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), to the extent any rights exist.

  • Lower half of a glass-fronted board: a triangle of pins above beads collected in columns under a white curve
    Probability Playground

    Galton Board: On a Fair Board, the Bell Is a Count of Paths

    On a fair 12-row Galton board, exactly 2,508 of 4,096 paths, about 61.2%, end in the middle three bins. Run the board and see where the bell comes from.

    Picture credit

    "Galton Quincunx, 1933 – Museum of Science and Industry (Chicago)" by Daderot — https://commons.wikimedia.org/wiki/File:Galton_Quincunx,_1933_-_Museum_of_Science_and_Industry_(Chicago)_-_DSC06712.JPG — CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/); modified: cropped to a 4:3 frame on the lower half of the board (lower pin triangle, bead columns, Normal Frequency Curve), removing the upper half, the museum placard and the stand; a strip of a neighbouring crate remains at the right edge; scaled to 1600 x 1200 px