RandALL

Random number between 1 and 5

Five choices, one draw, a 20% chance each.

Between 1 and 5

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 whole number from 1 to 5, each with exactly a 20% chance. Number five choices first, such as the weekdays from Monday to Friday or five people at a table, and let the draw decide. Your browser’s secure random generator picks it before the reel turns.

How to use it

  1. Give each choice a number from 1 to 5.
  2. Tap Draw, or press Space.
  3. Want an order for all five? Set How many to 5 and turn on No repeats.
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

Which weekday

Monday is 1 and Friday is 5. Draw the day for the team lunch, the gym or the call nobody wants.

Five people, one job

Count round the table from 1 to 5 and draw who clears up.

Star ratings for testing

Need sample scores from 1 to 5 for a form or a spreadsheet? Set How many to 50 and tap Copy.

Odds from 1 to 5

From 1 to 5Odds
Any one number1 in 5 (20%)
An odd number3 in 5 (60%)
An even number2 in 5 (40%)
The same number twice in a row1 in 5
A repeat within the first 3 draws52%
Draws to see every number at least once, on average11.4

Three of the five numbers are odd, so odd beats even 60 to 40. It takes 11.4 draws on average before all five have come up at least once: the last one is always the slow one.

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 each number from 1 to 5 really a 20% chance?

Yes, exactly, on every draw. The number comes from crypto.getRandomValues, and rejection sampling makes sure none of the five gets a rounding edge.

Why are odd numbers more likely here?

Three of the five numbers are odd (1, 3 and 5), so odd comes up 60% of the time and even 40%. Each number on its own is still 20%.

How do I pick a random weekday?

Number Monday to Friday as 1 to 5 and draw. For any of the seven days, set the maximum to 7, or spin the day of the week wheel.

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.