Random number generator

Choose a range and how many numbers you want. Turn on “no repeats” to draw like tickets from a hat.

Quick:

How to use it

Enter the lowest and highest number you want (both are included), and how many numbers to draw. With No repeats on, each number can come up only once, like raffle tickets taken out of a hat. Turn it off if you want independent picks, like rolling a die several times. Tick Sort the results for an ordered list.

Examples

The odds

Every whole number in the range has the same chance. From 1 to 100 each number has a 1 in 100 (1%) chance. When you draw 5 different numbers from 1 to 30, any particular number has a 5 in 30 (about 16.7%) chance of being among them, and there are 142,506 possible sets of five.

The numbers come from your browser's cryptographic random generator with an unbiased method, so no number is slightly more likely than another. Please do not use this page for gambling.

Frequently asked questions

Are both ends included?

Yes. 1 to 10 can give 1 and can give 10.

What is the biggest range?

From −1,000,000,000,000 to 1,000,000,000,000, and up to 1,000 numbers per draw.

Why did I get fewer numbers than I asked for?

With no repeats you cannot draw more numbers than exist in the range — 1 to 5 has only five.

Related

Missing a tool, or found a problem? Tell us: contact (at) optionmaker.com — we read every message.