Business & Everyday

Random Number Generator

Choose minimum, maximum and count, then generate up to 100 integers with duplicates allowed or prohibited.

2, 40, 2, 30, 71

How this tool works

Each draw uses Math.random() to select an integer uniformly from the inclusive range. Unique mode rejects values already selected.

Example

Generate five unique integers from 1 through 100 for a classroom draw or test-data sample.

Common questions

Is this cryptographically secure randomness?

No. Math.random() is suitable for casual selection and test data, not keys, lotteries with legal requirements or security-sensitive use.

Why can unique mode fail?

You cannot request more unique integers than exist in the selected inclusive range.