Roll a d20

About the d20

The d20 is the twenty-sided die at the center of Dungeons & Dragons, and the one you'll roll most. Press Roll, or type your modifier in, like 1d20+5.

Each face comes up 5% of the time, and the average is 10.5.

Common rolls

Type any of these into the roller and press Enter.

1d20A plain d20
1d20+5An attack roll, check or saving throw with a +5 bonus
1d20advAdvantage: roll 2d20, keep the higher
1d20disDisadvantage: roll 2d20, keep the lower
2d20kh1Advantage written out: keep the highest of two
2d20kl1Disadvantage written out: keep the lowest of two
1d20+5 vs 15Pass or fail against DC 15
1d20cs>19Critical on a 19 or 20
1d20ro1Halfling Luck: reroll a 1 once
3d20Three d20s at once

What the d20 is for in D&D

Attack rolls, ability checks and saving throws in D&D 5e are all a d20 plus a modifier. Add your ability modifier, plus your proficiency bonus if you're proficient, and compare the total to the target's Armor Class or the DC.

A natural 20 on an attack is a critical hit, and a natural 1 always misses. In the core rules, the automatic hit on a 20 and miss on a 1 apply to attack rolls. Many tables extend them to checks and saves.

Attack rolls and weapon damage

Melee attacks add your Strength modifier. Ranged and finesse attacks add Dexterity. Add your proficiency bonus too. Meet or beat the target's Armor Class and you hit: roll a d8 for a longsword, a d6 for a shortbow.

On a nat 20, roll the damage dice twice and add your modifier once. A rogue who crits with a rapier rolls 2d8 instead of 1d8, and doubles their Sneak Attack dice.

Saving throws

A saving throw resists a spell, trap or poison. Roll a d20 and add the modifier for the ability being tested: Dexterity against a fireball, Constitution against poison. Add your proficiency bonus if you're proficient in that save. Meet or beat the DC and you resist.

Your modifier and your character sheet

Your d20 modifier comes from your ability score: subtract 10, halve it and round down. Dexterity 14 gives +2, and Strength 8 gives −1.

Ability scores come from d6s. The classic way is 4d6, drop the lowest, six times. Type 4d6kh3 on the d6 page and the roll log keeps all six. If your table uses point buy, the point buy calculator tracks the 27 points for you.

Advantage and disadvantage

With advantage you roll 2d20 and keep the higher. With disadvantage you keep the lower. Click the d20 in the tray and pick Roll w/ advantage or Roll w/ disadvantage from the menu under the dice. To type it, use 1d20adv+5, 1d20dis+5, or the long forms 2d20kh1 and 2d20kl1.

Advantage raises the average from 10.5 to about 13.8 and nearly doubles your chance of a natural 20, from 5% to 9.75%. Disadvantage drops the average to about 7.2. If you have both, they cancel and you roll one d20.

Natural 20s by the numbers

Over 30 rolls, the chance of at least one nat 20 is about 79%. Two in a row is 1 in 400, and three in a row is 1 in 8,000.

Rolling against a DC

Add vs and a number to see pass or fail on the roll card. 1d20+5 vs 15 passes on 15 or more. DC15 on its own rolls a plain d20 against 15.

Pathfinder, virtual tabletops and other d20 games

Pathfinder, Starfinder and most other d20 tabletop RPGs use the same roll, a d20 plus a modifier against a target number, so the notation works the same in any TTRPG.

If your group plays on a virtual tabletop (VTT) like Roll20 or Foundry, it has its own dice roller. This dice roller is for games at the table, theater of the mind, or a quick roll when your dice sets are at home.

The roller reads full dice notation: keep and drop, exploding dice, rerolls and success pools. See the notation guide.

Questions

How do I roll a d20 online?

Press Roll. 1d20 is already in the roll box. To add your modifier, type 1d20+5, or clear the box, click the d20 in the tray, set + Modifier and press Roll.

How do I roll a d20 with advantage?

Click the d20 in the tray, choose Roll w/ advantage from the menu under the dice, and press Roll. Or type 1d20adv, or 1d20adv+5 with a modifier. The roll card shows the dropped die.

What are the odds of rolling a natural 20?

1 in 20, or 5%, on a single d20. With advantage it is 9.75%. Rolling two natural 20s in a row is 1 in 400.

What is the average roll on a d20?

10.5 on a straight roll, about 13.8 with advantage and about 7.2 with disadvantage.

How do I roll more than one d20?

Click the d20 in the tray once per die, then press Roll. To type it, put the number of dice before the d and the number of sides after it: 3d20 rolls three d20s and adds them, and 3d20kh1 keeps only the highest.

How many d20s are in a dice set?

One. A standard seven-piece set has one each of the d4, d6, d8, d12 and d20, plus two d10s: one numbered 0 to 9 and one marked 00 to 90.

Have another question? Ask in our Discord