Dice Roller
Roll virtual dice for games.
What this calculator does
This tool rolls dice for you. Choose how many dice to roll and how many sides each one has. You see each roll and the total.
Use it when the dice from a board game go missing, for tabletop games that use dice with many sides, or to make a fair random pick in a classroom or at home. A die with two sides works as a coin toss.
A worked example
Leilani is hosting a games night in Charlottetown, and the dice for her favourite board game are missing. She sets the roller to 2 dice with 6 sides each.
When this page was loaded, the dice came up 6, 5, for a total of 11. That roll is made fresh each time the page loads, so if you open this example in the calculator you will most likely see a different result. Over a whole evening, totals near the middle will turn up much more often than the lowest or highest, because more pairs of faces add up to them.
How we work it out
For each die, we pick a whole number from 1 up to the number of sides. Every face has the same chance of coming up. The numbers come from a secure random number generator on our server, the kind that is also used to make encryption keys. Then we add the rolls together for the total.
You can roll from 1 to 100 dice, each with 2 to 100 sides. If you enter a number outside those limits, we quietly use the nearest limit instead. The note under the result shows what was rolled, such as 2d6 for two six-sided dice.
What the total tells you
The lowest total you can roll is when every die shows 1. The highest is when every die shows its top face. Each face of a fair die is as likely as any other. But with two or more dice, some totals can be made in many ways and others in only one. There is just one way to roll the lowest total, so it is rare. Totals in the middle can be made from many mixes of faces, so they come up most often.
The more dice you roll, the more the totals bunch up near the middle. With one die, every result is equally likely.
Streaks and fairness
Each roll is separate. The dice do not remember the last roll, so a 6 is no more and no less likely after three 6s in a row. Over many rolls, the share of times each face comes up gets closer and closer to its true chance. A short run of rolls can still look lopsided.
The generator is the same secure kind used for passwords and keys, so the results are fair. Still, keep it for games and everyday choices. For a prize draw or anything with money involved, follow the official rules for that contest.
Using it for games
- Game rules often write dice as a number, a d, and the number of sides. So 3d8 means three dice with eight sides each.
- If a game adds a bonus to the roll, add it to the total yourself.
- To pick one person out of a group of 12, roll one die with 12 sides and count around the group.
What this does not include
- Rules for specific games
- A bonus or penalty added to the roll, which you add yourself
- A history of past rolls. Each new roll replaces the last.
- More than 100 dice at once, or dice with more than 100 sides
- Dice with unusual faces, such as letters, symbols or numbers that do not start at 1
Common questions
Is it truly random?
The rolls come from a secure random number generator on our server, the same kind used to make encryption keys. Each face of each die has the same chance on every roll, and the next roll cannot be worked out from the ones before it. That makes it fair for games.
Can the same number come up many times in a row?
Yes. Each roll is separate, and the dice have no memory. A run of the same number is unusual but quite possible. Over a large number of rolls, each face will come up close to its fair share of the time.
What does 2d6 mean?
It is short for two dice with six sides each. The first number is how many dice, and the number after the d is how many sides. The note under your result uses the same style, so you can check that you rolled what your game asks for.
Can I use it to flip a coin?
Yes. Set it to one die with two sides. Decide before you roll which number means heads, for example 1 for heads and 2 for tails. Each side has the same chance, just like a fair coin.
Why do some totals come up more often than others?
With two or more dice, there are more ways to make some totals than others. With two six-sided dice, only one pair of faces makes the lowest total, but many pairs make a total in the middle. That is why middle totals turn up most in games that use several dice.
Sources
- 3.1 Terminology - Introductory Statistics 2e, OpenStax, Rice University
- PHP: random_int - Manual, The PHP Documentation Group
Last reviewed October 18, 2026. How we check our numbers.
This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.