A random number generator turns a range into a fair draw. You tell it the lowest number and the highest number, and it returns a whole integer where every value in that range has the same chance of being picked. This page does exactly that — and it also shows you the math behind the draw, so you can see how fair (or how random) the result actually is.
Whether you are picking a winner for a $500 giveaway, choosing a random page to study, assigning lunch order to six teammates, or replacing a single die roll, the engine below is the same: an equal-probability, or "uniform," draw. Set your minimum and maximum, choose how many numbers you want, and press generate.
How to Use
- Enter the Minimum Number — the smallest value you are willing to allow. The default is 1. This number is included in the draw.
- Enter the Maximum Number — the largest value allowed. The default is 100. This number is also included.
- Set How Many Numbers to the count you need. Leave it at 1 for a single pick; raise it for bulk draws such as a bingo card or a set of survey IDs.
- Choose Allow Repeats. For a single winner this does not matter, but for multiple draws it decides whether the same value can appear twice. Turn repeats off when one person can only win once.
- Press Generate. The result card shows the drawn number(s), the expected average, how many numbers are in play, the variance, the standard deviation, and the chance of any single number coming up.
The result card separates the drawn number from the expected statistics. The draw itself is one sample; the mean, variance, and odds describe the whole range so you can judge whether a result looks unusual.
The Math Behind a Fair Draw
When every integer from the minimum to the maximum has an equal chance, the range follows a discrete uniform distribution. If there are N possible numbers, each one carries a probability of exactly 1 / N.
For a range from a to b, the number of possible values is:
N = b − a + 1
The expected average (the mean of all possible numbers) sits exactly in the middle:
E[X] = (a + b) / 2
The spread, measured as variance, depends only on how wide the range is:
Var[X] = (N² − 1) / 12
For the classic range 1 to 100, N = 100, the mean is 50.5, the variance is 833.25, and the standard deviation is about 28.87. Any single number between 1 and 100 has a 1% chance of being drawn. Wider ranges raise the variance; narrower ranges tighten it. This is why a draw between 1 and 100 feels "random" while a draw between 1 and 3 barely moves.
Examples
Example 1 — A 1-to-100 giveaway. A shop runs a contest where ticket numbers run from 1 to 100. One ticket wins a $500 gift card. Set minimum = 1, maximum = 100, quantity = 1. Each ticket has a 1% chance to win, the expected average of a draw is 50.5, and the spread (standard deviation) is about 28.87. Drawing 73 would be a normal, fair result.
Example 2 — Picking among 20 teammates. A team of 20 people needs a random order for presentations. Set minimum = 1, maximum = 20, quantity = 20, and turn repeats off. The range holds exactly 20 numbers, so the first pick has a 5% chance of being any specific person, and without repeats every person lands exactly once. The expected average of the first pick is 10.5.
Example 3 — A 0 to 10 quick poll. To choose between eleven options, set minimum = 0, maximum = 10. There are 11 possible values, each with about a 9.09% chance, and the expected average is 5.0. This is the same odds structure as an 11-sided die.
Example 4 — A big range for sampling. When a survey tool must pick a random household from 1,000,000 to 1,000,100, the range contains 101 numbers, each with roughly a 0.99% chance. The expected average is 1,000,050 and the variance stays at 850.0 regardless of how large the numbers are — only the width matters, not the size.
FAQ
What is a random number generator?
A random number generator produces a number where every allowed value has an equal, unpredictable chance of appearing. In this calculator the draw is a discrete uniform pick between your minimum and maximum: every integer in that range has the same probability of being selected.
What is the most common random number between 1 and 100?
There is no "most common" number in a fair draw — every value from 1 to 100 has a 1% chance. The expected average over many draws is 50.5, but a single draw can land anywhere from 1 to 100. People tend to guess 37 or 70, but those biases do not change the true odds.
How do I generate a random number with no repeats?
Set "Allow Repeats" to no. The generator then treats the draw like picking names out of a hat: once a number appears, it cannot appear again. This is the right setting for raffles, team orders, or any draw where one entry should not win twice.
Is 1 to 100 really fair?
Yes, when the engine treats all 100 integers equally. Each number has a 1% chance, the mean of the range is 50.5, and the variance is 833.25. A result that seems "too clustered" or "too spread out" over a few draws is normal randomness; fairness shows up over hundreds of draws, not in a single number.
Can I use negative numbers?
Yes. Set a negative minimum (for example −50) and a larger maximum, and the range simply includes negative integers. The mean moves to the middle of the range and the variance is calculated from the width. The only invalid case is when the minimum is greater than the maximum.
How many numbers can I generate at once?
You can request any positive quantity. With repeats allowed you can draw as many as you like; with repeats off, you cannot draw more numbers than exist in the range (otherwise a repeat would be forced). Use the quantity field to match the size of your task, from a single winner to a full list.
Disclaimer
This random number generator is provided for informational purposes only and is intended for fair selections such as games, raffles, teaching examples, and everyday picks. It is not certified for gambling, lottery draws, cryptographic, security, or any regulated use where a legally audited random process is required. Odds and statistics shown are descriptive of the chosen range and do not guarantee any outcome. Always use an officially certified and audited random system for gambling, prizes of record, or security-sensitive decisions.