Random Number Generator (1–100 or Any Range)

Generate random numbers in any range: one number or a list, whole or decimal, with or without duplicates. Uses a cryptographic random source.

Loading the calculator…

Common uses

  • Draws and giveaways: number the entries, then draw one or several winners with No duplicates ticked.
  • Games: pick a number from 1 to 100 for a guessing game, or 1 to 6 to replace a die.
  • Classrooms: call on students at random or split a class into groups.
  • Sampling: choose which rows of a spreadsheet, files or households to check.

How fair is it?

Numbers come from your browser’s cryptographic generator (the same family used to create encryption keys), not from the simpler Math.random(). A rejection step removes the small bias that appears when a range does not divide evenly into the generator’s output, so every value in your range has the same chance.

Nothing is sent to a server: the draw happens on your device, and a new click gives a new, independent result.

Options explained

Option What it does
Minimum / maximum Both limits are included. 1 to 10 can return 1 and 10.
How many Up to 1,000 numbers at once.
Decimal places Draws on a grid of 0.1, 0.01 or 0.001 between the limits.
No duplicates Each value appears once, like drawing tickets from a hat without putting them back.
Sort Displays the list from smallest to largest.

FAQ

Can I use it for a lottery?

You can use it to pick numbers, but no generator improves your odds: every combination remains equally likely.

Why did the same number come up twice in a row?

With duplicates allowed, repeats are normal. Picking 1 to 10 twice gives the same number one time in ten. Tick “No duplicates” to prevent it within one list.

Is the result reproducible?

No. There is no seed, so results cannot be replayed. Save or copy the list if you need a record of the draw.

Last reviewed November 30, 2026. Results are estimates for general information.