CoinFlipFree

Random Number Generator

Choose a minimum and maximum, then generate. One number or fifty, with or without repeats.

–

Choose a range, then press Generate

Shortcut: press Space

Recent results

A worried gentleman watches giant dice tumble over a rising bar chart
Dice and random numbers: fair results from your browser.

How to generate a random number

  1. Type a minimum and maximum. The default is 1 to 100.
  2. Choose how many numbers you want, up to 50.
  3. Tick No repeats if each number should appear only once, for example for a raffle draw.
  4. Press Generate or hit Space.

Is this random number generator fair?

Yes. Each number is picked with your browser's cryptographic random number generator, the same source used for security keys. We use rejection sampling, so every value in your range is exactly as likely as any other. There is no bias towards low, high or "round" numbers.

What people use random numbers for

Picking without repeats

With "No repeats" ticked, each number can only be drawn once in a single go. If you ask for more numbers than the range contains, you get every number in the range. For example, asking for 10 numbers between 1 and 6 returns the 6 possible values.

Prefer something simpler?

For a quick yes or no, use the yes or no coin. For up to 20 outcomes with a visual roll, use the dice roller. To pick from names rather than numbers, try the random name picker.

Quick ranges

Jump straight to a common range: 1 to 6 1 to 10 1 to 20 1 to 50 1 to 100 1 to 1,000

The boxes above the results fill in automatically when you use one of these links, and you can change them at any time.

Random number from 1 to 10

Each number from 1 to 10 has exactly a 10% chance, and past results never change the next one, which is why the same number can come up twice in a row. A 1 to 10 range is handy for guessing games ("I'm thinking of a number between 1 and 10"), for choosing between up to ten options once you number them, and for classroom activities such as choosing a question or a pupil number.

Random number from 1 to 100

With 100 possible values, every number has a 1% chance. It suits "higher or lower" guessing games, raffles with up to 100 entries, and tabletop games that use percentage rolls. Numbers that look special, such as 7, 50 or 100, are no more or less likely than any other.

Why people are bad at picking "random" numbers

If you ask people to choose a random number between 1 and 10, they often pick 7, and they tend to avoid the extremes of 1 and 10 and numbers that feel too neat. People also avoid repeats because they feel "not random enough". A real random generator has no such habits. It will happily give you 4, 4, 4, or 10 and then 10 again. That is one reason using a tool is fairer than choosing a number yourself.

Drawing several winners without repeats

For a raffle, set the minimum to 1, the maximum to the number of entries, choose how many winners you need, and tick No repeats. Each entry can then only be drawn once. For a longer walkthrough, see how to pick a giveaway winner fairly.

More free tools

Frequently asked questions

Is the random number generator truly random?

It uses your browser's cryptographic random number generator, which is suitable for security uses and has no practical bias. It is not a pre-set sequence.

Can I generate negative numbers?

Yes. Set the minimum to a negative number, for example -50 to 50.

What is the largest range I can use?

Up to one billion values between the minimum and maximum.

How do I draw several raffle winners?

Set the range to your entry numbers, choose how many winners you need, and tick No repeats.