Random Number Generator

Choose a range and how many numbers you want, with options for whole numbers, decimals and no repeats.

How this calculator arrives at its answer

This random number generator picks numbers between any minimum and maximum. Set how many you need, choose whole numbers or decimals, and optionally require no repeats.

It’s handy for draws, games, sampling, assigning turns or any time you need an unbiased pick.

How to use it

  1. Set the minimum and maximum.
  2. Choose how many numbers and whether they’re whole or decimal.
  3. Press Generate for a fresh set.

The maths behind it

whole: floor(min + random × (max − min + 1)) decimal: min + random × (max − min)

A worked example

On the values this calculator opens with, the result is 1. Alongside it, Numbers comes out at 1. Change any field and every figure updates as you type.

Common questions

Are the numbers truly random?
They use the browser’s built-in random generator, which is fine for games, draws and everyday picks (not cryptographic use).
Can I avoid duplicates?
Yes — tick “no repeats” and each number in the set will be unique, as long as the range is large enough.
Can it generate decimals?
Yes — switch the type to decimals to get fractional values within your range.