Home › Generators › Dice Roller
⚄

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.

NotationWhat it meansPossible range
d20One 20-sided die1–20
2d6Two 6-sided dice2–12
2d6+3Two 6-sided dice, plus 35–15
4d8−1Four 8-sided dice, minus 13–31
3d8+2d4Three 8-sided dice and two 4-sided dice5–32
4d6dl1Four 6-sided dice, drop the lowest one3–18
d%Percentile — one 100-sided die1–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.

TotalWays to roll itChance
212.8%
325.6%
438.3%
5411.1%
6513.9%
7616.7%
8513.9%
9411.1%
1038.3%
1125.6%
1212.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 numberNormal chanceWith advantageWith disadvantage
Need 5 or more80%96%64%
Need 10 or more55%79.75%30.25%
Need 11 or more50%75%25%
Need 15 or more30%51%9%
Need 20 or more5%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.

MethodAverage scoreChance of 15 or moreChance of an 18
3d6 (roll three dice, add them up)10.59.3%0.46%
4d6 drop lowest (roll four dice, drop the lowest)12.2423.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.

DieShapeFacesCommon use
d4Tetrahedron4 triangular facesDamage for small weapons, e.g. daggers
d6Cube6 square facesBoard games, damage — the everyday die
d8Octahedron8 triangular facesDamage for one-handed weapons
d10Pentagonal trapezohedron10 kite-shaped facesPercentile dice with a second d10, damage
d12Dodecahedron12 pentagonal facesDamage for heavy weapons
d20Icosahedron20 triangular facesAttacks, checks and saving throws in D&D
d100Percentile — two d10s1–100Random 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

  1. "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.
  2. "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.
  3. "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.
  4. "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?
The letter d stands for die and the number is how many sides it has. A d6 is a normal six-sided die, a d20 has twenty sides and is the main die in games like Dungeons and Dragons, and a d4 has four sides.
How many dice can I roll at once?
Up to 100 dice in one group — for example 100d6 — and up to 300 dice in a single roll. Type notation like 3d8+2d4 to roll different dice together. The simple picker covers 1 to 100 dice of one type.
What is the modifier for?
The modifier is a bonus or penalty added to the total. In role-playing games a character might add +2 for strength or take -1 for a penalty. Enter a positive number for a bonus, a negative number for a penalty, or leave it at 0.
Is the dice roller really random?
Yes. Each die is drawn with your browser's crypto.getRandomValues, the same cryptographic random source your browser uses for security features, and rejection sampling makes sure every face has exactly the same chance — the plain-modulo shortcut some rollers use is slightly biased, and this one does not use it. The results are not rigged, saved or predictable. It is not "true" randomness in the physical sense — that would need a hardware entropy source — but for games it is as fair as a digital die can be.
Can I use this for Dungeons and Dragons?
Yes. The d20 is the main die for attacks and checks in Dungeons and Dragons, and the d4, d6, d8, d10 and d12 cover damage rolls and other dice in the game. Roll several dice at once for spells and attacks that use more than one die.
What dice notation can I type?
Standard notation: NdS means N dice with S sides, so 2d6+3 rolls two six-sided dice and adds 3, and 3d8+2d4-1 mixes two groups with a modifier. Keep and drop rules use kh (keep highest), kl (keep lowest), dh (drop highest) and dl (drop lowest) — 4d6dl1 rolls four six-sided dice and drops the lowest. d% is a percentile roll (d100), and 6x4d6dl1 repeats a whole expression six times.
What is the biggest roll I can make?
Up to 100 dice in one group, dice with 2 to 1,000 sides, and up to 300 dice in a single roll. You can repeat an expression up to 20 times — 20x4d6dl1 would roll 80 dice in total. If you ask for more than the limits, the roller tells you the limit instead of silently rolling fewer dice.
What happens if I type the notation wrong?
The roller shows a specific message instead of guessing. An empty box, a stray letter, a die with fewer than 2 sides, an unfinished expression like 2d6+, or a keep/drop rule that keeps more dice than you rolled each get their own message telling you what to fix — for example, 4d6dl4 is refused because you can only drop fewer dice than you roll.
Can I reproduce a specific roll?
No — every roll is fresh randomness from crypto.getRandomValues, and the same notation will give different numbers each time, just like a physical die. What you can share is the roll itself: the "Link to this roll" button copies a link with the same dice expression, so someone else can roll the same dice and compare results.
How do I roll a d100 or percentile dice?
Pick d100 from the dice list in the simple roller, or type d% (or 1d100) in notation mode. A percentile roll gives a number from 1 to 100. In tabletop games a d100 is usually read as two d10s — one for tens, one for ones.
Can I roll different dice at once?
Yes — switch to dice notation mode and type the groups joined with + or −, for example 3d8+2d4 for a fireball-style roll, or 1d20+1d6 for an attack with a damage die. Each group is rolled separately and the totals are added together, with the modifier applied at the end.
Is my roll history saved?
Your last 50 rolls are shown under the result, but only in the current browser tab — they are never stored on a server or sent anywhere, and they disappear when you close the tab. The roller itself keeps nothing at all.

Related tools

💬 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.