Dice Roller
Roll virtual dice online for free — d4 to d100, dice notation like 2d6+3, advantage/disadvantage and D&D ability scores. See each result and the total instantly.
About this tool
Whether you play tabletop role-playing games, board games or just need a random number, a dice roller is faster than hunting for physical dice. This free online dice roller covers the six dice used in most games: the four-sided d4, the classic six-sided d6, the d8, d10, d12 and the twenty-sided d20. Roll one die or up to ten at once, add a bonus or penalty, and see every result and the total in one click. There is nothing to install and no signup, and every roll is made fresh in your browser.
By Azhar Hussain · Last updated: 7 November 2026
How to use
There are three ways to roll. Simple roll: pick a dice type from the list — d4, d6, d8, d10, d12, d20 or d100 — then choose how many dice to roll, from 1 to 100. If your game adds a bonus or a penalty, type it into the modifier box: use a positive number like 2 for a bonus or a negative number like -1 for a penalty, and leave it at 0 if there is none. For a d20, you can also choose advantage (roll twice, keep the higher) or disadvantage (roll twice, keep the lower). Press Roll Dice to see each die result, the total of the dice, and the total with your modifier applied, plus the lowest, highest and average totals that roll can give.
Dice notation: switch the mode to "Dice notation" and type an expression like 2d6+3, 3d8+2d4-1, 4d6dl1 (four six-sided dice, drop the lowest) or d% for a percentile roll. You can repeat a whole expression with a count in front, for example 6x4d6dl1. If the notation is mistyped, the roller says exactly what is wrong instead of guessing.
Ability scores: press the "Roll ability scores" button to roll all six D&D ability scores at once. Each score is 4d6 with the lowest die dropped, and the ability modifier is shown next to each score. Every roll is added to a history of your last 50 rolls, and you can copy any result or share a link to the same roll.
The math behind it
Each die is a fair random number. A d6 can land on any whole number from 1 to 6, a d20 on any whole number from 1 to 20, and so on, with every face equally likely. The total is the sum of all the dice, and the final result adds the modifier: final total equals the sum of the dice plus the modifier. So three d6 showing 3, 5 and 2 total 10, and with a +2 modifier the final result is 12. The smallest possible result is the number of dice plus the modifier, and the largest is the number of dice times the sides plus the modifier.
In dice notation, NdS means N dice with S sides each: 2d6 rolls 2 to 12, 2d6+3 rolls 5 to 15, 4d8−1 rolls 3 to 31, and 3d8+2d4 rolls 5 to 32. The average total of a roll is the number of dice times the average of one die, (sides + 1) ÷ 2: 2d6 averages 7, 3d6 averages 10.5 and 8d6 averages 28. With keep or drop rules the average changes: 4d6 drop lowest averages about 12.24, higher than the plain 3d6 average of 10.5, because the lowest die is thrown away.
Dice notation explained
Standard dice notation is NdS: N dice with S sides each. A + or − adds a modifier or another group, and keep/drop rules pick which dice count. d% is shorthand for a percentile roll, d100. Put a count and an x in front to repeat a whole expression.
| Notation | What it means | Possible range |
|---|---|---|
| d20 | One 20-sided die | 1–20 |
| 2d6 | Two 6-sided dice | 2–12 |
| 2d6+3 | Two 6-sided dice, plus 3 | 5–15 |
| 4d8−1 | Four 8-sided dice, minus 1 | 3–31 |
| 3d8+2d4 | Three 8-sided dice and two 4-sided dice | 5–32 |
| 4d6dl1 | Four 6-sided dice, drop the lowest one | 3–18 |
| d% | Percentile — one 100-sided die | 1–100 |
Keep and drop use two letters: kh keep highest, kl keep lowest, dh drop highest, dl drop lowest — so 4d6dl1 rolls four six-sided dice and drops the lowest one, while 2d20kh1 rolls two d20s and keeps the higher, which is advantage. 6x4d6dl1 repeats the whole 4d6-drop-lowest roll six times, which is how a full set of ability scores is rolled.
Why 7 comes up so often on 2d6
Rolling two dice does not give every total the same chance. There are 36 possible pairs, and some totals can be made in more ways than others — 7 can be made six ways, while 2 and 12 can each be made only one way.
| Total | Ways to roll it | Chance |
|---|---|---|
| 2 | 1 | 2.8% |
| 3 | 2 | 5.6% |
| 4 | 3 | 8.3% |
| 5 | 4 | 11.1% |
| 6 | 5 | 13.9% |
| 7 | 6 | 16.7% |
| 8 | 5 | 13.9% |
| 9 | 4 | 11.1% |
| 10 | 3 | 8.3% |
| 11 | 2 | 5.6% |
| 12 | 1 | 2.8% |
That is why 7 moves the robber in Catan and is the most common roll in Monopoly and craps. Three dice cluster even harder around the middle: on 3d6 the totals 10 and 11 are the most common, each with 27 of 216 combinations (12.5%). The average total of any roll is the number of dice times the average of one die, (sides + 1) ÷ 2: 2d6 averages 7, 3d6 averages 10.5 and 8d6 averages 28.
Advantage and disadvantage on a d20
With advantage you roll two d20s and keep the higher; with disadvantage you keep the lower. The effect is biggest in the middle of the range and smallest at the extremes.
| Target number | Normal chance | With advantage | With disadvantage |
|---|---|---|---|
| Need 5 or more | 80% | 96% | 64% |
| Need 10 or more | 55% | 79.75% | 30.25% |
| Need 11 or more | 50% | 75% | 25% |
| Need 15 or more | 30% | 51% | 9% |
| Need 20 or more | 5% | 9.75% | 0.25% |
On average a single d20 rolls 10.5; with advantage the average kept roll is about 13.82, and with disadvantage it is about 7.17. A natural 20 comes up 9.75% of the time with advantage, nearly double the normal 5% — which is why advantage feels so much better than a flat +2 bonus on the rolls that matter.
Rolling D&D ability scores with 4d6 drop lowest
The standard way to roll a Dungeons & Dragons ability score is 4d6 drop lowest: roll four six-sided dice, throw away the lowest, and add the other three. Dropping the lowest die pushes scores upward compared with a plain 3d6 roll.
| Method | Average score | Chance of 15 or more | Chance of an 18 |
|---|---|---|---|
| 3d6 (roll three dice, add them up) | 10.5 | 9.3% | 0.46% |
| 4d6 drop lowest (roll four dice, drop the lowest) | 12.24 | 23.1% | 1.62% |
The ability modifier next to each score is (score − 10) ÷ 2, rounded down: a score of 15 gives +2, a score of 12 gives +1, a score of 10 or 11 gives +0, and a score of 8 gives −1. The "Roll ability scores" button rolls all six scores at once — Strength, Dexterity, Constitution, Intelligence, Wisdom and Charisma — with the dropped die greyed out so you can see exactly what was thrown away.
Dice shapes: from d4 to d20
Most game dice are Platonic solids — shapes whose faces are all identical, which is what makes each face equally likely.
| Die | Shape | Faces | Common use |
|---|---|---|---|
| d4 | Tetrahedron | 4 triangular faces | Damage for small weapons, e.g. daggers |
| d6 | Cube | 6 square faces | Board games, damage — the everyday die |
| d8 | Octahedron | 8 triangular faces | Damage for one-handed weapons |
| d10 | Pentagonal trapezohedron | 10 kite-shaped faces | Percentile dice with a second d10, damage |
| d12 | Dodecahedron | 12 pentagonal faces | Damage for heavy weapons |
| d20 | Icosahedron | 20 triangular faces | Attacks, checks and saving throws in D&D |
| d100 | Percentile — two d10s | 1–100 | Random tables, encounters, percentile rolls |
The d10 is the odd one out: it is not a Platonic solid, but its ten faces are still identical in shape, so it is fair. A d100 is usually two d10s read together — one for tens, one for ones.
How the rolls are generated
Every die is drawn with crypto.getRandomValues, the cryptographic random source built into your browser — the same source the browser itself uses for security features. It is seeded from the operating system's entropy, so the rolls cannot be predicted or rigged from this page.
It is not called "true randomness" — that would need a physical entropy source, like atmospheric noise. What matters for a game is that every face has exactly the same chance, and that is where the details count. The naive way to turn a random number into a die face is to take a random 32-bit value and use the remainder after dividing by the number of sides — but that remainder is slightly biased whenever the number of sides does not divide 2³² evenly, because some faces get one extra value. This roller uses rejection sampling instead: it throws away any random value that would make the faces uneven and draws again, so every face is exactly equally likely. Each die in a roll is drawn independently — 4d6 is four separate draws, not one draw multiplied, which is why the totals form a bell-shaped distribution instead of a flat one.
Nothing you roll is sent anywhere: every roll is generated in your browser, and the roll history lives only in the current tab.
Common misconceptions about dice
- "This die is due to roll high." No — a die has no memory. After five low rolls, the next roll is still equally likely to be any face. This is the gambler's fallacy, and it is why casinos love streaks.
- "All totals are equally likely." Only for a single die. For two dice, 7 is six times as likely as 2 or 12 (see the table above) — the totals pile up in the middle.
- "Physical dice are perfectly fair." Usually close, but not perfect: rounded corners, hollow pips and uneven wear all shift the odds slightly. Casino dice are machined to tight tolerances for exactly this reason — and a digital die with rejection sampling has none of these problems.
- "More sides means less random." No — a d20 is just as random as a d6; each face still has exactly the same chance. More sides only spreads the results over a wider range.
How it works
Simple roll: pick a die (d4 to d100), a count (1–100 dice) and a modifier; the total is the sum of the dice plus the modifier. Advantage rolls two d20s and keeps the higher, disadvantage keeps the lower. Notation: NdS means N dice of S sides; + and − join groups and modifiers; kh/kl/dh/dl keep or drop dice; d% is a percentile roll; Nx repeats a whole expression. The lowest possible total is the number of dice kept plus the modifier, the highest is the number kept times the sides plus the modifier, and the average total is the number of dice times (sides + 1) ÷ 2, adjusted for keep/drop rules by exact order-statistic arithmetic.
Sources: the probabilities in the tables are exact arithmetic from the dice themselves — the 2d6 table counts all 36 pairs, the 4d6-drop-lowest figures count all 1,296 outcomes, and the advantage figures use the exact formulas 1 − (1 − p)² and p². Every roll runs in your browser using crypto.getRandomValues with rejection sampling; no roll or history is sent anywhere.
Frequently asked questions
What do d4, d6 and d20 mean?
How many dice can I roll at once?
What is the modifier for?
Is the dice roller really random?
Can I use this for Dungeons and Dragons?
What dice notation can I type?
What is the biggest roll I can make?
What happens if I type the notation wrong?
Can I reproduce a specific roll?
How do I roll a d100 or percentile dice?
Can I roll different dice at once?
Is my roll history saved?
Related tools
Random Number Generator
Password Generator
UUID Generator
QR Code Generator
Barcode Generator
Privacy Policy Generator
💬 Comments
Have a question about this page, or an idea to make it better? Share it below — your feedback helps everyone who uses this site.