December 4, 2026

Buffon’s Needle, Simulated: How Slowly It Finds Pi, and Why Lazzarini’s 1901 Result Doesn’t Add Up

Matchsticks scattered across evenly lined paper

In 1901 Mario Lazzarini reported dropping a needle on lined paper 3,408 times, counting 1,808 crossings, and getting π correct to six decimal places: 3.1415929. Ten million simulated drops, run for this post, managed only two correct decimals. A six-decimal answer from 3,408 drops isn’t impossible, but the arithmetic shows it required landing on one exact count out of the few dozen plausible ones, and the experiment’s numbers point to how that was arranged. Buffon’s needle is a lovely way to see π in probability. It’s a terrible way to calculate it.

Video: Numberphile on YouTube

The problem

Buffon’s question

Draw parallel lines a distance d apart and drop a needle of length L, no longer than d, at random. What’s the chance it crosses a line? The answer, worked out by Georges-Louis Leclerc, Comte de Buffon, in the 18th century, is 2L/(πd). Since π appears in the probability, counting crossings over many drops gives an estimate of π: drops × 2L / (crossings × d).

Why π shows up

The needle’s angle is random over a half-turn, and whether it crosses depends on the sine of that angle. Averaging a sine over a range of angles brings in π. The lines and needle are straight; the circle hides in the randomness of the direction. No circle is drawn anywhere on the paper, yet the probability can only be written with π in it.

Lazzarini’s setup

USC mathematician Sergey Lototsky’s lecture notes on Buffon’s needle give Lazzarini’s dimensions: lines 30 mm apart and a needle 25 mm long, with 3,408 tosses and 1,808 crossings. Plugging in gives 3408 × 5 / (1808 × 3) ≈ 3.14159292.

A sewing needle

How slowly it converges

The random error

With Lazzarini’s dimensions, the chance of a crossing is 2 × 25 / (π × 30) = 0.5305. The number of crossings in n drops follows a binomial distribution, and its spread sets the uncertainty in the π estimate. That uncertainty shrinks only with the square root of the number of drops:

Drops Typical error in the π estimate (one standard deviation)
100 0.30
1,000 0.094
10,000 0.030
1,000,000 0.0030
100,000,000 0.00030

Six decimals needs tens of trillions

To get a standard deviation of 5 × 10⁻⁷, enough to trust the sixth decimal, takes about 3.5 × 10¹³ drops. At one drop per second, that’s over a million years.

Simulated drops

A script dropped virtual needles with Lazzarini’s dimensions:

Drops Crossings π estimate Error
3,408 1,772 3.20542 +0.064
100,000 53,223 3.13148 −0.010
1,000,000 530,118 3.14395 +0.0024
10,000,000 5,306,900 3.14057 −0.0010

Ten million drops landed within about 0.001 of π. A run of 3,408 drops, the same size as Lazzarini’s, missed by 0.064. One honest irony: the simulation needs π to generate random angles, so it can’t discover π, only show how the method behaves. A physical experiment has no such shortcut, but it trades it for other problems: needles that bounce, lines of uneven width, and the judgment call of whether a needle touching a line counts as a crossing. Each of those adds error that the formula ignores.

Choosing the needle

Length matters

The uncertainty depends on the crossing probability, which depends on the ratio of needle length to line spacing. Longer needles cross more often, and more crossings mean a more informative count. For 10,000 drops:

Needle length ÷ line spacing Chance of crossing Typical error in π (10,000 drops)
0.10 0.064 0.121
0.25 0.159 0.072
0.50 0.318 0.046
0.75 0.477 0.033
0.83 (Lazzarini’s 25 ÷ 30) 0.531 0.030
1.00 0.637 0.024

The best short needle

For needles no longer than the line spacing, the formula is simplest and the error is smallest when the needle exactly equals the spacing. A matchstick dropped on floorboards of matching width is about as good as the classic setup gets. Even then, 10,000 drops leave an error of about 0.024: the second decimal is uncertain.

No setup escapes the square root

Changing the ratio moves the error by a factor of five across this table. Adding drops is the only way to keep improving, and every halving of the error costs four times as many drops. No choice of needle turns a few thousand drops into six correct decimals.

A notebook, pen, ruler and pencil on a desk

Lazzarini’s suspicious count

Exactly the expected value

With these dimensions, 3,408 drops should produce 3,408 × 0.5305 = 1,808.0 crossings on average, with a standard deviation of about 29. Lazzarini reported exactly 1,808. The chance of hitting that exact count is about 1.4 percent.

Only one count works

Reported crossings π estimate
1,806 3.145072
1,807 3.143331
1,808 3.141593
1,809 3.139856
1,810 3.138122

Of all the plausible counts, only 1,808 gives six correct decimals. One crossing more or fewer drops the accuracy to two decimals. The result isn’t a sign of a good experiment; it’s a sign that 1,808 was the number needed.

The fraction hiding inside

Lototsky’s notes show where the precision comes from. 3,408 = 213 × 16 and 1,808 = 113 × 16, so the estimate reduces exactly to 355/113, a fraction known for centuries as an excellent approximation of π, the best possible with three-digit numerator and denominator. Lazzarini’s experiment didn’t measure π to six decimals. It reproduced 355/113.

How the result could be arranged

The stopping strategy

Lototsky’s notes describe the likely method: with these dimensions, any multiple of 213 tosses with the same multiple of 113 crossings gives 355/113. Lazzarini could toss in batches of 213 and stop the first time the total crossings hit exactly 113 times the number of batches. He stopped after the 16th batch.

Simulating the strategy

A second simulation ran that plan 200,000 times, checking after each batch of 213 tosses and giving up after 50 batches:

Outcome Share of simulated experimenters
Hit 355/113 at some check within 50 batches 45.1%
Hit it within the first 16 batches 29.1%
Median batch at which success came 10th

A plausible route

Nearly a third of simulated experimenters using this plan would have reached 355/113 by the 16th batch, the point where Lazzarini stopped. Stopping at a convenient moment turns an unremarkable experiment into an apparently astonishing one. The 1994 analysis by Lee Badger in Mathematics Magazine, cited in Lototsky’s notes, laid this out. A Nature commentary the same year noted that Badger called the result “lucky” and suggested that had it been published in 1994 rather than 1901, it would be called “a barefaced fraud.”

A stopwatch

An honest experiment for comparison

Wolf’s 5,000 tosses

Lototsky’s notes also describe an earlier, more ordinary experiment by Wolf, with lines 45 mm apart and a needle 36 mm long, made 5,000 tosses and got 2,532 crossings. That gives an estimate of about 3.1596, off by 0.018.

About what the statistics predict

For 5,000 tosses with those dimensions, the expected error is around 0.044, so Wolf’s miss of 0.018 is entirely typical. His result looks like a real experiment. Lazzarini’s error, about 0.0000003 against an expected 0.05, is more than 100,000 times smaller than the statistics predict.

Measurement problems on top

Even with perfect counting, Lazzarini’s precision would require knowing the needle’s length and the line spacing to within a few parts in ten million. Lototsky’s notes point out that this kind of accuracy in measuring d and L is hard to achieve, and the Nature commentary raises the same question about 1901 equipment. The random error and the measurement error each rule out six decimals separately.

What Buffon’s needle is good for

A demonstration, not a method

The needle is a beautiful example of π appearing where no circle is drawn, and of using randomness to estimate a number. As a way to calculate π, it’s hopeless. Every extra decimal requires a hundred times more drops.

Monte Carlo methods

The same square-root convergence applies to every Monte Carlo calculation, from physics simulations to financial risk models. Buffon’s needle is the oldest clear illustration of the trade: random sampling answers almost any question, slowly.

The lesson in Lazzarini

The Lazzarini story is just as useful as the math. A result far more precise than its sample size allows is a reason to ask when, and why, the experiment stopped. Optional stopping, quitting the moment the data look good, can manufacture precision out of nothing, and the 1901 needle shows exactly how.

Sources

  • Sergey Lototsky, USC, lecture notes on Buffon’s needle: https://dornsife.usc.edu/sergey-lototsky/wp-content/uploads/sites/211/2023/06/BuffonNeedle.pdf
  • Nature 370 (August 4, 1994), commentary on Badger’s analysis of Lazzarini: https://www.nature.com/articles/370323a0.pdf

719 Posts

Peter Kalafatis writes and edits X9M8. He holds a bachelor's degree from LIU Post and a master's in Media Studies from The New School, with academic work in the philosophy of science, human behavior, AI, and memetics.

View All Posts

Leave a Reply

Your email address will not be published. Required fields are marked *