Skip to content
Jellykit

Dice Roller

Roll any mix of dice in standard notation such as 3d6+2 or 4d6kh3, or flip coins, with every die shown and the total added up.

  • Runs on your device
Loading tool

About Dice Roller

Type the dice you want in the notation tabletop players use, such as 1d20+5, 2d6, 3d8−1d4 or d%, and get the total with every individual die shown. Keep the highest or lowest dice with kh and kl, as in 4d6kh3 for rolling character stats, and roll the same thing up to 100 times at once.

Switch to coins to flip one coin or up to a thousand and get the heads and tails counted. Every die and coin uses your browser’s cryptographic random generator, so no face is favoured.

How it works

  1. The notation is read as dice groups (NdS, where N is how many and S the number of sides) and whole numbers, joined by + or −. d% means a 100-sided die.
  2. Each die is a uniform whole number from 1 to S drawn with crypto.getRandomValues and rejection sampling, so every face is exactly as likely as the others.
  3. kh and kl keep only the highest or lowest dice of a group; the dropped dice are shown in parentheses so you can check the arithmetic.
  4. Below the result, the lowest and highest possible totals are shown, with the average when no dice are dropped.

Questions

How do I roll with advantage or disadvantage?

Roll 2d20kh1 for advantage (keep the higher of two d20s) and 2d20kl1 for disadvantage (keep the lower). Add your modifier after it, as in 2d20kh1+5.

What are the limits?

Up to 1,000 dice in one roll, up to 1,000,000 sides per die, up to 20 groups and numbers, and up to 100 rolls at once. Coins: up to 1,000 per flip.

Does it support exploding dice or rerolls?

Not at the moment. It handles plain dice, keep-highest and keep-lowest, and added or subtracted numbers, which covers most games.

Is a virtual die as fair as a real one?

Fairer than most. Each face has exactly the same chance, which a physical die with rounded edges or uneven pips does not always manage.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.