random.cihat.dev

Dice roller

Tap a die or type dice notation such as 2d6+3. Every die is shown with the total, and each face is equally likely.

For example 1d20+5, 2d6+1d4, 4d6kh3 or d%.

Total

–

How to use it

  1. Tap a die (d4 to d100) for a single roll, or a preset such as Advantage.
  2. For anything else, type the notation, for example 1d20+5 or 3d8+2d6, and press Roll or Enter.
  3. Read the total and each die below it. Dropped dice are struck through.

Dice notation, briefly

The roller reads the notation used in Dungeons & Dragons and most tabletop games:

You typeIt means
1d20 or d20One twenty-sided die
2d6+3Two six-sided dice, plus 3
1d8+2d6-1Mixed dice in one roll, minus 1
2d20kh1Roll two d20, keep the highest: advantage
2d20kl1Roll two d20, keep the lowest: disadvantage
4d6kh3Roll four d6 and keep the best three: an ability score
d%Percentile, the same as d100

Fair dice

Each die is a call to crypto.getRandomValues with rejection sampling, so a d20 lands on each face exactly 1 time in 20 on average and no face is favoured, which a plain modulo would do for sizes like d6 and d10. Rolls are independent: a natural 20 does not make the next one less likely.

Rolling for a yes or no? A coin flip is quicker. Need a number in any range? Use the random number generator.

Questions people ask

How do I roll with advantage?

Tap Advantage, which rolls 2d20kh1: two d20 and the higher one counts. Disadvantage is 2d20kl1, the lower one counts. Add a bonus by typing it, for example 2d20kh1+5.

How do I roll stats for a D&D character?

Tap Ability score six times. Each roll is 4d6kh3: four six-sided dice with the lowest dropped, giving 3 to 18.

What is the most dice I can roll at once?

Up to 100 dice in each term and 12 terms in one roll, for example 100d6+100d6.

Can I roll dice that are not standard, like a d3 or a d30?

Yes. Any die from 2 to 1000 sides works: type 1d3 or 1d30.