Why a tossed stick can reveal π

The trick works when identical sticks are tossed onto a surface marked with parallel lines. Let the distance between lines be d and the stick’s length be L, with L no greater than d. If each toss lands in a random position and direction, the chance of crossing a line is

crossing chance = 2L ÷ (πd).

The geometry behind the formula is simple. A stick angled across the lines can reach farther from its centerline than one lying parallel to them. For an angle between 0 and 90 degrees, its reach across the lines is half its length multiplied by the sine of that angle. The farther the center lands from a line, the less likely the stick is to reach it. Averaging those possibilities across all angles and landing positions produces the factor 2/π.

Turning crossings into an estimate

Suppose you toss the stick N times and count C crossings. The observed crossing fraction, C/N, approximates the true crossing chance. Rearranging the relationship gives an estimate:

π ≈ 2LN ÷ (dC).

For example, if the stick is half as long as the gap between lines, crossings should occur on roughly one out of every π tosses. Count enough tosses, and that rate can be used to estimate π.

Why many tosses matter

Chance makes a small batch unreliable: a few unusually angled or positioned sticks can shift the crossing count substantially. With more tosses, those fluctuations tend to balance out, making the observed fraction more representative. The method also depends on the setup matching its assumptions: sticks should be tossed without favoring particular positions or directions, and crossings must be counted consistently.

It is a striking bridge between geometry and probability: the value of π appears not in a circle, but in the long-run frequency of sticks crossing straight lines.