science tinker

Probability simulator

Run an experiment once, ten times or ten thousand times. Watch the bars (experimental probability) settle towards the dashed lines (theoretical probability): the law of large numbers in action.

Theoretical and experimental probability

Theoretical probability is worked out by reasoning: a fair coin has 2 equally likely outcomes, so P(heads) = ½. Experimental probability (relative frequency) comes from doing the experiment: heads ÷ number of flips. With a few trials they can be far apart. With thousands, the experimental probability gets close to the theoretical value. This is the law of large numbers.

Two dice

When you add two dice, 7 is the most likely total because six of the 36 equally likely pairs make 7 (1+6, 2+5, 3+4, 4+3, 5+2, 6+1), but only one pair makes 2 or 12. Draw a sample-space grid to see why.

Independent events

Each flip or roll is independent: the coin has no memory. After five heads in a row, the chance of heads next time is still ½. Believing otherwise is called the gambler’s fallacy. See all the probability rules on the formula sheet and analyse results with the statistics calculator.

Results use your browser’s secure random number generator, so every run is different.

Questions students ask

What is the law of large numbers?

The law of large numbers says that as you repeat an experiment more and more times, the experimental probability gets closer to the theoretical probability.

Why is 7 the most common total with two dice?

Seven can be made in 6 of the 36 equally likely ways, more than any other total, so P(7) = 6/36 = 1/6.

If a coin lands heads five times, is tails more likely next?

No. Each flip is independent, so the probability of tails is still ½. Thinking otherwise is the gambler’s fallacy.

Check yourself

3 quick questions. Tap an answer to see if you are right.

1. What is the probability of rolling a 6 on a fair dice?

2. You flip a fair coin 10 times and get 7 heads. What does this show?

3. What is the probability of NOT rolling a 6?

More math tools

Know someone who needs this?

It’s free for every student. Send it to your class group chat.

Updated · Free, no sign-up ·

Connected tools

The same idea from another angle, across the site.