Press Flip
Press Roll
History
Nothing yet. Your last 50 results appear here.
Runs on your device. Nothing is uploaded. Zero ads, unlimited use.
What is Coin Flip & Dice Roller?
Coin Flip & Dice Roller gives you a fair heads-or-tails coin toss and a dice roller in one page. The coin spins in 3D and lands on heads or tails; the dice roller throws 1 to 10 dice of type d4, d6, d8, d10, d12, d20 or d100 and adds up the total.
Every result comes from your browser's cryptographic random number generator, with rejection sampling so that each side and each number is exactly equally likely.
It keeps your last 50 results and simple statistics, such as how many heads and tails you got and your longest streak. Nothing is sent anywhere.
What you can use it for
Making a quick decision
Let a coin decide who goes first, which film to watch or who pays.
Board games without dice
Roll normal six-sided dice when the real ones are lost, or roll several at once for games like Monopoly or Yahtzee.
Tabletop role-playing games
Roll d4, d8, d10, d12, d20 or d100 for Dungeons & Dragons and other RPGs.
Teaching probability
Flip a coin 100 or 1,000 times in seconds and watch the heads share move towards 50%.
Sports and classroom draws
Decide kick-off, pick a team or choose a random student fairly.
Step-by-step tutorial: how to use Coin Flip & Dice Roller
Pick coin or dice
Use the Coin flip and Dice roller buttons at the top to switch between the two.
Flip the coin
Click Flip the coin, or click the coin itself. It spins for about a second and lands on Heads or Tails, shown in large text under it.
Flip many times
Click Flip 10 times or Flip 100 times to toss the coin quickly in one go. The result shows how many heads and tails you got.
Set up the dice
In Dice roller, choose the number of dice (1 to 10) and the type, from d4 to d100.
Roll
Click Roll the dice. Six-sided dice show dots; other dice show the number and their type. The total and each die's value appear under them.
Read the statistics
For the coin you see the number of flips, heads and tails with percentages and the longest streak. For dice you see the number of rolls, your average total and the expected average.
Use the history
The last 50 results are listed with the time. Click Clear history and statistics to start again.
Features
- Fair randomnessUses crypto.getRandomValues with rejection sampling, so there is no bias towards any result.
- 3D coin flipA spinning coin animation that is skipped if you prefer reduced motion.
- Seven kinds of diced4, d6, d8, d10, d12, d20 and d100, from 1 to 10 dice at a time with an automatic total.
- Quick batchesFlip 10 or 100 coins at once for experiments and classroom demos.
- StatisticsHeads and tails percentages, longest streak, average roll and the expected average.
- HistoryYour last 50 results with the time, kept on this device.
- Sound effectsA coin ring and a dice rattle that you can switch off.
Worked example: testing whether a coin is fair
Click Flip 100 times ten times. The statistics show Flips 1,000, for example Heads 507 (50.7%) and Tails 493 (49.3%), with a longest streak of 9. That small difference from 50% is normal: with 1,000 fair flips, the heads share is usually between about 47% and 53%. A streak of 8 or more is also common in 1,000 flips. Then switch to Dice roller, choose 2 dice and d6, and roll 30 times: your average total should move close to the expected average of 7.
Tips and tricks
- Press the Space bar to flip or roll again without using the mouse.
- Clicking the coin itself also flips it.
- For a d100 roll in role-playing games, use 1 die of type d100 instead of two d10.
- Long streaks of the same side are normal in random results and do not mean the next flip is more likely to change.
- Untick Sound effects if you are in a quiet place.
Problems and how to fix them
The coin does not spin
Your device or the Settings page asks for reduced motion, so the result is shown straight away. This does not change the result.
I hear no sound
Check that Sound effects is ticked and your device is not muted. Some phones play no web sound in silent mode.
The Flip button does nothing
Wait for the current flip to finish. The button is disabled for about a second while the coin spins.
My history is gone
History is saved in this browser only. It is removed if you clear your browsing data or use a private window.
Questions and answers
Is the coin flip really 50/50?
Yes. It uses the browser’s cryptographic random number generator with rejection sampling, so heads and tails are exactly equally likely.
Which dice can I roll?
d4, d6, d8, d10, d12, d20 and d100, from 1 to 10 dice at once. The total is added up for you.
Why did I get heads five times in a row?
Streaks are normal in random results. In 100 flips, a run of 5 or more of the same side happens most of the time.
Can I turn off the animation or sound?
Yes. Untick Sound effects for silence. The animation is skipped if your device asks for reduced motion or you turn animations off in Settings.
Is my history saved?
Your last 50 results and the statistics are kept in this browser until you click Clear history and statistics.