D20 Dice Roller
How it Works
01Choose Dice
Select the number of dice you wish to roll at once
02Roll Action
Click the roll button to trigger the randomizer with smooth animations
03View Results
Instantly see the total score and individual dice values
04Track Stats
Monitor session statistics including average, min, and max values
What Is a D20 Dice Roller?
There is no die in gaming quite like the d20. It doesn't just decide outcomes — it decides stories. The Rogue who rolls a 1 on their lockpick attempt and accidentally alerts the whole dungeon. The Paladin who rolls a natural 20 on their final stand and survives against impossible odds. The d20 is the most dramatic object in tabletop gaming, and every roll on it carries weight.
The d20 — short for "die with 20 faces," formally called an icosahedron — is the signature die of Dungeons & Dragons and dozens of other tabletop RPG systems. It's the die you reach for when making attack rolls, skill checks, ability checks, and saving throws. Every number from 1 to 20 has exactly a 5% chance of appearing — no bell curve, no bias, just clean equal probability across 20 outcomes. That 5% per face is deceptively simple, and it's what makes modifiers and bonuses feel genuinely meaningful in gameplay.
🎲 Did You Know?
The icosahedron — the shape of a d20 — is one of only five Platonic solids, shapes where every face is identical and every vertex is equivalent. Ancient Greek mathematicians described it over 2,400 years ago. The modern d20 didn't reach mainstream gaming until Gary Gygax and Dave Arneson published Dungeons & Dragons in 1974 — making it one of the oldest mathematical shapes and one of gaming's newest icons at the same time.
This D20 Roller works exactly like a real d20 — every roll is statistically independent, every number from 1 to 20 is equally likely, and the result appears instantly. No fumbling for dice, no losing them under the couch, no arguments about whether the die landed cleanly. Just open the tool and roll.
Pro Tip: Need a full polyhedral dice set? Our Dice Roller covers every die type from d3 to d100.
How to Use the D20 Roller
The Math of the D20 — Probability, Modifiers & Advantage
The d20 is the simplest kind of die mathematically: a uniform discrete distribution over {1, 2, 3, …, 20}. Each face has exactly a 1/20 = 5% probability. Roll it once and every result from 1 to 20 is equally likely. This flat distribution is what makes every +1 modifier meaningful — each point shifts your probability of hitting a given target number by exactly 5%. A +3 bonus gives you a 15% better chance of success on any fixed difficulty. No bell curve, no clustering, just clean linear probability.
D&D 5e's most elegant mechanic: Advantage means you roll two d20s and take the higher. Disadvantage means you roll two d20s and take the lower. Rolling two dice with advantage isn't just "+5 to your roll" — it actually reshapes the entire probability curve. With Advantage, your chance of rolling 15 or higher jumps from 30% to 51%. Your chance of rolling a natural 20 doubles from 5% to 9.75%. With Disadvantage, your chance of a natural 1 doubles in the same way. Use this tool to roll Two dice simultaneously and pick the result you need.
In D&D 5e, rolling a natural 20 on an attack roll is an automatic hit and a Critical Hit — you roll damage dice twice. Modifiers don't matter: even a +0 to-hit fighter Crits on a 20. Rolling a natural 1 on an attack is an automatic miss regardless of modifiers. On skill checks and saving throws, the rules are different: in D&D 5e, there is no auto-success on a natural 20 skill check or auto-fail on a natural 1 — only on attack rolls. Many DMs house-rule this, but by the book, critical fails on skill checks don't exist. This tool highlights both: 20s glow amber, 1s glow red.
Every d20 check in D&D compares your result (roll + modifier) against a Difficulty Class (DC). DCs range from 5 (Very Easy) to 30 (Nearly Impossible). The probability of beating any DC = (21 − DC + modifier) ÷ 20. So to beat DC 15 with a +4 modifier, you need a 11 or higher on the die — that's 10 values out of 20, a 50% success rate. This is why DMs carefully choose DCs: a well-calibrated DC creates real uncertainty without being unfair.
Real-World D&D Scenarios — When Every Roll Counts
Marcus is playing a Fighter in a D&D 5e campaign. The party is surrounded, the BBEG is at 15 HP, and Marcus gets one last attack. Here's how the same situation plays out depending on how he rolls:
| Roll Result | What Happens | Modifier (+6) | Outcome |
|---|---|---|---|
| 🔴 Natural 1 | Automatic miss, regardless of modifier | Doesn't matter | ❌ Miss — BBEG survives |
| Roll 8 | 8 + 6 = 14. AC is 15. | Total: 14 | ❌ Miss by 1 — The worst |
| Roll 9 | 9 + 6 = 15. Meets AC exactly. | Total: 15 | ✅ Hit — roll damage |
| 🟡 Natural 20 | Automatic hit — Critical Hit! | Roll damage twice | ⭐ Critical — story moment |
Using this tool: Marcus opens the D20 Roller on his phone, hits Roll Dice, and the result appears in under a second. The amber glow of a natural 20 or the red of a natural 1 tells the whole table what just happened before anyone even looks at the number. The session doesn't slow down.
Who Uses a D20 Roller — and When?
Technical Reference
Key Takeaways
The d20 is special because it's fair in the most absolute sense — every number from 1 to 20 has exactly the same probability, and no amount of hoping changes that. What changes are your modifiers, your preparation, your character build. The die itself is neutral. That's what makes rolling it feel honest.
Whether you're rolling attacks, saving throws, skill checks, group initiative, or Advantage/Disadvantage comparisons — this tool handles all of it. One d20, two d20s, or twenty d20s at once. Amber for natural 20s. Red for natural 1s. Live statistics. No installation, no account, no cost.
Bookmark this page for your next session. When the table needs a fast d20 roll and nobody has dice — or when you want a fair roll that nobody can question — this is the tool. Explore more in our Statistic Tools Collection.
Frequently Asked Questions
What is a d20 and why is it used in D&D?
A d20 is a twenty-sided die shaped as an icosahedron — one of the five Platonic solids. In Dungeons & Dragons 5th Edition, the d20 is the primary resolution die: every attack roll, saving throw, ability check, and skill check uses it. You roll the d20, add your relevant modifier (Strength, Dexterity, Proficiency bonus, etc.), and compare the total to a target number (Armor Class or Difficulty Class). The d20's flat 5%-per-face distribution means every +1 bonus is equally valuable regardless of where you are on the scale — a mathematically elegant system that rewards character building.
What is a natural 20 — and what happens when you roll one?
A natural 20 (or "nat 20") means the d20 itself shows 20, before any modifiers are added. In D&D 5e:
- On an attack roll: Automatic hit AND Critical Hit — you roll all attack damage dice twice and add them together, plus modifiers. This applies regardless of the target's Armor Class.
- On a skill check or saving throw: In D&D 5e RAW (Rules As Written), a natural 20 is not an automatic success on skill checks — it's just a high roll. Many DMs house-rule this differently.
The probability of rolling a natural 20 on a single die is 1/20 = 5%. With Advantage (rolling two d20s, taking the higher), it doubles to 9.75%. This tool highlights natural 20s in amber so they're impossible to miss.
What is a natural 1 — and what does it mean in gameplay?
A natural 1 (or "nat 1") means the d20 shows 1, before modifiers. In D&D 5e:
- On an attack roll: Automatic miss — regardless of your attack bonus, modifiers, or the target's AC. Even a +20 attack bonus cannot save you from a natural 1.
- On skill checks and saving throws: Again, no automatic failure in D&D 5e RAW — just a low result. Many tables use house rules for dramatic critical failures.
The probability of rolling a natural 1 is also 5%. With Disadvantage (roll two d20s, take the lower), the probability of your final result being a 1 increases to 9.75% — the same mathematical relationship as Advantage and natural 20s. This tool highlights natural 1s in red.
How does rolling with Advantage work?
Advantage means you roll two d20s and use the higher result. Disadvantage means you roll two d20s and use the lower. To simulate these in this tool, set the Number of Dice to Two and roll — then take the higher (Advantage) or lower (Disadvantage) of the two displayed results.
The statistical effect is significant. With Advantage, your average roll increases from 10.5 to approximately 13.8. Your chance of rolling 15 or higher jumps from 30% to 51%. With Disadvantage, the average drops to about 7.2. This is why Advantage is one of the most powerful conditions in D&D — it's not just a small bonus, it reshapes the entire probability curve.
What is a Difficulty Class (DC) and how do I know what number to roll?
A Difficulty Class (DC) is the target number your roll + modifier must meet or beat. The D&D 5e standard DCs are:
- DC 5 — Very Easy (can fail only with extremely poor rolls)
- DC 10 — Easy (roughly 50/50 with no modifier)
- DC 15 — Medium (requires some competence)
- DC 20 — Hard (requires strong ability or proficiency)
- DC 25 — Very Hard (expert-level challenge)
- DC 30 — Nearly Impossible (heroic feat territory)
Your probability of success = (21 − DC + modifier) ÷ 20. So to beat DC 15 with a +3 modifier, you need a 12 or higher on the die — 9 out of 20 values, a 45% chance.
Is this d20 roller truly random — or does it have patterns?
Every roll is genuinely random and statistically independent. The tool uses your browser's built-in random number generator, which produces a value between 0 and 1 using cryptographic entropy from your device's operating system, then maps it to a number between 1 and 20. Each result has exactly a 5% probability — no patterns, no streaks, no memory of previous rolls. In fact, it's more mathematically fair than most physical d20s, which can have slight weight imbalances from manufacturing. The digital d20 has zero physical bias.
Can I use this for other RPG systems besides D&D?
Yes — any system that uses a d20 works with this tool. That includes Pathfinder (1st and 2nd Edition), Starfinder, 13th Age, Cypher System variants, and many homebrew systems. For systems that use a d20 with different critical mechanics (like Pathfinder's 20-point critical success/failure band), the same die rolls apply — just apply your system's rules to the number. Some systems also use roll-under mechanics where lower is better; this tool still gives you the correct raw die result, and you interpret it per your system's rules.
How do I roll multiple d20s at once for group checks?
Set the Number of Dice dropdown to however many players need to roll — up to Twenty. Hit Roll Dice and you'll see individual d20 results for each "player" displayed in separate cards, with natural 20s highlighted amber and natural 1s highlighted red. Each player takes their result in order. For a 5-player group passive Perception check where everyone rolls secretly, set it to Five dice and distribute the results around the table. It's faster than having everyone roll individually and cuts down on table chaos.
What's the average roll on a d20?
The expected average (mean) of a d20 is (1 + 20) ÷ 2 = 10.5. Over many rolls, your average will converge on 10.5 — and this tool shows your session's running average after each roll so you can see exactly where you're landing. If you've been rolling hot (averaging well above 10.5), that's luck, not a pattern. If you feel like you keep rolling low, the average readout will tell you honestly whether you've actually been unlucky or just remember the bad rolls more vividly — a well-documented human tendency called negativity bias.
What is the icosahedron shape of a d20?
An icosahedron is a 3D shape with 20 equilateral triangular faces, 12 vertices, and 30 edges. It's one of only five Platonic solids — the shapes where every face is identical and every vertex connects the same number of faces. The icosahedron's symmetry is what makes it a fair die: every face is geometrically identical, so no face is inherently more likely to land face-down (and therefore face-up as the result). In practice, physical d20s can have slight imperfections, but the theoretical geometry is perfectly fair — and our digital simulation achieves that theoretical fairness exactly.
Disclaimer
The results produced by this tool are generated using a pseudo-random algorithm. While statistically equivalent to a fair physical die for all practical purposes, this tool is not a certified cryptographic randomness source and should not be used for security-critical or legally binding decisions.