Xerobit

Number Wheel

This number wheel picks one whole number for you when you spin it. Set a minimum and a maximum (up to 1,000,000 numbers) or type your own list, then press Spin, tap the wheel, or press Space or Enter. The number is drawn fairly before the wheel moves, you can remove each winner so nothing repeats, and every spin is kept in a history. It runs in your browser and nothing you type is sent anywhere.

Numbers on the wheel

Result

By · Published · How we build and test tools

How to use the random number wheel

  1. Choose A range and type a minimum and a maximum, or press a shortcut such as 1 to 10, 1 to 20, 1 to 50 or 1 to 100. Use Step to count in twos, fives or tens: 0 to 100 with a step of 10 gives 0, 10, 20 and so on up to 100.
  2. Or choose My own list and type numbers separated by commas, spaces or new lines. Runs are written 10-20 or 10 to 20, so 1, 5, 9, 10-20 is fifteen numbers.
  3. Press Spin, tap the wheel, or focus the wheel and press Space or Enter. The big number under the wheel is the result.
  4. Tick Remove each winner from the wheel if a number must not come up twice. The used slices turn grey. Reset the wheel puts them all back.
  5. The history lists every spin in order. Copy history copies it as numbered lines and Clear history starts the count again.

Number spin wheel for 1 to 10, 1 to 20, 1 to 50 and 1 to 100

A short range is the most common use: a number picker wheel for 1 to 10 for a quick choice, 1 to 20 for a class register, 1 to 100 for a guessing game. Up to 100 numbers the wheel has one slice for each number, in the order you gave. Beyond that the wheel changes how it draws itself, but not how it picks. This table is computed by the same code the tool uses.

RangeNumbersSlices on the wheelEach slice is
1 to 222single numbers
1 to 101010single numbers
1 to 202020single numbers
1 to 505050single numbers
1 to 100100100single numbers
1 to 10110124sub-ranges
1 to 1,0001,00024sub-ranges
1 to 1,000,0001,000,00024sub-ranges

What if the range is bigger than 100 numbers?

Nobody can read 1,000 labels on a wheel, so for 101 to 1,000,000 numbers the wheel draws 24 slices and labels each with the sub-range it stands for. For 1 to 1,000,000 the first slice reads "1 to 41667" and the last reads "958335 to 1000000". The slices are as equal as whole numbers allow: for 1 to 1,000,000 every slice holds 41,666 or 41,667 numbers. The pick itself is not made on those slices. It is made over all 1,000,000 numbers at once, and the wheel then stops on the slice that contains the winner. The large number under the wheel is the result; the slice is a guide.

Why a spin on this wheel is fair

Fairness here comes from the order of two steps, and from how the first one works.

  1. The number is chosen first. When you press Spin, the page asks the browser for random values with crypto.getRandomValues(). MDN describes it as a source of cryptographically strong random values, backed by a pseudo-random generator seeded with enough entropy.
  2. The choice has no modulo bias. A raw 32-bit random value cannot be reduced with a simple remainder, because 2^32 is rarely a multiple of your range, so small numbers would come up a little more often. The code throws away the few raw values at the top of the range and asks again (rejection sampling), so every number is exactly as likely as every other.
  3. The wheel is turned afterwards. The wheel is rotated to the slice that holds the winner, with a small random offset inside the slice so the pointer does not always sit at its exact centre. The offset cannot move the pointer into another slice, and nothing in the animation can change which number won.
  4. No repeats uses a shuffle. With "Remove each winner" the picks come from a Fisher-Yates shuffle, so every remaining number is equally likely on the next spin and every full order of numbers is equally likely.

How this was measured

Tested with Node 25.8 and Python 3.11 with SciPy 1.17.1. The draw was run 200,000 times over 10 numbers and 200,000 times over 37 numbers with the browser-grade crypto.getRandomValues source. A chi-square goodness-of-fit test gave 9.46 for 10 numbers (9 degrees of freedom, p = 0.40) and 41.73 for 37 numbers (36 degrees of freedom, p = 0.24), recomputed independently with SciPy. Both are in the normal range for a fair draw. A test like this can show that a bias is unlikely, not prove that none exists; the stronger argument is the method above. The same test file checks that the no-repeat mode returns each of 4 items in all 24 possible orders about equally often, that a list of 40,000 numbers (275 KB of text) is parsed in about 0.1 s, and that the stop angle always lands inside the intended slice.

Using the wheel in a classroom, a draw or a game

  • Classroom number picks. Give each pupil a number from the register, set the range to the class size and tick "Remove each winner". Everyone is called once before anyone is called again, and the history is a record of the order.
  • Small raffles and giveaways. Number the tickets 1 to N and spin for each prize with no repeats, so one ticket cannot win twice. For prizes with money or legal rules attached, check the rules that apply to you: this page is a random picker, not legal advice.
  • Bingo-style calling. Set 1 to 75 and remove winners to call each number once. To make the cards, use the bingo card generator, which also has its own caller.
  • Choosing a turn order. List the players as numbers 1 to N, spin with no repeats, and read the history from the top: the first number drawn goes first. For names instead of numbers, use the random name picker or the spinner wheel for text options.
  • Yes or no and small choices. A two-number list gives a fair either-or. For a plain heads or tails there is the coin flip.

How many numbers are on a roulette wheel?

Searches for a number wheel often mean the wheel in a casino. The equipment facts are simple. Wikipedia's Roulette article says the pockets of the wheel are numbered from 0 to 36, with a green pocket for 0, and that American roulette has a second green pocket marked 00. Counting those gives the totals below. This is a fact about the equipment, not betting advice, and this page says nothing about odds or strategy.

WheelNumbersPocketsHighest number
European (single zero)0 and 1 to 363736
American (double zero)0, 00 and 1 to 363836

The numbers are not arranged in order around a roulette wheel, so this tool's number wheel is not a copy of one. To spin a 0 to 36 wheel here, set the range to 0 and 36. The 00 pocket is not a whole number, so it cannot be put on this wheel as such.

What this number wheel does not do

  • It picks whole numbers only. Decimals are rejected with a message; use the random number generator for decimals, many numbers at once or sorted lists.
  • A range or list can hold at most 1,000,000 different numbers. Numbers must be between -1,000,000,000,000 and 1,000,000,000,000.
  • Past 100 numbers the slices are sub-ranges, not single numbers (see above).
  • Nothing is saved. Reloading the page clears the history and the pool. Use Copy history before you leave.
  • Changing the range, list or step starts a fresh pool, so numbers removed earlier come back.
  • A random pick has no memory: the same number can come up twice in a row unless you tick "Remove each winner".
  • It is not a certified draw. Do not rely on it where a regulator or contract requires an audited random draw.

FAQ

How does the number wheel pick a number?

You press Spin. The page first draws the winning number with the browser's cryptographic random generator (crypto.getRandomValues), using rejection sampling so no number is favoured. Only then does it turn the wheel until the slice that holds that number sits under the pointer. The animation cannot change the result, because the result already exists before the wheel moves.

Is the random number wheel fair?

Yes, in the sense that every number in your range or list has the same chance on every spin. The draw uses crypto.getRandomValues, which MDN describes as a cryptographically strong source, and the code rejects the small slice of raw values that would otherwise make some numbers slightly more likely. A chi-square test on 200,000 picks from 10 numbers and from 37 numbers showed no sign of bias. A fair draw still produces streaks: the same number can come up twice in a row.

How do I make a number wheel from 1 to 10?

Leave the minimum at 1 and the maximum at 10, which is the default, or press the 1 to 10 shortcut. The wheel shows ten slices, one per number. The 1 to 20, 1 to 50 and 1 to 100 shortcuts work the same way. For other values type your own minimum and maximum, and use the step box to count in twos, fives or tens.

How do I pick a number 1 or 2 on a wheel?

Press the 1 or 2 shortcut. It sets the range to 1 and 2, which gives a wheel with two slices, each equally likely. For one to five, set the range to 1 and 5. A custom list also takes numbers that are not in a run, such as 3, 8, 21, so you can build any set of numbers you like.

What happens if my range is bigger than 100?

A wheel with more than 100 slices cannot be read, so for 101 or more numbers it draws 24 slices, each one a sub-range such as 1 to 41667. The number is still drawn from every number in the range with equal probability, and the wheel stops on the slice that contains it. The large number under the wheel is the real result.

Can I spin without getting the same number twice?

Yes. Tick "Remove each winner from the wheel" and a number that has come up cannot come up again until you press Reset the wheel. Each remaining number is equally likely on the next spin, and the wheel greys out the slices already used. When every number has been drawn the Spin button stops and says so.

Can the wheel use negative numbers, decimals or my own list?

Negative whole numbers work, for example -10 to 10. Decimals are not accepted: the wheel picks whole numbers and shows a clear message if you type 2.5. For a custom list type numbers separated by commas, spaces or new lines, and write runs as 10-20 or 10 to 20. Repeated numbers count once, and a reversed range such as 20-10 is read from low to high.

How many numbers are on a roulette wheel?

A European (single-zero) roulette wheel has the numbers 0 to 36, which is 37 pockets. An American (double-zero) wheel has 0, 00 and 1 to 36, which is 38 pockets. The highest number on both wheels is 36. This is a fact about the equipment, not betting advice, and this page says nothing about odds or strategy.

What is the highest number on a roulette wheel?

36. Wikipedia states that the pockets are numbered from 0 to 36, and an American wheel adds a second green pocket marked 00. The numbers are not in numerical order around the wheel; Wikipedia lists the usual sequence for each type.

What is the difference between this and a random number generator?

The generator returns numbers as a list, which suits many numbers at once, decimals and sorting. The wheel returns one number per spin with a visible pick, a history and an optional no-repeat pool, which suits a group watching the result. Both use the same unbiased draw. For decimals or hundreds of numbers at once use the random number generator.

Does the number wheel work on a phone, and are my numbers sent anywhere?

It works on phones: tap the wheel or the Spin button. The page does not send your range or list anywhere, because the draw runs in your browser. If your device is set to reduce motion, the wheel skips the spin animation and shows the result at once.

Sources

  • Crypto.getRandomValues(), MDN: cryptographically strong random values from the browser, filled into an integer typed array (up to 65,536 bytes per call).
  • Roulette, Wikipedia: pockets numbered 0 to 36, a green 0, and a second green pocket marked 00 in American roulette.
  • Fisher-Yates shuffle, Wikipedia: every permutation is equally likely, and the note on modulo bias and discarding out-of-range values.