Random Generator
Generate random numbers, dice rolls, and coin flips
Random Number
Dice Roller
Coin Flip
Frequently Asked Questions
How do I generate a random number between 1 and 100?
Set the Min to 1 and Max to 100, then click Generate Number. The result is uniformly random across that range. You can change either boundary to any integer for lottery picks, random list selections, or any situation where you need an unbiased number. A history of recent results is shown below the button.
How do I roll a D20 for Dungeons and Dragons?
Click the D20 button in the Dice Roller section. The result is a random integer from 1 to 20 with equal probability for each face, just like a physical die. The tool also supports D4, D6, D8, D10, and D12 for different game systems. Each click is an independent roll with no memory of past rolls.
Is the coin flip truly 50/50?
Yes. The coin flip uses JavaScript’s Math.random(), which produces a uniformly distributed value between 0 and 1. Values below 0.5 return Heads and values at or above 0.5 return Tails, giving each side exactly a 50% chance. Each flip is independent of all previous results.
Can I use this to randomly pick someone from a list?
If you have a numbered list, assign each person a number and use the random number generator to pick one. Set Min to 1 and Max to the number of people, then generate. For more complex selections like shuffling a list or picking multiple unique winners, you would need a dedicated list randomizer tool.
How random is Math.random in a browser?
Browser Math.random() is a pseudorandom number generator seeded by the system clock and other entropy sources. It is statistically uniform and unpredictable for everyday uses like games and giveaways, but it is not cryptographically secure. For security-sensitive applications like generating tokens, use the Password Generator which uses the browser’s crypto API instead.