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.