This random number generator picks numbers in any range you set, right in your browser. Choose a minimum, a maximum and how many numbers you want, up to 1,000, tick “no repeats” if each number may come up only once, and draw. You also get the sum of the numbers. Nothing is sent to a server, and it spends no credits.
How do I pick a random number between 1 and 100?
Set the minimum to 1, the maximum to 100 and the count to 1, then draw. Every whole number in the range, both ends included, has the same chance: 1 in 100.
How do I draw several numbers without repeats?
Raise the count and tick “no repeats”. To pick 6 different numbers from 1 to 49, set the range and the count, then draw. Without “no repeats”, each number is drawn on its own, so the same value can appear more than once, which is what you want for something like simulated dice or sampling with replacement.
How random is it?
The numbers come from crypto.getRandomValues, the browser’s cryptographically secure random generator, rather than Math.random. The random number generator also maps that output onto your range without bias, so no value in the range comes up more often than another. A common shortcut, taking a random value modulo the size of the range, slightly favors the low numbers; this tool avoids it.
What people use it for
- Raffles and prize draws: give each ticket a number and draw the winners with “no repeats”.
- Picking a random page, question or item from a numbered list.
- Games that need a number in a range.
- Sampling: choosing which rows of a spreadsheet to check.
- Teachers calling on student numbers in class.
What the sum is for
The sum appears with every draw. It is handy for games that add up rolls, and for checking a set of draws at a glance.
FAQ
Can the same number come up twice?
Yes, unless you tick “no repeats”. With it ticked, every number in a draw is different, so the count can’t be larger than the size of the range.
Is the random number generator fair?
Every value in the range has the same chance. It uses the browser’s secure random source and an unbiased method to fit it to your range.
What does it cost?
It comes with the Nexin library: Nexin Lite or Nexin Pro opens it, and it spends no credits.