Room for ChanceThe science of chance

Free interactive tool

Lottery Monte Carlo Simulator

Run reproducible k-of-n experiments in your browser and compare adjacency and sums with exact theory.

Inputs and results stay in this page. These tools set no cookies, save no browser preferences and send no input data to our server. A CSV downloads only when you request it. Displayed probabilities are rounded; combination counts use exact integer arithmetic.

Understand the result

Monte Carlo Simulation: Learn Probability by Repeating the Model explains the derivation and common interpretation errors. Compare it with the published Consecutive numbers: the exact answer meets a million draws.

All six possible adjacent-pair counts in 1,000,000 synthetic 6/49 draws. A run of three contributes two pairs. The figure counts pairs, not maximal runs.
Figure 1. All six possible adjacent-pair counts in 1,000,000 synthetic 6/49 draws. A run of three contributes two pairs. The figure counts pairs, not maximal runs.

Related game generators

Generate a valid line for a game without treating this calculation as a prediction.

Explore all ten tools · See reproducible experiments