ToolNimba Browse

🎲 Dice Roller

By ToolNimba Editorial Team · Updated 2026-06-19

Each die
--
Total
--

Pick a dice type and count, then press Roll dice.

This dice roller lets you roll virtual dice right in your browser. Choose a dice type (from a four-sided d4 up to a hundred-sided d100), set how many dice you want, and press Roll. You will see each individual result and the combined total at once. Every roll uses your browser cryptographic random generator, so the outcome is genuinely unpredictable and fair, with no loaded dice and nothing sent over the network.

What is the Dice Roller?

A die is a small object with marked faces that, when thrown, lands on one face at random. The most familiar die is the six-sided cube (a d6) numbered 1 to 6, but tabletop games use a whole family of shapes. The name follows the pattern dN, where N is the number of faces: a d4 has four faces, a d20 has twenty, and a d100 (often called a percentile die) reads from 1 to 100. A virtual dice roller simply reproduces this behaviour in software, picking a whole number between 1 and N with each face equally likely.

The quality of a dice roller comes down to its randomness. A naive approach uses a basic pseudo-random function, which is fine for casual play but can show subtle patterns. This tool instead draws random bytes from the Web Crypto API (the same source used for security keys) and applies rejection sampling so that no face is even slightly favoured. When you roll several dice at once, each die is rolled independently, then the results are summed to give the total, exactly as you would do by hand at the table.

Dice notation also lets you describe rolls compactly. Writing 2d6 means roll two six-sided dice and add them; 3d8 means three eight-sided dice. Many board games, role-playing systems, and probability lessons lean on this shorthand. This roller covers the standard polyhedral set used in those games, so you can replace a physical set you have lost, settle a decision, or explore how totals cluster when you roll many dice together.

When to use it

  • Playing a tabletop role-playing game when you have lost or forgotten your physical dice.
  • Settling a fair decision or picking a random number between two people.
  • Teaching probability by rolling many dice and watching how the totals distribute.
  • Running a board game night where one set of dice has gone missing.

How to use the Dice Roller

  1. Choose the dice type you need, from d4 up to d100.
  2. Set the number of dice to roll (1 to 50).
  3. Press Roll dice.
  4. Read each individual result in the row of faces and the combined total below.
  5. Press Roll dice again for a fresh throw.

Formula & method

each die = random integer from 1 to N (N = number of faces).   total = sum of all dice.   For example 3d6 means three dice, total ranges from 3 to 18.

Worked examples

Rolling 2d6 (two six-sided dice).

  1. Die 1 lands on a 4 (an integer from 1 to 6).
  2. Die 2 lands on a 3 (an integer from 1 to 6).
  3. total = 4 + 3 = 7

Result: Results 4 and 3, total 7

Rolling 1d20 for a single attack check.

  1. One twenty-sided die is rolled, giving an integer from 1 to 20.
  2. The die lands on a 17.
  3. total = 17 (a single die equals its own total)

Result: Result 17, total 17

Rolling 3d8 and summing.

  1. Die 1 = 6, Die 2 = 2, Die 3 = 8 (each from 1 to 8).
  2. total = 6 + 2 + 8
  3. total = 16

Result: Results 6, 2, 8, total 16

Standard polyhedral dice and their ranges

DieFacesRangeCommon use
d441 to 4Light damage, small rolls
d661 to 6Board games, most general use
d881 to 8Weapon damage in RPGs
d10101 to 10Percentile pairs, damage
d12121 to 12Heavy weapon damage
d20201 to 20Attack and skill checks
d1001001 to 100Percentile rolls

Possible totals when rolling two six-sided dice (2d6)

TotalWays to make itChance
212.8%
7616.7%
1212.8%

Common mistakes to avoid

  • Confusing a d10 with a d100. A d10 gives a number from 1 to 10. A d100 (percentile) gives 1 to 100. In physical sets a d100 is often two ten-sided dice read together, but this tool rolls a true 1 to 100 in one step.
  • Expecting every total to be equally likely. Each face of one die is equally likely, but sums are not. With 2d6 a total of 7 comes up far more often than 2 or 12, because more face combinations add up to 7.
  • Assuming a hot or cold streak means the dice are unfair. Random rolls naturally produce runs of high or low numbers. A string of sixes does not make the next roll less likely to be a six; each roll is independent.

Glossary

Die (plural dice)
An object with numbered faces that produces a random number when thrown.
dN notation
A way of naming a die by its number of faces, so a d20 has twenty faces numbered 1 to 20.
Polyhedral dice
The set of many-sided dice (d4, d8, d12, d20 and so on) used in role-playing games.
Percentile die
A d100 that produces a result from 1 to 100, often used for percentage based rolls.
Rejection sampling
A technique that discards certain raw random values so each die face ends up exactly equally likely.

Frequently asked questions

Is this dice roller really fair?

Yes. It draws random bytes from your browser Web Crypto generator and uses rejection sampling so that every face has exactly the same chance. There are no loaded dice and no hidden bias toward any number.

What dice types can I roll?

You can roll a d4, d6, d8, d10, d12, d20, and d100. These cover the standard polyhedral set used in most tabletop and role-playing games.

How many dice can I roll at once?

You can roll from 1 up to 50 dice in a single throw. Each die is rolled independently and the tool shows you both the individual results and the combined total.

What does notation like 2d6 mean?

It means roll two six-sided dice and add the results. The first number is how many dice, the letter d stands for die, and the second number is the faces. So 3d8 is three eight-sided dice.

Why is a total of 7 so common with two dice?

With two six-sided dice there are six different face combinations that add up to 7, more than any other total, so 7 appears about 16.7% of the time while 2 and 12 each appear only about 2.8%.

Does the roller need an internet connection?

No. All rolling happens inside your browser using local code. Nothing is sent to a server, so it works offline once the page has loaded and your rolls stay private.