About these tools and how they are checked
Last checked 14 Nov 2026.
What this site is
CheckRandom is a small set of free random tools: coin flips, dice, wheels, name and team pickers, Secret Santa draws and generators. Each page does one job, opens with a worked example and explains in plain words how the answer is reached, including the awkward cases. The site will be paid for by advertising; no ads are shown yet. There is no sign-up, and nothing you type leaves your browser (see privacy).
Operated by Longitude Press (sole trader), ABN 38 842 876 454, NSW.
How the random results are made
- Every draw comes from your browser's crypto.getRandomValues, through one small function in cr.js. Math.random is not used anywhere on the site.
- To turn a random 32-bit number into one of n results, values at or above the largest multiple of n below 4,294,967,296 are thrown away and drawn again (rejection sampling), so no result is favored. Ranges wider than that use 53 random bits the same way.
- Lists are shuffled with the Fisher-Yates method. Picks without repeats are a partial Fisher-Yates shuffle.
- A wheel picks its entry before it starts to turn, then is steered to stop on it. With reduced motion turned on, results appear at once.
- A Secret Santa draw shuffles and starts again whenever someone has themselves or an excluded person, so every allowed draw is equally likely.
- This is the browser's own pseudo-random generator, seeded by your device. It is not certified or audited, and the site does not claim it is suitable for gambling, prize draws or security decisions.
- All of it lives in one small script, cr.js, which you are welcome to read.
How the tools are checked
Before the site is published, an automated check opens every page in a real browser (Chromium) and types in questions with known answers. The published pages have to give those answers. Some of them:
- With a fake source that returns the highest 32-bit value and then 5, a six-sided draw throws the first value away and gives 5.
- Over 600,000 real draws of a six-sided die and other sizes, the counts pass a chi-square test; a range of 3 x 2^30 numbers, where taking a plain remainder would favor a third of the range two to one, comes out even.
- Dice notation such as 4d6dl1, 2d20kh1 and 1d8+1d6-1 is read correctly, and every roll stays within its possible totals.
- Over thousands of wheel spins, the entry under the pointer is always the entry that was picked.
- Secret Santa draws for 2, 3 and 30 people never give anyone themselves and always respect exclusions; impossible rules are refused.
- The odds for the Powerball and Mega Millions formats come out at 1 in 292,201,338 and 1 in 290,472,336.
The same check confirms that no page reports a script error, that every page fits a 360 pixel wide phone screen without sideways scrolling, and that every internal link leads somewhere. The functions in cr.js are also tested on their own, outside the browser.
What has not been checked
- The automated check runs in Chromium only. Other browsers and screen readers have not been tested.
- The check confirms the pages call crypto.getRandomValues; it cannot test the quality of each browser's own generator.
- Copy buttons are checked for not breaking the page; whether your browser lets a page write to the clipboard is up to the browser.
Found a mistake?
Email [email protected] with the page, what you typed and what you expected. Confirmed errors are fixed and added to the check.