Dice Roller

About this calculator

The Dice Roller has two parts. The virtual roller throws 1 to 100 standard six-sided dice and shows each face. The non-conventional roller throws 1 to 10,000 dice with any number of sides, such as a d4, d8, d12, d20 or d100. Both show the sum and the product of the dice.

Virtual Dice Roller

Roll 1 to 100 standard six-sided dice.

Non-Conventional Dice Roller

Roll dice with any number of faces.

2 to 1,000,000,000
1 to 10,000

Embed this calculator

Paste this code into a Custom HTML block on your site. The calculator fits the width of the block. Adjust the height in the code if you want more room for results.

Find this widget in the publisher directory

How the dice roller works

Choose how many dice to roll (and, in the second roller, how many sides each die has), then press the button. For each die the roller asks your browser's cryptographic random source for a number and maps it onto the faces so that every face from 1 to the number of sides has exactly the same probability. The individual results appear immediately, followed by their sum and their product whenever more than one die is rolled.

Common dice and what they are used for

DieShapeTypical use
d4TetrahedronSmall weapon damage in role-playing games
d6CubeBoard games, craps, general chance
d8OctahedronMedium weapon damage
d10Pentagonal trapezohedronPercentile rolls, some game systems
d12DodecahedronHeavy weapon damage
d20IcosahedronAttack and skill checks in tabletop games

Two d10s read as tens and units make a percentile roll from 1 to 100, and the non-conventional roller can also roll a single d100 directly: set the sides to 100.

Expected results

For a single die with s sides every face has a chance of 1 in s, and the average roll is (s + 1) / 2. For n dice the average total is n × (s + 1) / 2, the lowest total is n and the highest is n × s.

average total = n × (s + 1) / 2

Worked example

Rolling 3d6 can total anything from 3 to 18, with an average of 3 × 3.5 = 10.5. A total of 10 or 11 is the most common outcome, each occurring in 27 of the 216 equally likely combinations, while 3 and 18 each occur in only 1 of 216 combinations, about 0.46 percent.

Why more dice cluster around the middle

With one die every total is equally likely. Add a second and the middle totals gain more ways to occur: a total of 7 on two d6 can be made six ways, while a 2 or a 12 can be made only one way. Add more dice and the distribution of totals takes on the familiar bell shape, which is why game designers use several small dice when they want predictable results and a single large die when they want swings.

Fairness of virtual dice

Physical dice are never perfect. Small differences in weight, edge shape or the way the pips are drilled can bias a die slightly, and large dice such as the d20 are the hardest to balance. A virtual roller built on a cryptographic random source has no such physical flaws, and each roll is independent of the last. A streak of the same number is normal behavior for random rolls, not a sign of a fault.

Custom dice

Use the non-conventional roller for a die with any number of sides from 2 upward. A two-sided die works as a coin flip, a 30-sided die can pick a day of the month and a 52-sided die can pick a card position. This is handy for tabletop homebrew rules, classroom activities and quick decisions.

Tips

  • Write down each total if you need a running record of a game session.
  • For advantage or disadvantage in a d20 game, roll 2d20 and read the higher or lower die.
  • To roll with a bonus, add it to the total yourself, for example a total of 14 plus 3.

Using the roller for games

Role-playing games combine dice into expressions such as 2d6 + 3 for damage or 1d20 + 5 for an attack. Roll the dice here and add the modifier yourself. In many games, rolling the maximum on a die lets you roll again, so keep rolling and note each total. Board games that call for a pair of six-sided dice work the same way: roll two d6 and read the total, remembering that 7 comes up six times as often as 2 or 12.

Probability reference for two six-sided dice

TotalWaysChance
2 or 1212.78%
3 or 1125.56%
4 or 1038.33%
5 or 9411.11%
6 or 8513.89%
7616.67%

Frequently asked questions

How many dice can I roll at once?
The six-sided roller handles 1 to 100 dice. The non-conventional roller handles 1 to 10,000 dice, each with 2 to 1,000,000,000 sides.
Are virtual dice really random?
The roller uses your browser’s cryptographic random source, so every face is equally likely and each roll is independent. It is generally closer to ideal than a physical die.
What is the average of 2d6?
The average total of two six-sided dice is 7, and totals range from 2 to 12.
How do I roll a d100?
In the non-conventional roller, set the sides to 100 and the number of dice to 1. You get a number from 1 to 100.

Formulas and sample results on this page were checked against independent references. Page last reviewed or updated . How we verify calculators. Project led by Shaun Connell.