Skip to content

Home / Surveying / Galton board

Galton board

Enter the mean and the standard deviation and watch balls fall between the pegs and build the normal curve, like on a Galton board.

Parameters

Board

Result

How it works

At each peg the ball goes left or right with equal chance. After n rows, the bin where it lands is the number of moves to the right: a binomial distribution with mean n/2 and standard deviation √n/2. The more rows and balls, the more the histogram looks like the normal curve (the De Moivre–Laplace theorem, a special case of the central limit theorem). Here the bins are scaled to your mean and standard deviation: the step between bins is σ/(√n/2), so the theoretical distribution has exactly the σ you entered. The browser draws the balls at random; two runs never match, and with few balls the shape is ragged, as expected.

References

GALTON, F. Natural Inheritance. London: Macmillan, 1889. GHILANI, C. D.; WOLF, P. R. Adjustment Computations. 4th ed. Wiley, 2006 (normal distribution and errors).