A coin flip settles a small decision in a second, and sometimes you don't have a coin in your pocket. This coin flip and dice roller gives you a fair, random result right in your browser. Toss a single coin for heads or tails, flip up to 1,000 coins at once, or roll dice with 4, 6, 8, 10, 12, 20 or 100 sides. You'll see each individual result, along with totals and a running history of recent throws. It's handy for board games, classroom probability lessons, role-playing games, and for deciding who goes first.
How to use the coin flip and dice roller
- Choose Coin flip or Dice roll.
- Enter how many, or leave it empty for one.
- Pick the number of sides if you're rolling dice.
- Press Flip or roll.
- Press again for another go, and check your recent results.
What is a coin flip?
Coin flipping, also known as coin tossing or heads or tails, involves launching a coin into the air and checking which side is showing once it's landed, in order to choose randomly between two alternatives. It has a long history: the Romans knew it as navia aut caput, meaning “ship or head,” because some of their coins had a ship on one side and the head of the emperor on the other.
What are dice?
A traditional die is a cube with each of its six faces marked with a different number of dots from 1 to 6. When it's thrown, it comes to rest showing a random number on its upper surface, with each value being equally likely. Dice can also have other shapes, and games often use a set of polyhedral dice. They've been used since before recorded history, and their origin is uncertain.
Is the online result fair?
This tool uses your browser's cryptographic random number generator, which is designed to provide high-quality random values. Each coin or die is independent, and the tool removes a small statistical bias that could otherwise appear when a random number is fitted to a range. In practice, every side has the same chance on every throw. Nothing about your previous results can influence the next one.
The odds
| Throw | Chance of a particular result |
|---|---|
| One coin | 1 in 2, or 50% |
| One d6 | 1 in 6, about 16.67% |
| One d20 | 1 in 20, or 5% |
| Two heads in a row | 1 in 4, or 25% |
| Double six with two d6 | 1 in 36, about 2.78% |
A probability lesson
Flip 10 coins and you might get 7 heads and 3 tails. Flip 1,000, and you'll usually get something quite close to 500 of each. This is the law of large numbers at work: the more trials you run, the closer the results tend to get to the expected average. Teachers can run this demonstration in seconds. Ask students to predict the outcome, flip different quantities of coins, and compare the percentages shown in the results table.
The gambler's fallacy
If a coin lands on heads five times in a row, many people feel that tails is “due.” It isn't. Each flip is independent, so the chance of tails on the next toss remains exactly 50%. This mistaken belief is known as the gambler's fallacy, and it can lead to poor decisions in games and in other situations involving chance.
Dice notation
Role-playing games use a simple shorthand. In 2d6, the first number is how many dice you roll, and the number after the d tells you how many sides they have. So, 2d6 means two six-sided dice, and d20 means one twenty-sided die. The tool shows its results in this format in your recent history, which makes it easy to keep track of what you rolled.
Ways to use it
- Board games: replace lost dice, or add extra ones.
- Role-playing games: roll d4 through d20, or d100 for percentages.
- Decisions: pick where to eat, or who washes the dishes.
- Teaching: demonstrate probability with large samples.
- Sports and games: decide who starts.
Using a coin to make a decision
Here's a helpful trick: assign your two options to heads and tails, and flip the coin. While it's in the air, notice which side you're secretly hoping for. Even if you decide to ignore the outcome, that feeling can tell you what you really want. For small decisions, the coin saves time. For important ones, it's better to weigh up the facts.
Rolling several dice
When you add up more than one die, the totals are no longer equally likely. With two six-sided dice, there's only one way to make 2, while there are six ways to make 7, so 7 comes up most often. Many board games are designed around this pattern. Roll a large number of dice here, and you'll notice that the average settles near the middle of the range.
Common mistakes
- Expecting streaks to even out soon. Each result is independent.
- Confusing d6 with 6 dice. The d stands for the die's number of sides.
- Relying on chance for serious choices. Use it for fun and small decisions.
Related random tools
Choose a number with the random number generator, pick someone with the random name picker, and work out the odds with the probability calculator.
What next
Use this often? Add Coin Flip an to your Home screen.
Frequently asked questions
How does the coin flip work?
It uses your browser's secure random number generator to choose heads or tails with equal chance.
Is the online dice roller fair?
Yes. Every side has the same chance on each roll.
Can I roll more than one die?
Yes. You can roll up to 1,000 at a time.
What does d20 mean?
It means a die with 20 sides.
Do previous results affect the next one?
No. Each flip and roll is independent.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.