Dice Roller, Coin Flip & Random Number Generator
Roll virtual dice for board games and tabletop RPGs, flip a coin to settle a choice, or pick random numbers in any range. Every result is fair and comes from your browser's secure random generator.
Dice roller
Please enter whole numbers: 1 to 10 dice, a minimum no bigger than the maximum, and 1 to 100 numbers.
- Total
- –
Coin flip
- Heads
- 0
- Tails
- 0
Random number generator
Please enter whole numbers: 1 to 10 dice, a minimum no bigger than the maximum, and 1 to 100 numbers.
The range is too small for that many different numbers. Widen the range or ask for fewer.
- Your numbers
- –
Key facts
- Dice
- 1 to 10 dice: d4, d6, d8, d10, d12, d20 or d100
- Coin
- Heads or tails, with a tally for this visit
- Random numbers
- Any whole-number range, up to 100 at once, with or without duplicates
- Fairness
- Cryptographic random numbers, every result equally likely
This page brings three random tools together: a dice roller for board games and tabletop RPGs, a coin flip for quick decisions, and a random number generator for raffles, games and picking turns. Each one works with a tap, a click or the keyboard.
How to use the dice roller
Choose how many dice to roll (1 to 10) and the type of die: d4, d6, d8, d10, d12, d20 or d100. Press Roll the dice. You’ll see every die and the total. To keep rolling from the keyboard, click the dice area and press Space or Enter.
How the coin flip and random numbers work
Coin flip: press Flip the coin for heads or tails. The tally below counts your flips during this visit, and starts again when you reload the page.
Random number generator: set a minimum and a maximum (both included), choose how many numbers you want (1 to 100), and tick No duplicates if no number may come up twice. If the range has fewer numbers than you asked for, the tool tells you instead of repeating one.
Is it fair? How the randomness works
Every result comes from crypto.getRandomValues, the browser’s cryptographic random number generator, the same kind used for security keys.
Turning a large random value into a die face is where many simple rollers go slightly wrong. Taking the remainder (value mod 6) makes a few faces a tiny bit more likely, because the big number range doesn’t divide evenly by 6. This tool uses rejection sampling instead: random values from the uneven leftover at the top of the range are thrown away and drawn again. What’s left divides evenly, so every face, side or number has exactly the same chance.
For several dice, each die is rolled on its own and the faces are added up.
Worked examples
2d6. Each die shows 1 to 6, so the total is always between 2 (1 + 1) and 12 (6 + 6). There are 36 equally likely combinations, and 7 is the most common total, with 6 of them (1+6, 2+5, 3+4, 4+3, 5+2, 6+1).
d100. One roll gives a whole number from 1 to 100, each with a 1 in 100 chance. It’s handy for percentile tables in RPGs.
Random 1 to 3, three numbers, no duplicates. The result is always 1, 2 and 3 in a random order, a quick way to decide who goes first, second and third.
Tips
- Board game night: roll 2d6 for games that use two ordinary dice.
- RPG sessions: use 1d20 for attacks and checks; switch to d4, d8 or d12 for damage.
- Raffles and draws: give each entry a number and use the random number generator with No duplicates.
Everything runs in your browser; nothing you type is sent or saved.
Like games of chance and skill?
If a quick roll of the dice is your kind of fun, you’ll like the casual games on the Playout shelf. On Android, the levels you finish earn coins you can turn into PayPal cash or gift cards. Find a few favourites in our guide to casual games that pay real money.