Generate random numbers within a range. Set a minimum and maximum, choose how many numbers you need, and optionally sort the results or prevent duplicates.
Enter a minimum and maximum value, how many numbers you want, and toggle whether to sort the results and avoid duplicates. Change any value (or re-toggle an option) to draw a fresh set.
No saved calculations yet.
A random number generator draws one or many numbers from a range you define — useful for lotteries, draws, sampling, games and decision-making. Optionally sort the output or prevent repeats.
Each number is drawn uniformly at random from your range (inclusive of the minimum and maximum). With 'no duplicates' on, every draw is unique, so the quantity can't exceed the size of the range.
They use your browser's pseudo-random generator, which is fine for games and draws but not for cryptography or security-sensitive use.
With 'no duplicates' on, the quantity can't exceed the number of distinct values in your range. If you ask for 10 unique numbers between 1 and 5, you'll only get 5.