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
Last draws
None yet. Your draws line up here, newest first.
- Free, no sign-up
- The result is drawn before anything moves
- Nothing leaves your browser
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
- Give each choice a number from 1 to 5.
- Tap Draw, or press Space.
- Want an order for all five? Set How many to 5 and turn on No repeats.
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 5 | Odds |
|---|---|
| Any one number | 1 in 5 (20%) |
| An odd number | 3 in 5 (60%) |
| An even number | 2 in 5 (40%) |
| The same number twice in a row | 1 in 5 |
| A repeat within the first 3 draws | 52% |
| Draws to see every number at least once, on average | 11.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.
- 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.
- The number is drawn first. For a range of n numbers, a whole number from 0 to n minus 1 is drawn with
crypto.getRandomValuesand 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. - 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.
- 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.
- 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.
More random 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.
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 StoreiPhone only for now. These web tools are yours to keep using.
