Dice Roller
Roll any dice in one press or in standard notation — 2d6+3, 4d6kh3, advantage and disadvantage — with every die shown and a fair, cryptographic roll.
For example d20, 2d6+3, 4d6kh3 (keep the highest three), 2d20kl1, d% or 1d8+2d6-1.
Common rolls
Table of contents
Dice notation, in one table
The number before the d is how many dice; the number after is how many sides. Everything else is added on. Capitals and spaces do not matter, so 2D6 + 3 works as well as 2d6+3.
| Type | Means |
|---|---|
d20 | One twenty-sided die. The 1 in front is optional. |
3d6 | Three six-sided dice, added together. |
2d6+3 | Two d6, plus three. Use - to subtract. |
1d8+2d6 | Different dice in one roll — a weapon and a bonus, say. |
4d6kh3 | Roll four d6 and keep the highest three. k3 means the same. |
2d20kh1 | Advantage: roll two d20 and keep the higher. |
2d20kl1 | Disadvantage: roll two d20 and keep the lower. |
d% or d100 | Percentile, 1 to 100. |
A mistake is pointed out as you type — “Can only keep between 1 and 4 of 4 dice” — rather than producing a number that quietly means something else.
Fairer than the dice in the box
Physical dice are only as fair as their manufacture. Drilled pips take more material out of the six face than the one, moulded dice cool unevenly, and an off-balance d20 can favour a face often enough to show up over a session or two. Players test for it by floating dice in salt water and watching which side keeps turning up.
A virtual die is only as fair as its arithmetic, and there is a common mistake there too. Random bytes come in 256 values; a d6 has six faces; 256 does not divide by six. Take the remainder and the faces 1 to 4 each get one extra byte value that maps to them. This roller reads just enough random bits to cover the faces, discards any value past the last face, and draws again — so each face is exactly one in six, one in twenty, one in a hundred. The randomness itself comes from crypto.getRandomValues, your operating system’s cryptographic source.
Every die is shown, not just the total, and dice a keep rule drops are struck through rather than hidden. At a table, being able to see the whole roll is what makes a digital die trustworthy.
Reading the odds
Each result shows the lowest and highest total the roll could have made, which is the quickest sanity check on a long expression. Where the total lands inside that range depends on how many dice are involved. One die is flat: a d20 gives a 1 exactly as often as a 20. Add dice together and the totals pile up in the middle — 3d6 lands on 10 or 11 a quarter of the time and on 3 or 18 less than once in a hundred rolls.
Advantage is worth more than it sounds. Rolling two d20 and keeping the higher raises the average from 10.5 to about 13.8, and the chance of a natural 20 from 5% to 9.75%. Disadvantage does the reverse. Keeping the best three of four d6 raises an ability score’s average from 10.5 to about 12.2.
For a bot, a play-by-post game or a spreadsheet, the same roller is an API: /api/v1/random?dice=4d6kh3 returns every die and the total as JSON.
Frequently asked questions
These are, exactly. Each die is drawn from crypto.getRandomValues, your operating system's cryptographic random source, and turned into a face by rejection sampling: any draw that would land past the last face is thrown away and drawn again, so every face is precisely as likely as every other. The shortcut many rollers use, taking a remainder, makes the low faces of a d6 slightly more common.
Not entirely. Cheap dice with drilled pips are lighter on the six side, so it lands face up a little more often, and moulded d20s are commonly off-balance enough to show with a few hundred rolls — the reason players float dice in salt water to find the heavy side. Casino dice are precision-made for exactly this reason. A virtual die has no mass to be off.
Press Advantage or Disadvantage under Common rolls, or type 2d20kh1 or 2d20kl1. Both dice are shown and the one that does not count is struck through, so everybody at the table can see what happened. Add your modifier on the end — 2d20kh1+5 — and it is added after the higher die is kept.
Press Ability score, or type 4d6kh3: four six-sided dice with the lowest dropped. Press it six times, once per ability. Your last twenty rolls are listed underneath with every die, which makes it easy to show your working to the rest of the group.
Seven, at one roll in six. There are six ways to make seven from two dice and only one way each to make 2 or 12, which is why the totals cluster in the middle and why board games built on two dice treat 7 as special. A single d12 is the opposite: every number from 1 to 12 is equally likely, and you can never roll a 1 on 2d6.
Up to 100 dice in a group, dice from 2 to 1,000 sides, and up to twelve groups and modifiers in one expression. That covers a fireball's 8d6 with plenty to spare, and the 1d1000 tables some games use.
No. It runs in the browser on a phone, tablet or laptop, works offline once the page has loaded, and has no account. Settings, including the notation in the box, are kept in the page address, so a link to your group opens the same roll ready to go.
The Zeal Promise
Non-negotiable, on every tool we ship.
- No sign-up — ever
- No watermarks on any output
- No ads near the download button
- Works fully on mobile
- Privacy-first: processing stays in your browser
- Open source (MIT) — audit it, contribute, self-host
- Zero runtime dependencies in tool logic