Fair draws: what randomness in your browser means
A wheel, a coin and a die are only fair if the result is truly random. Here you can read how SpinRollFlip handles this, how you can test it yourself and where the limits are.
What is fair?
A choice is fair if every outcome has the chance you expect, if every draw is independent of the previous one and if nobody can steer the result. With six names, each name has a one in six chance, even if the same name just won. After five heads in a row, tails is not 'due'.
Where does the randomness come from?
A computer calculates in a predictable way. Random numbers therefore come from a generator that starts from unpredictable data supplied by the operating system. Browsers offer crypto.getRandomValues for this. According to MDN, it is a pseudo-random number generator seeded with enough entropy and suitable for cryptography. The W3C specification requires cryptographically secure bytes.
According to MDN, Math.random() is not meant for security purposes. We do not use it. If your browser has no secure generator, SpinRollFlip does not determine a result and you see a message.
Result first, animation second
With the wheel, the coin and the die, the result is fixed before anything moves. The animation only shows that result. How hard or when you click makes no difference. The tumbling faces of a die during a roll are pure decoration.
From bits to a choice
SpinRollFlip requests two 32-bit numbers and keeps 53 bits from them in total. That becomes a number between 0 and 1. We multiply it by the number of names (or the sum of the weights) and round down. Because the number of possible values is not divisible by every number of names, there is in theory a tiny bias. With 1,000 names it is smaller than one in a trillion: not measurable, but not exactly zero either.
To shuffle lists we use the Fisher–Yates algorithm. It gives every order the same chance, as long as the generator is good. For Secret Santa with exclusions, we search for a valid assignment using a random order. That method is not guaranteed to be evenly spread over all valid outcomes, but nobody can predict what comes out.
Test it yourself
On the name wheel, the test under 'How fair is the wheel?' spins the wheel 10,000 times with your current list. With six names you expect about 1,667 spins per name. A deviation of about 37 spins, roughly 0.4 percentage points, is just chance. Only much larger deviations should make you wonder whether something is wrong. The coin and the dice use the same generator.
Limits
We have not checked your browser's generator ourselves. We rely on what the browser makers and the specification promise. Anyone who changes the page with an extension or their own copy of the code can influence the result. For a draw with real prizes this is also not enough: rules and licences apply, see the Dutch government source below. When you draw between people, let everyone watch. That helps people trust each other.