Actual vs expected
- 10 · expected 0 (0)
- 20 · expected 0 (0)
- 30 · expected 0 (0)
- 40 · expected 0 (0)
- 50 · expected 0 (0)
- 60 · expected 0 (0)
Result
30 more rolls until the result
Before you trust the result
- A fair die can still get a suspicious result by chance: at the 0.05 level, about 1 test in 20.
- "No evidence of bias" does not prove the die is fair. It means this many rolls did not show a difference.
- If you keep watching the result while recording, you are more likely to see a suspicious result at some point. Decide how many times to roll first, then read the result once you finish.
Dice fairness test
Record the rolls of a real six-sided die and check whether any face comes up more or less often than chance would allow.
How to roll
Use the same die, roll it the same way every time on a flat surface, and tap the face that lands up. Decide in advance how many times you will roll — 60 or more is recommended — and only read the result once you finish.
What the test compares
A fair six-sided die should show each face about one sixth of the time, so with N rolls the expected count for each face is N ÷ 6. The chi-square goodness-of-fit test adds up the squared gaps between actual and expected counts, each divided by the expected count, and compares the total with what chance alone would produce with 5 degrees of freedom. The p-value is the probability of a gap at least this large if the die were fair.
What the result cannot tell you
A small p-value means the counts are unlikely for a fair die, not that the die is certainly loaded; the way you throw can also matter. A large p-value only means this many rolls showed no clear difference. Small biases need many rolls to show up.
The same test applied to one million rolls of this site's dice: Fairness test in Dice Probability