Random number generator

Get random values for contests, games or decisions

โ“ How the generator works

The generator produces random integers in the chosen range from minimum to maximum inclusive. You can request 1 to 100 numbers at once. โ€œNo repeatsโ€ ensures each value appears at most once.

If the minimum is greater than the maximum, the bounds are swapped automatically. Results can be copied to the clipboard with one click.

๐ŸŽฒ How a number is formed

๐Ÿ“Š Range

Size = max โˆ’ min + 1

Number = floor(random ร— size) + min

โš ๏ธ Limits

Count: 1 to 100

Unique numbers: no more than the range size

๐Ÿ’ก Example

Range 1 to 6 (dice roll), count 3, no repeats:

  • Range size: 6 โˆ’ 1 + 1 = 6 possible values
  • The generator picks three numbers from 1โ€“6, skipping duplicates
  • Sample result: 4, 1, 6

๐ŸŽฏ Where to use it

  • ๐ŸŽ‰ Giveaways โ€” pick a winner by number.
  • ๐ŸŽฒ Board games โ€” replace a die or number deck.
  • ๐Ÿ“š Study โ€” generate tasks with different inputs.
  • ๐Ÿ  Everyday โ€” a โ€œcoin flipโ€ (1 or 2), pick an option by number.

For lotteries, financial draws and cryptography you need a specialised RNG โ€” here the browserโ€™s Math.random() is used, suitable for everyday tasks.