How It Works
This page explains how our tools pick results, so you can judge whether they are fair enough for your use.
The random source
Every tool uses crypto.getRandomValues, the random number generator that browsers provide for security work. It is seeded by your device's operating system from unpredictable physical events. It is much harder to predict than the simple Math.random function many sites use.
Turning random bits into a fair pick
To pick one item out of n, we draw a 32 bit number and take the remainder after dividing by n. Done naively that favors some results very slightly, so we use rejection sampling: any draw that would cause that bias is thrown away and drawn again. Every item ends up with exactly the same chance.
Shuffling
List shuffles, team splits, card draws, bingo calls and draws with no repeats all use the Fisher-Yates shuffle. It walks through the list and swaps each item with a randomly chosen item at or before it. With a fair random source, every possible order is equally likely.
The wheel
- The winning slice is chosen first, with the method above.
- A random position inside that slice is chosen so the pointer does not always stop dead center.
- The wheel then turns for a few seconds and slows down to that position.
- The length of the spin does not change the result.
- Each line in the entries box is one equal slice. Repeating a line gives it more chances.
Dice, coins and numbers
- A coin is a pick of one from two.
- A die is a whole number from 1 to its number of sides.
- A number in a range is the lowest value plus a pick from the size of the range.
- Every flip, roll and pick is independent of the ones before it.
What we do not do
- We do not send your lists or results to a server.
- We do not weight results or let anyone set the outcome.
- We do not keep a record of your spins. History lists are held in the page and vanish when you leave.
Limits
These tools are suitable for games, teaching and informal draws. They are not audited or certified, so do not use them where the law requires certified equipment.