How to roll a D20
- The die type is already set to D20: press Roll, hit the Space key or click the die itself.
- For a roll with a modifier, type
1d20+5or1d20-1into the formula field and press Roll formula. - For advantage or disadvantage, press Advantage or Disadvantage: two D20s are rolled, both are shown, and the higher or the lower one counts.
What the D20 decides
The D20 answers the main question of a role-playing game: did it work? In D&D it is rolled for three things:
- Attack rolls — does the sword or the spell hit?
- Ability checks — climbing a wall, picking a lock; initiative is one of them.
- Saving throws — resisting a spell, a poison or a trap.
Each time you add a modifier and compare the total with a target number — a Difficulty Class or the enemy's Armor Class. The other dice only say how much damage or healing; for those, open the full set of DnD dice.
D20 odds: advantage, disadvantage and the natural 20
On one D20 every number is equally likely: 1 chance in 20, or 5% — the same odds as a random number from 1 to 20. With advantage or disadvantage you keep the higher or the lower of two dice, and the odds shift:
| You need on the die | One D20 | Advantage | Disadvantage |
|---|---|---|---|
| 5 or higher | 80% | 96% | 64% |
| 11 or higher | 50% | 75% | 25% |
| 15 or higher | 30% | 51% | 9% |
| Natural 20 | 5% | 9.75% | 0.25% |
The average roll is 10.5 on one die, about 13.8 with advantage and about 7.2 with disadvantage. Advantage helps most in the middle of the range: when you need an 11, it is worth a +5 bonus.
Is an online D20 fair?
Each die is drawn with crypto.getRandomValues(), the cryptographic generator built into your browser: all twenty faces are equally likely, and no roll depends on the one before — three low rolls in a row are bad luck, not a pattern. More in the article on how the randomness works.
Frequently asked questions
How do I roll a D20 with advantage?
Press Advantage: two D20s are rolled, both stay on screen and the higher one counts; Disadvantage keeps the lower one. Add your modifier to the die that counts. If you have both at once, they cancel out and you roll a single D20.
Is a natural 20 always a success?
On an attack roll in D&D, yes: a 20 on the die is a critical hit whatever the target's Armor Class, and a natural 1 always misses. On ability checks and ordinary saving throws a 20 is just a high roll by the rules, though many tables make it an automatic success.
What does 1d20+5 mean?
One twenty-sided die plus 5: the number before the d is how many dice to roll, the number after it is the number of faces, and the rest is a bonus or a penalty. The total here runs from 6 to 25.
Can I roll other dice here?
Yes. D4, D6, D8, D10, D12 and D100 are one click away, up to 10 dice at a time; the sound can be switched off, and the history keeps the last 30 rolls. For board games, the main dice roller opens on the classic six-sided die.