How a random number is chosen
Enter a minimum and a maximum. Generate picks whole numbers from the minimum through the maximum, and both ends can appear.
You can draw from 1 to 10 numbers. If the minimum and the maximum are both 5, every number is 5. If the range has more than one possible number, Generate again can show a different list. Changing a field clears the list until you generate again.
How to use this calculator
- Enter the minimum and the maximum.
- Enter how many numbers, from 1 to 10.
- Press Generate and read the list. The row below is the count.
Range
Each drawn number k is a whole number from a through b.
Minimum 5 and maximum 5, three numbers: 5, 5, 5. A draw from 1 to 10 is a whole number from 1 through 10.
Source
Random number generation is described on the Wikipedia page on random number generation.
Worked examples
Example: minimum 5, maximum 5, three numbers
The list is 5, 5, 5. Only one number is possible, so every draw is 5.
Example: minimum 1, maximum 10
Each number is a whole number from 1 through 10. Generate again can show a different number.
What to keep in mind
A count of 1 is one number. The same number may appear more than once. A maximum smaller than the minimum has no result. A completed draw, including the minimum, the maximum, and the numbers, can be saved in this browser’s local history and never leaves your device. Clear it with the history Clear action or by clearing site data.
Common questions about random numbers
What do minimum 5, maximum 5, and three numbers show?
5, 5, 5.
What does a draw from 1 to 10 mean?
Each number is a whole number from 1 through 10.
What if the maximum is smaller than the minimum?
There is no result.
Can the same number appear twice?
Yes. Each draw is chosen on its own.
Does Generate again change the list?
It can, when more than one number is possible. A count of 1 is a single number.
Does this calculator store my numbers?
A completed draw can be saved in this browser’s local history, including the minimum, the maximum, and the numbers. It stays on your device and is not sent to our servers or to analytics. Clear it with the history Clear action or by clearing site data.