Dice Roller
Roll any number of dice — d4 to d100 — with an optional modifier. Change any input to reroll.
Total
6
- Die 1
- 3
- Die 2
- 3
2d6 — each die rolls 1–6. Adjust any input to roll again.
How to use this calculator
Select how many dice you want to roll, pick the die type (d6 for a standard die, d20 for Dungeons & Dragons, d100 for percentile rolls), and add a modifier if needed. To roll 1d20, set the number of dice to 1 and the die type to d20 — the result appears instantly, and changing any value triggers a new roll.
How the calculation works
Dice notation reads as NdX: the first number is how many dice, the letter d marks the die, and the last number is how many sides — so 1d20 means "roll one twenty-sided die", and 10d8 means "roll ten eight-sided dice and add them up". Each die roll is a random integer between 1 and the number of sides (inclusive), with every face equally likely. The total is the sum of all dice plus the modifier, and individual die results are shown in the breakdown so you can see each roll separately.
Worked example
Rolling 2d6+3 (two six-sided dice with a +3 modifier): if the dice show 4 and 5, the total is 4 + 5 + 3 = 12. In D&D, a fighter might roll 1d20+5 to attack — a d20 roll of 14 plus +5 modifier gives 19. A plain 1d20 roll gives any number from 1 to 20 with equal 5% odds, averaging 10.5 over many rolls.
Frequently asked questions
What do the different dice mean?
d4 = four-sided die (tetrahedron), d6 = standard six-sided die, d8 = eight-sided die, d10 = ten-sided die, d12 = twelve-sided die, d20 = twenty-sided die (the iconic D&D die), d100 = percentile die (typically two d10s read as tens and units, giving 1–100).
What is a modifier?
A modifier is a fixed number added to (or subtracted from) the dice total. In tabletop RPGs like D&D, modifiers represent a character's ability bonuses or skill proficiencies. For example, a +3 Strength modifier added to a weapon damage roll of 1d8 means you add 3 to whatever the d8 shows.
What is d20 used for?
The d20 is the central die in Dungeons & Dragons and many other tabletop RPGs. It is used for attack rolls, saving throws, and ability checks. Rolling a 20 (a "natural 20") is a critical hit in combat. Rolling a 1 (a "natural 1") is a critical failure. Most actions use d20 + a relevant modifier vs a target number.
What is a percentile roll (d100)?
A d100 roll gives a result from 1 to 100. It is used in games like Warhammer or Call of Cthulhu where abilities and skills are expressed as percentages. Physically, it is usually rolled with two d10s — one representing tens (00, 10, 20… 90) and one representing units (0–9), reading 00+0 as 100.
How do I roll with advantage or disadvantage?
Set the number of dice to 2 and the same die type (e.g. 2d20). Roll once to see both results — take the higher for advantage or the lower for disadvantage. The individual die results are shown in the breakdown panel.
How do I roll 1d20 online?
Set the number of dice to 1 and the die type to d20, then leave the modifier at 0 (or add your attack/check bonus, e.g. +5 for 1d20+5). The roller picks a whole number from 1 to 20, each with an equal 1-in-20 chance, and rerolls every time you change an input. This is the standard roll for D&D attack rolls, saving throws, and ability checks when you don't have a physical die to hand.
What does 1d20 mean?
It is standard dice notation, read as "number of dice, d, number of sides". 1d20 means roll one twenty-sided die; 2d6 means roll two six-sided dice and add them; 10d8 means roll ten eight-sided dice and sum the results. A trailing number like 1d20+5 adds a fixed modifier to the total. The notation comes from Dungeons & Dragons and is now used across tabletop games.
What are the odds of rolling a natural 20?
On a single d20 roll, every face has a 1/20 = 5% chance, so a natural 20 comes up 5% of the time — and so does a natural 1. Rolling with advantage (two d20s, take the higher) raises the chance of at least one 20 to 1 − (19/20)² = 9.75%. The average of a fair d20 roll is 10.5.
Is this roller truly random?
Yes — each roll uses your browser's built-in cryptographically seeded pseudorandom number generator (Math.random), which is designed to be unpredictable and uniformly distributed. It is suitable for games but not cryptography.