Ad — 728×90

Random Number Generator

Generate random numbers within any range. Great for lotteries, games, and decisions.

Results

Random Number(s)60
Range Used1 to 100
Total Possible Values100
Ad — 300×250

What is Random Number Generator?

The Random Number Generator picks truly random numbers within any range you specify. This is one of the most-used online tools globally — used for lottery number picks, dice rolling, random selection in games, classroom activities, giveaway winners, A/B testing, and making fair decisions.

This generator uses JavaScript's Math.random() which provides cryptographically adequate randomness for most purposes. For security-critical applications (passwords, encryption keys), use a dedicated cryptographic random generator.

Common uses: pick lottery numbers (1-49 or 1-69), roll dice (1-6), coin flip (1-2), select a random student (1-30), pick a random winner from entries, generate random PINs, and more.

Formula

Random integer between min and max (inclusive): result = floor(random() × (max − min + 1)) + min

Examples: 1-100: any number from 1 to 100 1-6: simulate dice roll 1-2: simulate coin flip (1=heads, 2=tails) 0-1: simulate yes/no 1-49: lottery number

How to use this Random Number Generator?

1. Set minimum value. 2. Set maximum value. 3. Choose how many random numbers to generate (1-20). 4. Results appear instantly. Refresh or change any input to generate new numbers.

Frequently asked questions

Is this truly random?
It uses JavaScript's Math.random() which is a pseudorandom number generator — random enough for games, lotteries, and decisions. Not suitable for cryptographic purposes.
Can I generate random numbers without repeats?
This generator may produce duplicates. For lottery-style (no repeats), generate more numbers than needed and manually remove duplicates, or use a shuffle algorithm.
How to pick a random winner?
Number your participants 1 to N. Set min=1, max=N, count=1. The generated number is your winner. Fair and unbiased.
Ad — 728×90