Dice Simulator
Probability
Roll 1–4 dice many times; observe theoretical vs experimental.
Setup
Probabilities
Frequently asked questions
▶What does the Dice Simulator do?
The Dice Simulator is an interactive probability lab where you change inputs and the answers update live, helping you build intuition without doing the arithmetic by hand.
▶Who should use the Dice Simulator?
Students from primary to senior secondary classes, parents helping with homework, and anyone revising probability can use this lab to check answers and explore "what-if" scenarios.
▶Is the Dice Simulator free to use?
Yes. Every lab on math.suparnpatra.com is free and runs entirely in your browser : nothing is sent to a server.
▶Does the Dice Simulator work offline?
Once the page is loaded, all calculations run locally in JavaScript, so you can keep using it even on a flaky connection.
▶How accurate are the results?
Results use standard JavaScript double-precision arithmetic and the textbook formula for probability. We never display scientific notation : numbers are shown as ordinary decimals you can read at a glance.