Random numbers in any range, with or without repeats, plus a dice roller and coin flip
Enter a minimum and maximum to get a random whole number; every value in the range is equally likely, so each number from 1 to 100 has a 1% chance. Draw up to 1,000 numbers with or without repeats, roll dice from d4 to d100 or flip a coin. The randomness comes from crypto.getRandomValues in your browser.
With two six-sided dice, 7 is the most likely total: 6 of 36 combinations, a probability of 16.67%. A total of 2 or 12 has a probability of only 2.78% each, and the chance of rolling 10 or more is 16.67%. The random number generator on this page gives every whole number in your range the same chance, so each number from 1 to 100 has a 1% chance.
| Total | Combinations | Probability | This total or higher |
|---|---|---|---|
| 2 | 1 of 36 | 2.78% | 100.00% |
| 3 | 2 of 36 | 5.56% | 97.22% |
| 4 | 3 of 36 | 8.33% | 91.67% |
| 5 | 4 of 36 | 11.11% | 83.33% |
| 6 | 5 of 36 | 13.89% | 72.22% |
| 7 | 6 of 36 | 16.67% | 58.33% |
| 8 | 5 of 36 | 13.89% | 41.67% |
| 9 | 4 of 36 | 11.11% | 27.78% |
| 10 | 3 of 36 | 8.33% | 16.67% |
| 11 | 2 of 36 | 5.56% | 8.33% |
| 12 | 1 of 36 | 2.78% | 2.78% |
Enter 1 as the minimum and 100 as the maximum and select Generate. Both ends are included, and each of the 100 numbers has the same 1% chance.
It uses crypto.getRandomValues, the cryptographically secure random generator built into your browser, with rejection sampling so every number in the range is equally likely. The results cannot be predicted in practice.
Set how many numbers you need and tick No repeats. Each number then appears only once, so you can draw at most as many numbers as the range contains, for example 6 numbers from 1 to 49.
7. Six of the 36 possible combinations add up to 7 (1+6, 2+5, 3+4, 4+3, 5+2 and 6+1), a probability of 16.67%.
It means rolling two six-sided dice and adding them up. The number before the d is the count of dice and the number after it is the number of sides, so 1d20 is one twenty-sided die.
Enter a minimum and a maximum, and the generator picks a whole number from that range, including both ends. Every number is equally likely: in a range from 1 to 100, each number has a 1% chance. The numbers come from your browser's cryptographic random generator (crypto.getRandomValues). To avoid bias, raw values that would make some numbers more likely are discarded and drawn again, a method called rejection sampling. Nothing is sent to a server.
Set how many numbers you need, up to 1,000. With No repeats, each number appears at most once, like drawing numbered balls from a bag, so you cannot draw more numbers than the range contains. Without it, the same number can come up more than once, like rolling a die several times. Sort ascending puts the result in order, which helps with raffle tickets or random samples.
Roll up to 100 dice with 4, 6, 8, 10, 12, 20 or 100 sides. Dice are written as NdX, for example 2d6 for two six-sided dice or 1d20 for one twenty-sided die. The roller shows every die and the total. With two six-sided dice, 7 is the most common total: 6 of the 36 possible combinations add up to 7, a probability of 16.67%. Totals of 2 and 12 are the rarest, with one combination each (2.78%).
A fair coin flip has two outcomes with a 50% chance each. Flip once for a quick decision or many times to watch the share of heads move toward 50% as the number of flips grows. Every flip is independent: after five heads in a row, the next flip is still 50/50.
The generator is not meant for official lottery draws or gambling, which require certified systems.