Home / Math Calculators / Random Number Generator

Math & Statistics

Random Number Generator

Generate one or many random numbers in any range. Choose integers or decimals, and allow or forbid duplicate values.

Your random numbers

Count
Sum

Generated values

Each generated number, shown for a quick visual comparison.

How it works

The generator uses your browser's built-in pseudo-random function to pick numbers uniformly across the range you set, inclusive of both ends. With "unique values" on, it draws without replacement so no number repeats.

integer = floor( random × (max − min + 1) ) + min
decimal = random × (max − min) + min

Frequently asked questions

Are these numbers truly random?

They are pseudo-random from your browser — plenty random for games, raffles, and sampling, but not for cryptography.

Can I avoid duplicates?

Yes — enable "unique values" and every result is different, provided the range is large enough.

Related calculators