← All calculators
Math / Everyday

Random Number Generator

Generate one or many random numbers in a range.

How random numbers are generated

This tool uses your browser's built-in random number generator (Math.random) to produce uniformly distributed numbers across your chosen range. It's suitable for everyday uses like raffles, games, sampling, or picking a random winner — not for cryptographic or security purposes.

Unique vs repeated numbers

With "no duplicates" checked, each generated number appears only once — useful for things like drawing unique raffle tickets. Leave it unchecked if repeats are fine, such as simulating dice rolls.

Frequently asked questions

Is this truly random? It's pseudorandom — statistically well-distributed for everyday use, but not suitable for security-sensitive applications like password or key generation (use our Password Generator for that).

What happens if I ask for more unique numbers than exist in my range? The generator will cap the result at the maximum possible unique numbers in that range.