Dice roller

Tap a die to roll it, or type a roll like 2d6+3 and press Roll. You see every die, the total, and the lowest and highest result the roll can give.

Range 2 to 12, average 7.

How to use it

  1. Tap d4, d6, d8, d10, d12, d20 or d100 to roll one die straight away.
  2. For anything else, type a roll in dice notation, such as 3d6 or 1d20+5, and press Roll or Enter.
  3. Use the presets for common rolls: roll two d20 and keep the higher or lower, roll 4d6 and drop the lowest, or roll two six-sided dice.
  4. Dropped dice are shown faded and struck through, so you can see what was rolled and what counted.

How dice notation works

The number before the d is how many dice to roll and the number after it is how many sides each has. 3d6 means three six-sided dice added together; d20 on its own means one twenty-sided die. d% is the same as d100.

Add or subtract a fixed number or more dice with + and -: 1d20+5, 2d6-1 or 1d8+1d6+3 all work.

kh keeps the highest dice and kl keeps the lowest. 4d6kh3 rolls four dice and adds the best three. 2d20kh1 rolls two twenty-sided dice and keeps the higher one; 2d20kl1 keeps the lower. A plain k means the same as kh.

You can roll up to 100 dice at once, each with 2 to 1,000 sides.

Is it fair?

Yes. Each die uses your browser's cryptographic random number generator (crypto.getRandomValues), not Math.random, and throws away the rare values that would make some faces slightly more likely than others. Every face of every die has exactly the same chance.

A fair roller still gives streaks. Three ones in a row on a d6 happens about once in every 216 tries of three rolls, so over a long game you will see it. That is chance, not a broken roller.

Odds worth knowing

With two six-sided dice, 7 is the most common total: 6 of the 36 combinations, or about 16.7%. A 2 or a 12 each come up only once in 36 rolls.

Rolling two d20 and keeping the higher raises the average from 10.5 to 13.825 and the chance of a 20 from 5% to 9.75%. Keeping the lower drops the average to 7.175.

Rolling 4d6 and dropping the lowest averages about 12.24, compared with 10.5 for a plain 3d6. The chance of a perfect 18 is about 1.6%.

We worked these out by counting every possible combination, not by simulation.

Questions

Can I roll different dice together?

Yes. Join them with + or -, for example 1d8+1d6+2. Each die is listed with its number of sides under the value.

What does the range under the box mean?

It is the lowest and highest total that roll can produce. For plain rolls without keeping or dropping, the average is shown too.

Are my rolls saved?

Only on screen. The last 20 rolls are listed under Recent rolls until you leave the page. Nothing is stored or sent anywhere.

Is anything sent to a server?

No. The test runs entirely in your browser with JavaScript. Nothing about your device or your results is uploaded or stored by us.

Related tests