Dice Roller

Press a die for a quick roll, or type something like 2d6+3 and press Enter. Every die comes from the browser's cryptographic random source, each result is shown separately rather than as one lump sum, and dice dropped by a «keep highest» rule stay on screen crossed out.

Press a die, or type a roll like 2d6+3 and press Enter.

Quick rolls

—

Previous rolls

Every die is rolled from the browser’s cryptographic random source, and values from the tail of the range are discarded rather than folded back — otherwise low faces would come up slightly more often. Two things this tool is careful about: a modifier is added once to the total, not to each die (3d6+2 runs from 5 to 20, not from 9 to 24), and «keep highest» rolls all the dice and then drops some, which is what makes 4d6kh3 different from 3d6. The dropped dice stay visible on screen.

Nearby: Random Number Generator, Coin Flip, Spin the Wheel, Random Picker

How to use

  1. For a plain roll, press one of the quick buttons: d6, 2d6, d20, d100.
  2. For anything else, type it in the field. «3d6» is three six-sided dice, «d20» is one twenty-sided, «2d10+5» adds five to the total.
  3. «4d6kh3» rolls four dice and keeps the highest three — the classic way to roll a character's stats. «2d20kh1» is a roll with advantage, «2d20kl1» with disadvantage.
  4. The line under the total shows how it was made up, so you can check the arithmetic instead of trusting it.

Good to know

A modifier is added once, not to every die

«3d6+2» means the sum of three dice plus two: from 5 to 20, averaging 12.5. Adding the two to each die instead gives 9 to 24, averaging 16.5 — a game that is quietly four points more generous every single roll, which nobody notices until the numbers stop making sense. This is the most common mistake in dice notation, and it is why the breakdown under the total spells the sum out: you can see the dice, the modifier and the result rather than being handed a number.

«Keep the highest» rolls everything first

4d6kh3 is four dice rolled and the lowest one dropped — not three dice rolled. That is the entire point of the trick: rolling four and keeping three averages 12.24 instead of 10.5, and it makes very low results much rarer. Here all four dice are rolled and shown, with the dropped one crossed out rather than hidden, so the rule is visible instead of happening somewhere inside. The same applies to advantage in modern tabletop rules: 2d20kh1 rolls two twenties and takes the better.

Where the randomness comes from

Each die reads from crypto.getRandomValues, the browser's cryptographic random source, and values falling in the tail of the range are discarded rather than wrapped around. That last part matters: 2^32 does not divide evenly by six, so wrapping would make the low faces come up a fraction more often than the high ones. It is a tiny bias, invisible in ten rolls and real over a campaign, and discarding the tail removes it completely.

Frequently asked questions

What notation does it understand?

«NdS» for N dice of S sides, with the count optional — «d20» is one die. A «+K» or «-K» modifier goes on the end. «khM» keeps the highest M dice and «klM» the lowest; without a number they keep one. Up to 100 dice of up to 1000 sides.

Is 3d6+2 the same as 3d8?

No, and the difference is the shape of the results, not just the average. 3d6+2 runs from 5 to 20 and clusters hard around 12–13; 3d8 runs from 3 to 24 and spreads much wider. Two rolls can share an average and still play completely differently.

Are the dice fair?

Yes. Each face is equally likely, the source is the browser's cryptographic randomness, and the range is sampled without the wrap-around bias that would favour low faces. Runs of the same number are normal — twenty rolls of a d6 will often contain a triple.

Can I roll dice that are not six-sided?

Any number of sides from 2 to 1000, so the full tabletop set — d4, d8, d10, d12, d20, d100 — and anything else you need. A two-sided die is a coin, and there is a separate page for that with a proper coin on it.

Is anything sent anywhere?

No. The rolls happen in this tab and are not sent, stored on a server or logged. The page works with the network switched off, and closing the tab clears the history.

Related tools