Random Number Generator

Generate one or many random integers within a range, with an optional no-repeats mode.

Equation used
Uniform random integer in [min, max]; unique mode samples without replacement

Frequently Asked Questions

Can the same number appear twice in a batch?

By default, yes — each number in a batch is generated independently, so repeats are possible. Turn on "No repeated numbers" to sample without replacement instead.

Why does it say a count isn't possible?

With "No repeated numbers" on, you can't generate more unique values than the range actually contains — e.g. you can't draw 20 unique numbers from a range of 10. The calculator flags this instead of silently repeating values.

Why do the numbers change without me clicking anything?

The result regenerates automatically whenever you change Min, Max, count, or the no-repeats toggle, so you always see a fresh draw matching your current settings. Use the Reroll button to get a new draw without changing any inputs.