random number 1 to 1,000,000

EnglishFrançaisEspañolDeutschItalianoPortuguês

Pick between and

Size

Press F or Esc to leave full screen

Random number from 1 to 1,000,000

One in a million, for real: the range on this page runs from 1 to 1,000,000, and every number has exactly the same chance of 0.0001% on each press of Generate. The reel rolls through seven digits and stops on the result.

What a one-in-a-million chance looks like

Pick a number now and write it down. The chance that the next press gives the same number is one in a million. If you pressed once per second, around the clock, you would need more than eleven days just to make a million presses, and even then a match is not guaranteed: after a million presses, the chance of having seen your number at least once is only about 63%.

Practical uses

  • Very large draws. National or online contests with hundreds of thousands of entries. Set the top of the range to the number of valid entries.
  • Random IDs and test data. Generate order numbers, sample customer IDs or seeds for a game level.
  • Sampling a big database. Pick 20 records out of a million for a manual check.
  • Teaching big numbers. Read the number aloud, round it to the nearest thousand or write it in words.

Repeats among a million

Coincidences come faster than intuition says. Draw numbers one by one with No repeats off, and after only 1,178 draws the chance that two of them match passes 50%. That is the same mathematics as the birthday problem, scaled up. For IDs that must never collide, keep No repeats on within each press and check new numbers against the ones you already used.

Picking several numbers from 1 to 1,000,000

1,000,000 possible numbers. What changes when you pick more than one at a time:

Numbers pickedA given number is among them (No repeats on)At least one number twice (No repeats off)
10.0001%0%
20.0002%0.0001%
30.0003%0.0003%
50.0005%0.001%
100.001%0.0045%
200.002%0.019%

How it works

  1. The range is set

    The lowest and highest numbers for this page are already in the sentence at the top, and both can come up. Nothing to type before your first pick.

  2. Pick your number

    Press Generate or the Space bar, or tap the number. The reel rolls like a slot machine and stops on the result.

  3. Change it if you need to

    Tap how many numbers you want in the sentence to get up to 20 at once; No repeats keeps them all different. Tap either end of the range to type a new one.

Any suggestions for improvement?

We build tools that are as simple and intuitive as possible, with a few bonuses here and there. Tell us what would make this one better.

Questions

Is it really a one-in-a-million chance?

Yes. Each number from 1 to 1,000,000 has the same chance, 0.0001%, on every press. The tool removes the small bias that simple generators can have on large ranges.

Can I go higher than a million?

Yes. Tap 1,000,000 in the sentence and type any whole number up to 999,999,999.

How many draws until a number repeats?

It varies, but after 1,178 draws with No repeats off, a repeat is more likely than not. On average, the first repeat arrives after about 1,250 draws.

Is the random number generator free?

Yes. It is free to use, funded by advertising, with no account and no app to install.