Dice Roller

Roll virtual dice, including RPG notation like 2d20kh1+5

Roll one or more fair dice with any number of sides (d4, d6, d8, d10, d12, d20, d100), or type tabletop notation such as 3d6+2, 4d6kh3 (keep highest 3) or 2d20kh1 (advantage) for several rolls at once.
Try an example:

Output will appear here...

About Dice Roller

How it works

  1. Each die is rolled with your browser's cryptographically secure random generator, so every face is equally likely.
  2. Choose a number of dice and a die type, or type notation: NdS rolls N dice with S sides, +M / -M adds a modifier, khX keeps the highest X and klX the lowest.
  3. Separate several rolls with commas, e.g. "1d20+5, 2d6+3" for an attack and its damage.
  4. Totals, averages and the highest and lowest roll are shown; a natural 20 on a d20 is celebrated.

What you need

  • Nothing - pick your dice or type notation.

Tips

  • Advantage in D&D 5e: 2d20kh1. Disadvantage: 2d20kl1.
  • Classic ability scores: 4d6kh3 (roll four, keep the best three).
  • d% is the same as d100.

Limitations

  • At most 100 dice per roll and 20 rolls at a time.
  • Exploding dice and rerolls are not supported.

Runs in your browser. Everything runs in your browser; nothing you enter is sent anywhere.

Frequently asked questions

Are the dice fair?+

Yes. Rolls use crypto.getRandomValues with rejection sampling, so each face has exactly the same chance - fairer than many physical dice.

What does 4d6kh3 mean?+

Roll four six-sided dice and keep the highest three - the classic way to roll D&D ability scores.

How do I roll with advantage?+

Type 2d20kh1 (keep the higher of two d20s). For disadvantage use 2d20kl1. Add +5 for your modifier: 2d20kh1+5.

Can I roll dice with unusual numbers of sides?+

Yes - notation accepts any die from d2 to d1000, such as d3 or d30.