← Back to all tools
🔢

Random Number Generator

Set a range and pull a random number from it.

How to generate a random number

  1. Enter the lowest number you want in Minimum and the highest in Maximum. Both ends are included, so 1 to 10 can give 1, 10 or anything between.
  2. Press Generate.
  3. Your last five results are listed below the main number, so you can keep track of a series of draws.

Whole numbers only, and negative numbers work too — for example −50 to 50.

How the number is picked

Every whole number in your range has the same chance of being chosen. Picking a number between 1 and 6 behaves exactly like rolling a fair die; picking between 1 and 100 is like drawing one of 100 numbered tickets and putting it back afterwards.

Because the ticket is "put back", the same number can come up twice in a row. That's expected behaviour for true randomness, not a fault. If you need a set of numbers with no repeats — such as a raffle draw — note down each winner and redraw if a duplicate appears, or put the entries in the Name Picker.

The generator uses your browser's standard pseudo-random number generator, which is ideal for games, classroom activities and everyday choices. It is not designed for cryptography — for anything security-related, such as passwords or keys, use the Password Generator, which uses your browser's cryptographically secure source instead.

Ideas for using it

Frequently asked questions

Can it pick the same number twice?

Yes. Each draw is independent, so repeats are possible. With a range of 1 to 10, there's a 10% chance any given draw matches the previous one.

Is there a maximum range?

You can use very large numbers, but for the most even results keep both values within a few trillion either side of zero.

Can I generate decimals?

Not directly. To get one decimal place between 0 and 10, generate 0 to 100 and divide the result by 10.