The Needle That Knew Pi

Drop a needle across a ruled page. Count how often it lands across a line. That fraction holds π — really, with nothing circular anywhere in the setup. Then meet the 1901 experiment that “measured” π to six digits with a method that can barely resolve one.

In 1733 the naturalist Georges-Louis Leclerc, Comte de Buffon, asked an idle-seeming question: drop a needle on a floor of evenly spaced boards — what is the chance it lands across a crack? The answer, which he published in 1777, is startling. If the needle is no longer than the gap between lines, the probability it crosses one is exactly p = 2L / (π·d), where L is the needle’s length and d the line spacing. There is a π sitting in a problem with no circle in sight — it sneaks in through the needle’s angle, which is uniform on a half-turn. Rearrange, and you can run it backwards: throw the needle many times, count the crossings, and π ≈ 2L·N / (d·H) falls out of the tally. Below, it does.

Drop needles · watch π arrive

throws
0
crossings
0
π estimate
|error|

The estimate lurches at first, then settles — but slowly. This is the method’s defining weakness, and the key to everything that follows: the error shrinks like 1/√N. Quadruple the throws and you only halve the error. To pin one more decimal place you need about a hundred times as many needles. A few thousand throws buys you π ≈ 3.1, comfortably; the second decimal is a fight; the third is a different sport entirely. Hold that fact. It is the blade the next story falls on.

The man who got six digits

In 1901 an Italian, Mario Lazzarini, reported a Buffon experiment of 3,408 throws with a needle five-sixths as long as the line spacing. He counted 1,808 crossings and announced π ≈ 3.1415929 — the celebrated fraction 355/113, correct to six decimal places. It is one of the most-quoted results in popular mathematics. It is also, on its face, impossible: a method whose error bar is ±0.05 does not get to report six digits. So what happened? Drag the crossing count and watch.

Lazzarini’s razor · N = 3,408, L/d = 5/6

π estimate = 5680/H
distance from π
how likely is this H?
lands on 355/113?

Two things show up the moment you drag it. First, the target is a razor. Only H = 1,808 lands on π. One crossing either way — 1,807 or 1,809 — and the estimate jumps to the third decimal (3.1433 or 3.1399). There is no “close.” You hit the exact integer or you are nowhere near six digits. Second, the peak isn’t even unlikely. Landing on 1,808 happens about 1.4% of the time — roughly one honest run in seventy. Not a miracle. Just uncommon.

And here is the tell that turns “uncommon” into “arranged.” The expected number of crossings for his exact setup is N·p = 3408 × 5/(3π) = 1808.0002. He didn’t pick 3,408 needles at random — 3,408 is the throw count whose average outcome is 1,808, and 1,808 crossings give precisely 355/113. He chose the experiment so that its mean result would be a pre-existing famous constant, then ran it until a perfectly ordinary ~1.4% fluctuation delivered that mean. The six digits were never measured. They were borrowed from a number Zu Chongzhi had already found in the fifth century — 355/113, the best rational approximation of π with so few digits.

To legitimately resolve π to the precision Lazzarini claimed, the needle method would need on the order of 1014 throws — about thirty billion times his 3,408. One needle a second, without sleeping, would take longer than the age of the universe. That is the gap between a measured digit and a planted one.

The check 18/18 green

Everything above is recomputed by a deterministic verifier (research/buffon-needle/verify.mjs, seeded so it reproduces exactly):

What is, and isn’t, settled here

The mathematics is not in dispute: Buffon’s formula is correct, the needle method genuinely estimates π, and Lazzarini’s reported precision is impossible to obtain honestly from 3,408 throws — all of that is recomputed above. What remains a matter of historical reading is why he did it. Lee Badger’s 1994 analysis in Mathematics Magazine shows the result must have been contrived and walks through how one rigs such an experiment to any desired accuracy. Others, like Pepijn van Erp, read it more gently — as a knowing pedagogical stunt rather than a fraud meant to deceive. We can’t resolve a dead man’s intent, and don’t pretend to. The verifiable claim is narrower and sturdier: the six digits were borrowed from a constant already known, not extracted from the needles. The needles, dropped honestly, will tell you π ≈ 3.1 and make you work for the rest.

Apparatus

Sources. Buffon (G.-L. Leclerc), posed 1733, published 1777 (“Essai d’arithmétique morale”): the crossing probability p = 2L/(πd) for a short needle (L ≤ d). Lazzarini, M. (1901): 3,408 throws, L/d = 5/6, reported π ≈ 3.1415929 = 355/113. Badger, L. (1994), “Lazzarini’s Lucky Approximation of π,” Mathematics Magazine 67(2), 83–91 — the definitive statistical debunk. The fraction 355/113 is Zu Chongzhi’s Milü (5th c.), the best rational approximation of π with numerator and denominator under five digits.

What is proven vs. assumed. The formula, the exact arithmetic of 17040/5424 = 355/113, the ±0.05 standard error, and the 1.4% / 1014 figures are computed, not asserted — see the verifier. The short-needle model assumes L ≤ d (Lazzarini’s 5/6 satisfies it). Monte-Carlo figures use a fixed seed, so they reproduce exactly but are estimates of the underlying probabilities (their analytic and empirical values agree to within the reported tolerances). Lazzarini’s intent is a historical inference, named as such above — not something we verify.

Run it yourself. node research/buffon-needle/verify.mjs18/18 checks passed.