Dice roller.
Roll virtual dice for games and decisions. Choose how many dice and how many sides each has, then press the button to roll a random total and see every die.
Set up your roll
LivePick the number of dice and the sides per die, then press the button to roll again. Each roll is independent and random, just like physical dice.
Total
7
sum of all dice
Uses your browser’s random number generator, fine for games and casual use but not for cryptography. Calculations run in your browser; nothing you enter is stored.
How it works
Rolling the dice
A dice roller picks a random whole number between 1 and the number of sides for each die, then adds them up. Two six-sided dice, the classic 2d6, give a total somewhere from 2 to 12, with 7 the most likely result.
Press the button to roll again; every roll is independent, so past results never affect the next. You can set any number of dice and choose common dice from a four-sided d4 up to a hundred-sided d100.
Reference
Common dice and their range.
The possible total for some common dice combinations, written in the standard NdS notation.
| Dice | Possible total |
|---|---|
| 1d6 | 1 to 6 |
| 2d6 | 2 to 12 |
| 3d6 | 3 to 18 |
| 1d20 | 1 to 20 |
| 4d6 | 4 to 24 |
| 2d10 | 2 to 20 |
The full guide
The complete guide to rolling dice.
How the roller works, what the notation means, and why totals cluster in the middle.
How the roller works
For each die, the tool generates a random whole number from 1 up to the number of sides, then sums the dice for the total. It is the digital equivalent of shaking and throwing real dice, with the same uniform chance for each face.
Because each die is independent, rolling more dice does not make any single die more or less likely to land on a given number.
Reading dice notation
Tabletop games write dice as NdS, where N is how many dice and S is the sides. So 2d6 means two six-sided dice and 1d20 means one twenty-sided die. This calculator builds any NdS combination you choose.
Adding a number, as in 2d6 plus 3, is common in games; just add it to the total the roller gives.
Why totals cluster
A single die is equally likely to show any face, but the total of several dice is not. There are many ways to roll a 7 with 2d6 but only one way to roll a 2 or a 12, so totals bunch toward the middle in a bell-like shape.
The more dice you add, the more pronounced this clustering becomes, which is why multi-dice systems feel less swingy.
Fairness and randomness
The roller uses the browser’s built-in random generator, which is well suited to games, simulations and quick decisions. It is not designed for cryptographic security or gambling, where specialised hardware randomness is required.
For repeatable game results, note the roll; the tool does not keep a history.
The formula
Random,
every roll.
Each die is a random whole number from 1 to its number of sides; the total is their sum.
Random number generator ›# Roll N dice of S sides
each die = randomInt(1, S)
total = sum of all dice
# 2d6
range 2 to 12, most likely 7Questions
Dice roller questions.
How does the dice roller work?
+
It generates a random whole number from 1 to the number of sides for each die and adds them up. Choose your dice above and press the button to roll.
What does 2d6 mean?
+
It is dice notation for two six-sided dice. N is the number of dice and S the sides, so 1d20 is one twenty-sided die. The total of 2d6 ranges from 2 to 12.
Why is 7 the most common roll on 2d6?
+
Because more combinations add up to 7 than to any other total. There are six ways to make 7 but only one way each to make 2 or 12, so totals cluster in the middle.
Is the dice roller truly random?
+
It uses the browser’s random number generator, which is fine for games and casual use. It is not intended for cryptography or gambling, which need secure hardware randomness.
Is this dice roller free?
+
Yes. It is completely free with no sign-up, and every roll runs locally in your browser, so nothing you enter is stored or sent anywhere.
About the developer
Jean Borg
Jean builds and maintains every calculator on freecalculators.pro from Malta, with a focus on tools that are fast, free and show their working. The dice roller throws any number of dice from d4 to d100 for games and decisions.