Set a minimum, a maximum and how many numbers you need, and this random number generator picks them for you instantly. You can draw a single winner or up to 100 numbers at once, and the tool also shows their sum and average. It runs in your browser, so nothing you enter is sent anywhere.
Formula
result = min + floor(random() × (max - min + 1)), for each number drawn
How it works
This generator creates random numbers using JavaScript's Math.random() function, which provides pseudorandom numbers suitable for most applications.
How to generate random numbers
Type the lowest number allowed in Minimum and the highest in Maximum. Both ends are included, so a range of 1 to 6 can return 1, 2, 3, 4, 5 or 6, just like a die. Then set How Many Numbers, from 1 to 100, and generate.
Each number is drawn independently with JavaScript's Math.random() function, which produces pseudorandom values from an algorithm. That is more than fair enough for games, classroom activities and casual giveaways, but it is not meant for security uses such as creating passwords. For that, use a dedicated password generator.
Worked example: picking a raffle winner
Say you sold 250 numbered tickets. Set Minimum to 1, Maximum to 250 and How Many Numbers to 1. Every ticket has the same 1 in 250 chance, which is 0.4%. If the generator returns 137, ticket 137 wins.
For several prizes, generate more numbers in one go, but check the list for repeats. If one comes up twice, simply draw again for that prize. Publishing the settings you used before the draw makes the process transparent for everyone.
Why repeated numbers can appear
Because each pick is independent, the same number can show up more than once in a list. This surprises people more often than you might think. Drawing 6 numbers from 1 to 60, the chance that at least two match is about 22.7%. Drawing 10 numbers from 1 to 100, it rises to about 37.2%.
So if you need unique values, such as lottery-style picks or assigning seats, generate a few extra numbers and skip any repeats. Want to express odds like these yourself? The percentage calculator turns any fraction into a percentage.
How to read the sum and average
Below the list you get the sum and the average of the numbers drawn. They are handy for games that add dice, or for quick demos in a statistics class.
With many integers drawn between 1 and 100, the average tends to settle near 50.5, the midpoint of the range. With just a few numbers it can land far from that, which is a nice way to show how randomness evens out only over many draws.
Common mistakes to avoid
Make sure Minimum is lower than Maximum. If you swap them, the results will not make sense. Also remember both limits count: a range of 0 to 10 has 11 possible values, not 10.
Finally, a random tool cannot be "due" for a number. Past results have no effect on the next draw, so a number that has not appeared in a while is no more likely to appear next time.
Frequently Asked Questions
- Are the numbers truly random?
- The numbers are pseudorandom, generated by an algorithm. For most uses like games and raffles, this is sufficient.
- Can I generate numbers without repeats?
- The generator draws each number independently, so repeats are possible. To get unique numbers, generate a few more than you need and ignore any duplicates.
- How do I pick a random number between 1 and 10?
- Set Minimum to 1, Maximum to 10 and How Many Numbers to 1, then generate. Each number from 1 to 10 has the same 10% chance.
- Can I use negative numbers?
- Yes. The range can start below zero, for example from -50 to 50, as long as the minimum is lower than the maximum.
- How many numbers can I generate at once?
- Up to 100 per draw. If you need more, run the generator again and combine the lists.