Dice roller

Type a roll the way tabletop games write it, such as 2d6+3, 4d6 drop lowest or d20 advantage. You get every die, the total and the exact odds of what you rolled.

Type your dice and roll

Quick rolls

Rolls
0
Running total
0
Average
–
Highest
–
Lowest
–

    How to use the dice roller

    1. Type your roll in the box, for example 2d6+3, or tap one of the quick rolls.
    2. Tap Roll, or press Enter or the space bar. Each die is shown, with dropped dice faded out.
    3. Read the line under the buttons for the range, the average and how likely your total was.
    4. Your rolls are listed underneath with a running total, average, highest and lowest. Copy link gives you an address that opens the roller with the same dice.

    Dice notation, with examples

    Dice notation is the shorthand used in role-playing and war games. NdS means "roll N dice with S sides and add them up", so 3d6 is three ordinary dice. A number after a plus or minus is added to the total. Capital letters and spaces don't matter.

    You typeWhat it rollsRangeAverage
    d20One twenty-sided die1 to 2010.5
    2d6+3Two six-sided dice, plus 35 to 1510
    12d10Twelve ten-sided dice12 to 12066
    d28 or d3A die with any number of sides from 2 to 10001 to 28, or 1 to 314.5 or 2
    d%Percentile dice, the same as d1001 to 10050.5
    4d6 drop lowestFour dice, the lowest one ignored3 to 1812.24
    d20 advantageTwo d20s, keep the higher1 to 2013.825
    d20 disadvantage +5Two d20s, keep the lower, plus 56 to 2512.175
    1d8+2d6+4Different dice added together7 to 2415.5
    5d10 keep highest 3Five d10s, only the best three count3 to 3021.46
    2d6-1d4Two d6 minus one d4-2 to 114.5

    Keeping and dropping dice

    Some rolls only count part of what you throw. You can write these in words (drop lowest, drop highest, keep highest 3, keep lowest 2) or in the short codes many virtual tabletops use:

    • kh and kl keep the highest or lowest dice: 2d20kh1 is a d20 with advantage, 2d20kl1 with disadvantage.
    • dl and dh drop the lowest or highest: 4d6dl1 is the usual way to roll a D&D ability score.
    • A number after the code says how many dice; leave it out and it means one.

    When two dice tie for lowest, only one of them is dropped, exactly as at the table. Dropped dice stay on screen, faded, and appear in brackets in the roll breakdown so everyone can see what was thrown.

    Rolls people look up

    A few rolls that come up again and again, with their ranges, averages and most likely totals. Tap the matching quick roll, or type it.

    RollRangeAverageMost likely
    2d6 (Monopoly, Catan, a greatsword in D&D)2 to 1277
    3d6 (GURPS checks, old-school ability scores)3 to 1810.510 and 11
    4d6 drop lowest (D&D ability scores)3 to 1812.2413
    2d4+2 (D&D potion of healing)4 to 1077
    8d6 (D&D Fireball)8 to 482828
    12d10 (a big dice pool or damage roll)12 to 1206666
    d20 advantage1 to 2013.8320
    d20 disadvantage1 to 207.181

    For full tables of every total, see the pages for 2 dice, 3 dice, 4 dice, 5 dice and the d20.

    The odds under each roll

    The line under the buttons is worked out exactly, by counting every way the dice can land, not by simulating thousands of rolls. For 2d6 that is 36 outcomes; for 12d10 it is a trillion (1012), counted with whole-number arithmetic so nothing is rounded until the last step. After you roll, it also tells you the chance of that exact total, of that total or more, and of that total or less.

    Roll 2d6 and get a 10, for example, and it will show 8.33% for exactly 10 and 16.67% for 10 or more. Very large rolls (hundreds of sides on many dice at once) still roll instantly, but the odds line is left out.

    Dice that don't exist: d3, d28, d30 and the rest

    Only five shapes have identical regular faces all the way round, which is why the classic dice have 4, 6, 8, 12 and 20 sides. The ten-sided die is a different kind of shape with kite-shaped faces, and a d30 is a thirty-faced solid of diamond shapes. Other sizes are harder: a real d3 is normally a six-sided die read as 1-1-2-2-3-3, and most odd sizes are sold as rolling prisms, if at all.

    A virtual die has none of those limits. Type d3, d7, d28 or d365 and every number from 1 to the top has exactly the same chance.

    How the rolls are made

    Each die is one draw from your browser's cryptographic random number generator (crypto.getRandomValues), the same source browsers use to make encryption keys. A raw random number is thrown away and drawn again whenever using it would favour some faces over others, a step called rejection sampling, so a d28 is as even as a d6. The result is fixed before the rolling animation starts; the animation is only for show.

    Nothing you type is sent anywhere. The roller works out the dice on your own device and remembers only your last roll, in your browser, so it is there next time. The limits are 100 dice in one roll, 2 to 1000 sides, a modifier up to 9,999 and six groups of dice in one line.

    Related guides

    Questions

    How do I roll 12d10?

    Type 12d10 and press Roll. You will see all twelve dice and their total, which can be anything from 12 to 120 and averages 66.

    What does 4d6 drop lowest mean?

    Roll four six-sided dice and add up the best three. It gives totals from 3 to 18 with an average of 12.24, and it is the standard way to roll ability scores in Dungeons & Dragons.

    How do I roll with advantage or disadvantage?

    Type "d20 advantage" or "d20 disadvantage" (or just adv or dis). Two d20s are rolled and the higher or lower one is kept. Add a modifier in the same line, for example "d20 advantage +5".

    Can I roll a d28, a d30 or a d3?

    Yes. Type d28, d30, d3 or any size from d2 to d1000. Every number is equally likely.

    Can I add different dice together?

    Yes. Join them with plus or minus signs, for example 1d8+2d6+4 or 2d6-1d4. Up to six groups and 100 dice in one line.

    Does it keep a history of my rolls?

    The last 30 rolls are listed under the roller with a running total, average, highest and lowest. They are kept only on the page: clear them with the button, or they go when you close the tab.

    More random tools

    See all 29 tools