Random Number Generator

Generate random whole numbers within a range you set, as many as you need.
Number of integers to generate (1–1000).

Set your range and press Generate to produce random integers.

Formula
n = min + ⌊random() × (max − min + 1)⌋, with integer bounds

About this calculator

This tool produces uniformly distributed random integers between the minimum and maximum you specify (both inclusive). Choose how many you want, press Generate, and the results appear as chips. Use it for raffles, choosing a winner, picking lottery-style numbers, sampling a dataset, or settling a friendly decision.

The numbers come from the browser's built-in pseudo-random generator, which is excellent for everyday and casual uses. Because each draw is independent, the same value can appear more than once — that is expected behaviour, not a bug. For cryptographic keys or security-sensitive applications, use a dedicated cryptographic random source instead.

Frequently asked questions

Yes. Both bounds are inclusive, so a range of 1 to 6 can return any value from 1 through 6.

Yes. Each number is drawn independently, so duplicates are possible and entirely normal.

No. It uses the browser's general-purpose generator. For keys, tokens or anything security-critical, use a cryptographic random source.

Did this calculator help you?