Events and games

Dice roller

Roll any dice online, from a d4 to a d100. Type D&D rolls like 2d6+3, or play a Yahtzee turn. Every roll shows the odds of each total.

Worked example

1d20+5 with advantage against AC 15 → 79.75% to hit, up from 55%

Roll an attack with advantage and see your chance to hit

  1. Choose D&D and type the roll

    A d20 plus your attack bonus. Notation like 2d6+3 or 4d6dl1 works too, or tap a common roll.

    Example 1d20+5
  2. Turn on advantage

    The tool rolls two d20s and keeps the higher one, so this attack totals 16 + 5 = 21.

    Example Rolled 7 and 16
  3. Type the Armor Class you need

    Advantage lifts the chance to hit AC 15 from 55% to 79.75%; disadvantage drops it to 30.25%.

    Example AC 15: 79.75%
  4. Board game or Yahtzee instead?

    Dice rolls any number of d4s to d100s and flags doubles. Yahtzee keeps the dice you tap between rolls.

    Example Hold dice, 3 rolls

Watch: advantage turns 55% into 79.75%

Recorded on this page by Jeremiah Say, 20 Nov 2026 · 3:12 · no sound, captions on screen

What the video shows, in words
  1. 0:00 Advantage on AC 15 with +5: guess first One d20 with +5 hits AC 15 55% of the time. Roll two and keep the higher: 65%, 80% or 95%?
  2. 0:13 The answer: 79.75%, and why You miss only if both dice miss: 0.45 × 0.45 = 20.25%, so you hit 79.75%. Disadvantage drops it to 30.25%.
  3. 0:36 Rolling with advantage, and where it helps most The tool shows both d20s and keeps the higher. Advantage adds the most on a coin-flip roll: needing 11, 50% becomes 75%.
  4. 0:56 Natural 20s with advantage A natural 20 goes from 5% to 9.75% with advantage, and to 0.25%, 1 roll in 400, with disadvantage.
  5. 1:09 Critical hits: 2d6+3 becomes 4d6+3 The rules roll the damage dice twice, not the bonus: the average goes from 10 to 17, not 20.
  6. 1:20 Ability scores: 4d6 drop the lowest Six scores, each the best three of four d6s. A score averages 12.24; an 18 comes up 1.62% of the time.
  7. 1:36 Two dice: why 7 comes up most 6 of the 36 ways two dice can land add up to 7, so it comes up 1 roll in 6; a 2 or a 12, 1 in 36.
  8. 1:47 Catan’s 6 and 8, Monopoly’s three doubles A 6 or an 8 comes up on 27.8% of rolls, more than a 7 alone. Three doubles in a row is 1 in 216.
  9. 2:04 A Yahtzee turn: 4.60% odds Tap the dice to keep and roll the rest; the tool gives your chance from there. Keeping your biggest set, a Yahtzee comes up about 1 turn in 22.
  10. 2:25 Are online dice fair? 10 million rolls, and how they’re rolled 10,000,000 d6s through the tool’s own code: every face came up 1,665,218 to 1,667,574 times. The browser’s crypto generator rolls them, with no face favoured.
  11. 2:47 Says who? The rule books’ own examples The D&D rules’ examples, Hasbro’s Yahtzee scoring, OpenStax and NIST run through the tool; the page won’t build if one differs.
  12. 2:58 Roll yours Any dice from d4 to d100, D&D notation with advantage and crits, or a Yahtzee turn, with the odds of every total.

Watch on YouTube (opens in a new tab)

Events and games: 6 more videos

Dice notation, read out

Tabletop games write a roll as NdS: N dice with S sides each. A number after a plus or minus is added to the total. The D&D System Reference Document uses the same form, and the tool reads all of these:

TypeMeansAverageRange
1d20One 20-sided die10.51 to 20
1d20+5A d20 plus 5, as for an attack with a +5 bonus15.56 to 25
2d6+3Two six-sided dice plus 3105 to 15
8d6Eight six-sided dice (a Fireball’s damage)288 to 48
4d6dl1Four d6, drop the lowest: add the highest three12.243 to 18
2d20kh1Two d20s, keep the higher one: advantage13.8251 to 20
2d20kl1Two d20s, keep the lower one: disadvantage7.1751 to 20
d%Percentile dice, the same as 1d10050.51 to 100
kh means keep highest, kl keep lowest, dl drop lowest; 4d6kh3 is the same roll as 4d6dl1. Averages are exact, from the tool’s code.

The average of any dice roll

A fair die with S sides averages (S + 1) ÷ 2, the middle of its faces: 3.5 for a d6, 10.5 for a d20. Averages add, so the average of several dice is the number of dice times that, plus any bonus. The tool shows the lowest, average and highest of every roll.

DieAverageTwo of themLowest to highest
d42.551 to 4
d63.571 to 6
d84.591 to 8
d105.5111 to 10
d126.5131 to 12
d2010.5211 to 20
d10050.51011 to 100
Exact: every face of a fair die is equally likely.

Average damage of 8d6

8 × 3.5 = 28. Just over half of all rolls come in at 28 or more (54.0%, because 28 itself counts), and 9.1% at 35 or more. With eight dice the totals bunch into a bell shape: the standard deviation is 4.83, and 64% of rolls land within one of it (24 to 32) and 95% within two (19 to 37), close to the 68% and 95% of the empirical rule.

Advantage and disadvantage in D&D

The SRD 5.2.1 says: “Use the higher of the two rolls if you have Advantage, and use the lower roll if you have Disadvantage. For example, if you have Disadvantage and roll an 18 and a 3, use the 3.” Having both on one roll cancels them out. With advantage you fail only if both dice fail, so the chance of success goes from p to 1 − (1 − p)²; with disadvantage it drops to p².

You needNormalAdvantageDisadvantage
11 or more on the d2050%75%25%
15 or more with +5 (AC 15)55%79.75%30.25%
A natural 205%9.75%0.25%
Exact, counted over all 400 ways two d20s can land.

Advantage helps most when you need about an 11: it adds 25 points to the chance. It adds less when the roll is very easy or very hard. Type your target into Need at least and the tool shows all three.

Natural 20s and critical hits

A 20 on the die itself, a “natural 20”, hits on an attack roll whatever the target’s Armor Class, and a natural 1 misses. A natural 20 is also a critical hit: “Roll the attack’s damage dice twice, add them together, and add any relevant modifiers as normal.” The SRD’s example is a dagger, 2d4 instead of 1d4. The Critical hit button doubles every die in the roll and leaves the bonus alone, so 2d6+3 becomes 4d6+3.

Rolling ability scores: 4d6, drop the lowest

The SRD’s “Random Generation” method: “Roll four d6s and record the total of the highest three dice. Do this five more times, so you have six numbers.” Across all 1,296 ways four dice can land, a score averages 12.24 and 13 is the most common. An 18 comes up 1.62% of the time, 21 ways in 1,296, and a 3 only once in 1,296.

Six rolled scores average about 73.5 in total, a little more than the SRD’s standard array of 15, 14, 13, 12, 10 and 8, which adds to 72. Rolled scores trade that small edge for the risk of a weak set. The tool’s Roll 6 ability scores shows each set of four with the dropped die greyed out.

Odds for board games

Most board games roll two six-sided dice. There are 36 ways they can land, all equally likely, and OpenStax lists them. A 7 can be made 6 ways, more than any other total, so it comes up 1 time in 6:

TotalWays out of 36Chance
212.8%
325.6%
438.3%
5411.1%
6513.9%
7616.7%
8513.9%
9411.1%
1038.3%
1125.6%
1212.8%
Exact. The tool’s chart shows this shape whenever you roll 2d6.

Monopoly doubles: 6 of the 36 ways are doubles, so 1 roll in 6. Hasbro’s rules: “If you roll doubles three times in a row, you must immediately go to Jail!” Three in a row is 1/6 × 1/6 × 1/6 = 1 in 216.

Catan’s 6 and 8: 5 ways each, so a hex numbered 6 or 8 pays out on 13.9% of rolls, and either of them on 27.8%, well ahead of the 7 alone at 16.7%.

Snake eyes or boxcars: a 2 or a 12 is 1 way in 36 each.

Yahtzee odds

In Hasbro’s Yahtzee a turn is up to three rolls of five dice, and between rolls you “set aside any ‘keepers’ and re-roll the rest.” If you keep your biggest set of matching dice each time, the chance of five of a kind within one turn is 4.60%, about 1 turn in 22. In a single roll it’s 6 in 7,776, or 1 in 1,296.

With four of a kind showing, the fifth die has a 1-in-6 chance on each roll: 16.67% with one roll left and 30.56% with two. In Yahtzee mode the tool works out the chance from the dice you have now, going through every way the rerolled dice can land.

Are online dice fair? We rolled 16 million to check

Each die comes from your browser’s cryptographic random number generator (Web Cryptography API), the same source used to make passwords and encryption keys. A careless dice roller takes a random number and keeps the remainder after dividing by the number of sides, but a random 32-bit number has 4,294,967,296 values, and that doesn’t divide evenly by 6: the 1s to 4s would come up a tiny bit more often than the 5s and 6s. The tool throws those few leftover values away and draws again, so every face has exactly the same chance. It’s the same generator and method as our random number generator.

To check the result, we rolled 10,000,000 d6s and a million of every other die through the tool’s own code, and ran a chi-square test on the face counts. A fair die’s counts are never perfectly even; the test says how often a fair die gives counts at least this uneven:

Die and rollsMost off a perfect splitp‑value
d6, 10,000,0000.09%0.83
d4, 1,000,0000.12%0.89
d8, 1,000,0000.81%0.03
d10, 1,000,0000.52%0.60
d12, 1,000,0000.77%0.09
d20, 1,000,0000.81%0.56
d100, 1,000,0002.64%0.36
Our study, research/2026-11-19-dice-roller/study.mjs, run on 19 Nov 2026. The middle column is the face furthest from an even share: in 10 million d6 rolls every face came up 1,665,218 to 1,667,574 times. A p-value under 0.05 happens about once in 20 tests of fair dice by chance.

The d8 came out at p = 0.03: in seven tests, one result that low is about what chance gives. Run the same test yourself in the tool, under Is it fair?: it rolls a million of your dice in your browser and draws the counts.

Real dice aren’t quite fair

In 1894 the biologist W. F. R. Weldon threw 12 dice 26,306 times and counted the 5s and 6s. A fair die gives a 5 or 6 one time in 3; his dice did it 0.3377 of the time. In 2009 Zacariah Labby repeated the experiment with a machine that rolled 12 dice and photographed them. His machine’s count of 5s and 6s passed the fair-die test, but face by face his dice were biased too: across all 315,672 dice, 1s and 6s came up more often than the other faces (p = 0.00014). When he measured the dice, the 1-to-6 axis was shorter than the other two on every one, so those two faces were a little larger. His 5s came up slightly less often than a fair die’s, which offset most of the extra 6s and left the 5-or-6 count close to fair. Coins lean too: tossed by hand, they land on the side they started a little more often, as the coin flipper page shows. We ran Weldon’s experiment through the tool as well:

Who rolledShare of 5s and 6sFair on 5s and 6s?
Weldon, 1894 (26,306 throws of 12 dice)0.3377No: p = 0.0003 (Labby’s figure)
Labby’s machine, 20090.3343Yes: p = 0.85
This tool, 19 Nov 20260.3321Yes: p = 0.13
A fair die gives 0.3333. Counts of 5s and 6s per throw of 12, tested against the fair binomial with 10 or more grouped, as Labby did. Weldon’s and Labby’s counts from Labby 2009, Tables 1 and 2.

SRD, Hasbro and OpenStax, run here

A dice roller can go wrong in three places: reading the roll, the odds behind it, and the fairness test. So the table runs textbook examples, the D&D and Yahtzee rule books’ own examples, Weldon’s expected counts and NIST’s chi-square table through the tool’s code, and a mismatch on any row stops the page being built. Last run 20 November 2026.

ExampleWhere it’s printedThe source’s answerThis calculator
Ways two dice can landOpenStax, example 4.73636
One die: chance of a 5 or moreOpenStax 3.12/62/6
Disadvantage, rolls of 18 and 3: the one usedSRD 5.2.133
Critical hit with a dagger, 1d4: the damage diceSRD 5.2.12d42d4
Yahtzee: two Aces, points in the Aces boxHasbro C240622
Yahtzee: a full house (three 3s, two 5s)Hasbro C24062525
Show the other 2 checks
ExampleWhere it’s printedThe source’s answerThis calculator
Weldon: expected throws with 4 fives or sixesLabby 2009, Table 16,2736,273
Chi-square of 11.070 with 5 degrees of freedom: chance of that or moreNIST/SEMATECH table0.050.05

Questions

Is this dice roller truly random?

It uses your browser’s cryptographic random number generator, which is built to be unpredictable, and it maps the numbers so that every face is exactly equally likely. Our 16-million-roll test found no face favoured. Physical dice are often less even than that.

How do I roll with advantage?

Pick D&D, type a roll with one d20, like 1d20+5, and choose Advantage. The tool rolls two d20s, keeps the higher, and shows both. You can also type 2d20kh1 directly.

What does 4d6 drop lowest mean?

Roll four six-sided dice and add the highest three. It’s the D&D way to roll an ability score; it averages 12.24, and the tool’s Roll 6 ability scores button does all six at once.

What is the most common total with two dice?

7. Six of the 36 ways two dice can land add up to 7, so it comes up 1 roll in 6. 2 and 12 are the rarest, 1 way each.

What are the odds of rolling a Yahtzee?

4.60% in a turn of three rolls, keeping your biggest set of matching dice each time: about 1 turn in 22. In one roll of five dice it’s 1 in 1,296.

Can I roll a d3, d7 or d30?

Yes. Type it in D&D mode: 1d3, 1d7 or 1d30. Any die from 2 to 1,000 sides works, and up to 200 dice in one roll.

Does it save my rolls?

Your latest roll is in the page’s link, so sharing the link shows it. Nothing is sent anywhere: the dice are rolled in your browser.

Sources

How sources are chosen and checked: editorial policy · these sources in the library, with the other tools that use them

Scroll to Top