Dice Roller

This dice roller rolls virtual dice with any number of sides, from a standard six-sided die to a d20 for tabletop games. Choose how many dice to roll, see each result and the total, and keep a short history of recent rolls in standard notation like 3d6.

Dice Roller tool

Total

Recent rolls

No rolls yet.

How to use it

  1. Set how many dice and how many sides each has.
  2. Click Roll.
  3. Read each die and the total, with recent rolls listed below.

What is a dice roller?

A dice roller is a virtual dice tool: it simulates one or more dice by drawing each result from crypto.getRandomValues, the browser’s secure random source. Every face of a fair die has the same chance, no matter what came before:

P(any face) = 1 / sides
d6: 1/6 ≈ 16.7%    d20: 1/20 = 5%

Roll several dice together and the total stops being flat. Middle sums can be made in more ways, so they come up more often, which is why 7 rules the board in dice games. This dice roller shows each die and the sum, handles 4 to 100 sides, and keeps notation like 3d6 in the history, so it stands in for any physical set.

Worked example

Input: 2 six-sided dice
Result: Two values and their sum, like 4 + 5 = 9
Input: 1 d20
Result: A single roll from 1 to 20

2d6 sum probabilities

SumWays out of 36Probability
212.8%
325.6%
438.3%
5411.1%
6513.9%
7616.7%
8513.9%
9411.1%
1038.3%
1125.6%
1212.8%

Dice for any game

A standard die has six sides, but tabletop and role-playing games use a whole family of dice named by their side count: d4, d6, d8, d10, d12 and d20, plus a percentile d100. A roll is written as the number of dice followed by the type, so 2d6 means two six-sided dice added together and 1d20 is a single twenty-sided die. This roller handles any of them, up to 50 dice at a time, showing each die and the total so you do not have to add them up.

Why totals bunch in the middle

Every die uses crypto.getRandomValues, the browser's secure random source, so results are fair and independent. Rolling two dice is not the same as picking one number from 2 to 12. With 2d6 there are 36 possible combinations. Only one of them makes a 2 (1 and 1) and only one makes a 12, but six of them make a 7, so a 7 comes up about 17 percent of the time and a 2 or a 12 under 3 percent. Add more dice and the curve gets steeper. Physical dice behave exactly the same way, which is why games like Catan and Monopoly are built around the middle numbers.

Reading the results

Each die is shown as its own tile, with the sum underneath. The history keeps your last eight rolls in standard notation, for instance 3d6: 4 + 2 + 5 = 11, which is handy when you need to look back at a damage roll or check a stat you rolled a minute ago. For a d100 the roller gives a number from 1 to 100 directly, so there is no need to pair two d10s. Nothing is stored between visits and nothing is sent to a server.

Common uses

  • Board games and tabletop RPGs like D&D and Pathfinder
  • Replacing lost or forgotten physical dice
  • Rolling character stats with 3d6 or 4d6
  • Teaching probability with real rolls
  • Random picks and quick games

When to use it

  • You need a dice roller for D&D when the d20 stayed home: attack rolls, saves and 4d6 character stats.
  • Board game night is missing its dice and an online dice roller keeps the game going.
  • A teacher wants the class to roll two dice many times and compare results with the 2d6 table above.
  • Your set never included the odd die a game asks for, like a d100 for percentile rolls.
  • Quick random picks: assign options to numbers and roll a single die.

Related tools

Coin Flip handles the two-outcome case with one tap instead of a d2.

Random Number Generator draws from any range, including ranges no die matches, and can pull thousands at once.

Wheel of Names picks among named options when a number needs a lookup table anyway.

Frequently asked questions

Any common die from 4 to 100 sides, and up to 50 of them at once. Pick the number of sides to match your game, such as d6 or d20.
Yes. The dice roller rolls each die with crypto.getRandomValues, the browser's secure random generator, so every face is equally likely and rolls are independent of each other. A virtual die has no worn edges or uneven weight, so if anything it is fairer than a physical one.
Two six-sided dice rolled and added together. The first number is how many dice, the letter d stands for die, and the last number is how many sides. Set Number of dice to 2 and Sides per die to 6 to roll it here.
Seven. Six of the 36 combinations add up to 7, about a 17 percent chance. Six and eight come next at about 14 percent each, while 2 and 12 each have only a 1 in 36 chance.
Yes. Every die is displayed as its own tile and the sum is calculated for you underneath, so a handful of dice does not need adding up by hand. The last eight rolls stay in the history list in standard notation until you leave the page.
Yes. Choose 20 sides for a d20 attack roll or saving throw. For advantage or disadvantage, set the count to 2 and take the higher or lower die shown. Set the count higher to roll several dice together for damage.
Yes. Choose 100 sides and you get a single number from 1 to 100, the same result as the percentile roll made with two ten-sided dice in many RPGs, without having to read a tens die and a units die separately.
The usual method is 4d6, drop the lowest. Set 4 dice with 6 sides, roll, and add the three highest values shown. Repeat six times for six ability scores. The simpler 3d6 method just takes the total of three dice.