Buffon's Needle π Estimation

Drop needles onto a wooden floor with parallel cracks to estimate π! This classic 1777 experiment by Georges-Louis Leclerc, Comte de Buffon, demonstrates how random sampling can compute deterministic mathematical constants.

P(crossing) = 2ℓ / (πd)
Therefore: π ≈ 2ℓn / (dk)  where k = crossings out of n drops
✓ Valid when ℓ ≤ d (enforced by slider)
Crossing
Not Crossing

π Estimation Convergence

π ≈ —
Error: —
ℓ = 1.6
d = 1.6
100
0
Total Needles
0
Crossings
0.0%
Observed Rate
Theoretical Rate
Std Error (π̂)