Dice Roller
Two six-sided dice, rolled when the page opens.
Runs entirely in your browser
Loading the tool…
—
Two six-sided dice, rolled when the page opened. The box takes standard dice
notation, so d20, 4d6 and 3d8+2 all work.
Notation is NdS: N dice of S sides, with an optional
+ or - modifier on the end. Leaving N off means one, so
d20 and 1d20 are the same roll. Each die is drawn
separately and the individual results are shown alongside the total, which is what you
need when a rule cares about the faces rather than the sum.
The distinction that trips people up is that 2d6 is not the same as a number from 2 to 12. Two dice produce a bell: seven comes up six times as often as twelve, because six pairs make seven and only one makes twelve. If you want a flat spread instead, that is a random number in a range, not dice.
Rolls come from the browser's cryptographic generator, so they are as fair as the physical article and rather more so than a worn one.
How to use it
- Read the number above, drawn when the page opened.
- Press the button for another, or change the range first.
- Press Copy to take the result.
Questions
What notation does it accept?
NdS with an optional modifier: 2d6, d20, 4d6+2, 3d8-1. N defaults to one when left off. The individual dice are listed as well as the total, since plenty of rules care whether a six was a six rather than only what the sum came to.
Is 2d6 the same as a random number from 2 to 12?
No, and it is the most common misunderstanding about dice. Two dice give a bell-shaped spread with seven the most likely result and two and twelve the least, six times rarer. A flat draw from 2 to 12 makes every value equally likely, which is a different distribution and a different game.
Are digital dice fair?
These are drawn from the browser's cryptographic generator, which has no wear, no bias from a chipped corner and no favoured resting face. What they cannot do is prove fairness to somebody watching, which is the one thing a physical die on a table is good at.
Is this really random?
It comes from the browser's cryptographic generator, which is seeded by the operating system from real entropy rather than from the clock. That is a stronger source than the ordinary random function most languages hand out, and far stronger than anything a person picking a number produces.
Can the result be predicted or influenced?
Not from outside. The draw happens in this tab on your own machine and no part of it is sent anywhere or fetched from anywhere, so there is nothing in the path for anyone else to see or steer. It also means the page cannot prove to a third party that a draw was fair, which matters if you are settling something contested.
Other draws
The same generator on a different range. Every one of them takes a range of your own.
Your data stays on your device
Everything above runs inside your browser as WebAssembly compiled from Rust. Nothing you type is uploaded, logged or stored on a server. You can load this page once, go offline, and it still works.
This page makes no requests at all, to anywhere. That is not a promise in the copy: it is a Content-Security-Policy header your browser enforces, and connect-src on it is none. Open the network tab and watch nothing happen.