Odds for numbers between 1 and 100
| Possible numbers | 100 |
|---|---|
| Chance of any one number | 1 in 100 (1.0%) |
| Average result over many picks | 50.5 |
| Even / odd numbers | 50 even, 50 odd |
Draws and giveaways from 1 to 100
1 to 100 is the percentile roll in tabletop games and a common range for giveaways and guessing games. Because each number is worth exactly 1%, a result of 37 or lower has a 37% chance, so you can turn any percentage into a single roll.
At the table, a d100 roll is usually made with two ten-sided dice, one marked in tens (00 to 90) and one in units (0 to 9), with 00 and 0 together read as 100. A single pick here replaces both dice and skips the reading step.
Duplicates in a 1 to 100 draw
| Numbers picked | Chance of a repeat (repeats allowed) | Different sets (no repeats) |
|---|---|---|
| 2 | 1.0% | 4,950 |
| 3 | 3.0% | 161,700 |
| 5 | 9.7% | 75,287,520 |
| 10 | 37.2% | 17,310,309,456,440 |
| 25 | 96.2% | about 2.4 × 1023 |
| 50 | over 99.99% | about 1.0 × 1029 |
| 100 | over 99.99% | 1 |
With repeats allowed, a duplicate is already more likely than not by pick 13 (55.7%), so keep No repeats ticked for any draw where a number should win only once. A particular set of 5 winning numbers comes up 1 time in 75,287,520.
Raffle odds with tickets numbered 1 to 100
When every ticket from 1 to 100 has been sold and winners are drawn with No repeats ticked, your chance of winning at least one prize depends on how many tickets you hold and how many winners are drawn:
| Winners drawn | 1 ticket | 5 tickets | 10 tickets |
|---|---|---|---|
| 1 | 1.0% | 5.0% | 10.0% |
| 3 | 3.0% | 14.4% | 27.3% |
| 5 | 5.0% | 23.0% | 41.6% |
| 10 | 10.0% | 41.6% | 67.0% |
Holding 5 tickets with one winner is a straight 5 in 100. Drawing all the winners in one go gives the same odds as drawing them one at a time.
Turning a percentage into a roll
Each number from 1 to 100 is worth exactly 1%, so a chance written as a whole percentage becomes a single roll: succeed on that number or lower.
| Chance you want | Succeed on a roll of |
|---|---|
| 5% | 1–5 |
| 10% | 1–10 |
| 25% (one in four) | 1–25 |
| 50% (a coin flip) | 1–50 |
| 75% | 1–75 |
Fractions that aren't whole percentages don't fit. One in three would need 33.3 numbers, so use a 1 to 3 pick for that instead.
Guess the number between 1 and 100
Playing higher or lower? Always guess the middle of the numbers that are left, and you'll never need more than 7 guesses for 1 to 100. Guessing at random without the hints takes 50.5 guesses on average, even if you never guess the same number twice.
How long until your number comes up
| Chance of having seen it | Weekly draws needed |
|---|---|
| 50% | 69 |
| 90% | 230 |
| 99% | 459 |
Say one number from 1 to 100 is drawn each week and every number goes back in the pot. Your number's average wait is 100 weeks, and there's roughly a 1 in 10 chance it takes longer than 230.
Checking a batch of 1,000 draws
With repeats allowed, 1,000 picks give each number 10 appearances on average, and a single number lands between 4 and 17 at least 95% of the time. The chance that some number never appears is at most 0.43%.
Uneven odds from a 1 to 100 roll
Give each prize a block of numbers and the size of the block is its chance. A prize wheel with a rare top prize could look like this:
| Result | Numbers | Chance |
|---|---|---|
| Grand prize | 1 | 1% |
| Second prize | 2–10 | 9% |
| Small prize | 11–40 | 30% |
| No prize | 41–100 | 60% |
Change the blocks to change the odds. Make the No prize block 61–100 and three results in five win something. The same trick splits people or website visitors into test groups: 1–50 see version A, 51–100 see version B.
Two rolls against the same target
| Succeed on | Both rolls pass | At least one passes |
|---|---|---|
| 1–25 | 6.3% | 43.8% |
| 1–50 | 25.0% | 75.0% |
| 1–75 | 56.3% | 93.8% |
| 1–90 | 81.0% | 99.0% |
Needing both rolls to pass is harsh. A 50% check becomes 25%. Getting two tries is generous. The same check then passes 75% of the time. Pick the rule before you roll. Changing it after seeing the first result skews the odds.
How the number is picked
Your browser's Web Crypto API supplies a 32-bit random value (4,294,967,296 possibilities). Dividing by 100 leaves 96 spare values that would tilt the odds toward the lowest 96 numbers, so the generator discards them and draws again (1 time in 44,739,243).