Random Number Generator

This random number generator 1 to 100 picks a whole number between any minimum and maximum you set, and both ends are included. Type your range, press Generate, and the answer appears right away. Everything runs in your browser, so nothing you type leaves your device.

How the random number generator works

  • The tool takes your minimum and maximum as whole numbers.
  • It picks one number at random, and the minimum and maximum are both included. With 1 and 100, the answer can be 1, 100, or anything in between.
  • Every number in the range has the same chance. Each press of Generate is a new, separate pick.
  • The draw uses your browser’s built-in random function. It is fine for games and draws, but not for secrets or security.

Common ranges: a quick reference

Handy ranges for everyday games and draws.

Use Minimum Maximum
A coin flip 1 2
A die roll 1 6
A lottery ball (typical) 1 49
A raffle draw 1 100

Solved example: a draw from 1 to 100

You run a raffle with tickets numbered 1 to 100. Here is how the tool picks the winner.

  1. Type 1 in Minimum and 100 in Maximum.
  2. Press Generate. Say the tool shows 42.

Answer: the winning ticket is 42. Press Generate again for another draw.

How to use this generator

  1. Type the smallest number in Minimum and the largest in Maximum.
  2. Press Generate.
  3. Read your number. Press Generate again for a new one.

Limits: what this generator does not do

  • It only makes whole numbers. Decimals are not allowed.
  • The minimum must be smaller than or equal to the maximum.
  • It is not random enough for passwords, secrets, or security. Use it for games, draws, and practice only.

Frequently asked questions

Can a random number generator 1 to 100 give 1 or 100?

Yes. Both ends are included, so 1 and 100 can both come up. No number in the range is left out.

What happens if the minimum is greater than the maximum?

The tool shows an error: “The minimum cannot be greater than the maximum. Swap them and try again.” Fix the numbers and press Generate again.

Is this fair for a raffle?

Yes, for a casual raffle. Every number in your range has the same chance. But if you need a result you can prove was fair, use a draw that is witnessed or recorded.

Why did I get the same number twice in a row?

Because each draw is separate. With 1 to 100, the chance of the same number twice is 1 in 100, so repeats happen. The tool has no memory of past draws.

Related tools