RandALL

Random number from 1 to 6

A six-sided die without the die. One reel, faces 1 to 6.

A die roll, 1 to 6

No number drawn yet.

Tap Draw, or press Space

Range

How many 1

Last draws

None yet. Your draws line up here, newest first.

What it does

Tap Draw for a number from 1 to 6, with the odds of a fair six-sided die: 1 in 6 for each face, about 16.7%. The reel only turns through 1 to 6, so it reads like a die. Lost the dice for a board game? This does the job, and nobody can blow on it for luck.

How to use it

  1. Tap Draw to roll. The reel turns through 1 to 6 and stops.
  2. Two dice? Set How many to 2.
  3. On a keyboard, Space or Enter rolls again.
Put this number on your own site

Paste this where you want it to appear: a class page, a blog post, a stream overlay. It is free to use, with the link under it left in place.

What people use it for

Board games

The die rolled under the sofa again. Draw a number and carry on playing.

Two dice

Set How many to 2 for two dice. For the total, other dice and real 3D dice, use the dice roller.

Six of anything

Number six choices, six players or six chores and roll for one.

Odds of a die

From 1 to 6Odds
Any one number1 in 6 (16.7%)
An even number (2, 4 or 6)3 in 6 (50%)
At least one 6 in four rolls51.8%
At least one 6 in six rolls66.5%
No 6 at all in six rolls33.5%
Rolls to see all six faces, on average14.7
The average of many draws3.5

At least one 6 in four rolls is 51.8%, just better than even. It is the bet a French gambler, the Chevalier de Méré, is said to have made money on; his questions about dice started Pascal and Fermat on the maths of chance in 1654. Six rolls still leave a 33.5% chance of no 6 at all.

How it picks

The way the RandALL app does it: the number first, the reels after.

  1. Your range is read. Whole numbers up to 15 digits, negative or positive. A range typed backwards is turned round, so 100 to 1 means 1 to 100. Both ends can come up.
  2. The number is drawn first. For a range of n numbers, a whole number from 0 to n minus 1 is drawn with crypto.getRandomValues and added to your minimum. Rejection sampling throws away the few raw 32-bit values that would give some numbers an extra share, so each one has exactly a 1 in n chance.
  3. Wide ranges get more bits. One 32-bit draw covers 4,294,967,296 numbers. For a wider range, two draws are joined into a number with just enough bits for it, and anything past the end is drawn again. No remainders, no rounding.
  4. No repeats is a fair set, then a shuffle. Floyd’s algorithm picks numbers that all differ, with every possible set equally likely, and a shuffle makes every order equally likely too.
  5. Then the reels turn. Each reel steps through the digits before its own, slowing as it goes, and they stop left to right, as in the app. They only show a number that is already decided.

Tested. In 100,000 test draws each from 1 to 10, 1 to 6 and minus 3 to 3, every number came up evenly (chi-square test). A range three times wider than 32 bits and the full 15-digit range split evenly into slices, odds and evens, and last digits. With No repeats no draw ever repeated, and all 20 ordered pairs from 1 to 5 and all 20 sets of three from 1 to 6 came up evenly.

How every RandALL tool picks

All 19 web tools

Questions

Is this the same as rolling a real die?

The odds are those of a perfectly fair die: each face 1 in 6. A real die can be a little uneven; this draw is exactly even, and nobody can throw it a certain way.

What are the odds of rolling a 6?

1 in 6, about 16.7%, on every roll. At least one 6 in four rolls is 51.8%, and in six rolls 66.5%.

Can I roll two dice?

Set How many to 2. Each number is its own die from 1 to 6. For totals, modifiers and other dice such as a d20, use the dice roller.

Why does the reel only show 1 to 6?

Because a die has no other faces. On this range the reel turns through 1 to 6 and nothing else, so you never see a 0 or a 9 fly past.

RandALL app icon

Take it with you

RandALL for iPhone has 25 tools in one app: wheels and teams, real 3D dice, random alarms, Finger Picker and more. It works offline.

Your first 24 hours are free, with every tool. After that, subscribe or buy the lifetime unlock once. Family Sharing included.

Get it on the App Store

iPhone only for now. These web tools are yours to keep using.

QR code that opens RandALL on the App Store
Scan with your iPhone
All tools

Lists

Spin the WheelYour list on a wheel Random Name PickerDraw a few names List RandomizerWho goes first? Bracket GeneratorLast one standing Team GeneratorSplit a list into groups

Games

Coin FlipHeads or tails? Dice RollerAny dice, any sides Random Number GeneratorPick a number, any range Random Card GeneratorDraw a card Lottery Number GeneratorPick X of Y Rock Paper ScissorsRock, paper or scissors Spin the BottleRandom direction Tarot Card ReadingOne card, or three

Generators

Random Country GeneratorSpin the globe Random Color GeneratorA color and its palette Random Date GeneratorRandom date and time Fortune CookieOpen a cookie Random TimerNobody knows when it ends Random Animal GeneratorRandom species
RandALL for iPhone25 tools in one app. Works offline.