Dice Roller
Tap the dice you want and roll them: d4 through d20 and d100, with a modifier, advantage or disadvantage on the d20, and drop lowest for stat rolls. Every face that came up is drawn, not just the total, including the die advantage discarded and the one drop lowest removed, and the last 50 rolls stay in a log you can copy.
1d20Press Roll, the space bar or R.
Tap a die to add it to the roll, then press Roll, the space bar or R.
Every die is shown, because the total is not the whole answer. A natural 20 matters, advantage means the higher of two dice, and drop lowest cannot be trusted unless the die that was dropped is on screen. The numbers come from crypto.getRandomValues with rejection sampling rather than Math.random, so a d6 really is one in six on every face. The last 50 rolls stay in this browser and nowhere else.
Common questions
- Is this dice roller truly random?
- The values come from crypto.getRandomValues, the browser's cryptographic generator, and not from Math.random. There is a second step that matters just as much: a byte holds 256 values and 256 is not a multiple of 6, so mapping a byte straight onto a d6 with a remainder would make faces 1 to 4 come up 43 times per 256 bytes and faces 5 and 6 only 42. This roller throws away the values that do not divide evenly and draws again, which is called rejection sampling. The result is that every face is exactly equally likely, and the test suite checks it by sweeping all 256 byte values through every die.
- How do advantage and disadvantage work?
- Advantage rolls the d20 twice and takes the higher result; disadvantage rolls twice and takes the lower. Both dice are shown, with the one that was not taken dimmed, because the die you did not use is half of what makes the roll worth seeing. The setting applies to every d20 in the roll and leaves other dice alone: rolling 1d20 alongside 2d6 of damage throws each d6 once and the d20 twice. A tie keeps one die and dims the other.
- How do I roll 4d6 drop lowest for stats?
- Tap d6 four times, then put 1 in the Drop lowest box and press Roll. All four values are shown and the smallest one is dimmed and left out of the total. If two dice tie for lowest, only one of them is dropped. Drop lowest reaches across every die in the roll rather than one group at a time, and it runs after advantage has picked its d20, so a discarded advantage die is never counted as one of the dice you asked to drop.
- Does it tell me when I roll a natural 20?
- Yes. A 20 on a d20 is called out under the total, and so is a natural 1. It is the value on the die itself, before the modifier, and only on a d20: a 20 rolled on a d100 is not a natural 20, and a 1 on a d6 is not a natural 1. A 20 that advantage or disadvantage discarded does not count either, since that die is not the one that was used.
- Can I roll a d100?
- Yes, d100 is on the tray alongside d4, d6, d8, d10, d12 and d20, and it is a true 1 to 100 draw rather than two d10s read as tens and units. You can mix dice freely, up to 100 dice in a single roll, and the roll is labelled in dice notation, for example 2d6 + 1d20 + 3.
- How is this different from the random number generator here?
- The random number generator takes dice notation you type, like 3d6+2, and is built for picking numbers and drawing names. This one is a tray: you tap the dice, see them drawn face by face, and get the tabletop mechanics that notation alone cannot express, namely advantage, disadvantage, drop lowest, natural 20 and 1, and a running log of what was rolled. Both use the same cryptographic randomness.
- Is my roll log stored anywhere?
- Not on any server. Everything runs in your browser, nothing is uploaded, and there is no account. The last 50 rolls and your current dice selection are remembered in this browser's local storage so the tray is where you left it when you come back. Pressing Clear removes the log, and clearing your browser's site data removes it too.
Every face is equally likely: values come from the browser's cryptographic generator with rejection sampling, so a d6 is exactly one in six on each face. The log is kept in this browser only.