Probability Simulator

About this tool

Probability Simulator turns the law of large numbers into something a class can watch. Choose coins, dice with any number of sides, a custom spinner or marbles drawn from a bag with or without replacement, then ask the class to predict before you run. Run one trial at a time, then 10, 100, 1,000 or up to 100,000. A bar chart sets the experimental relative frequency beside the exact theoretical probability, shown as a fraction and a percentage, and a second graph follows one outcome as the trials pile up. A run code lets every device repeat the same experiment, and a table lists the numbers behind the chart.

Classroom ideas

  • Ask the class to predict the most common sum of two dice, then run 100 and 10,000 trials and compare with 6/36.
  • Compare 10 flips with 10,000 flips of three coins to show why small samples wander and large ones settle near 3/8.
  • Build a bag with two colours, draw with and without replacement and ask why the probabilities differ.

Related tools