Skip to content
Illinois License # 127.001891Lincolnshire · Chicago, ILinfo@meridianalarm.com

Tools and Resources

Dice roller

Rolls dice in your browser using its cryptographic random source, with every face equally likely.

Die

Why most dice rollers are slightly loaded

A computer's random numbers come out as values from 0 to 255 — 256 possibilities. The usual shortcut is to divide by six and take the remainder as the face. But 256 does not divide evenly by six: there are 42 complete runs of one to six, plus four values left over, and those four would land on faces one to four. So one to four would come up very slightly more often than five and six.

This roller throws those few leftover values away and draws again, so every face has exactly the same chance. Most of the time nothing is thrown away; now and then one draw is repeated. How often depends on the die:

  • d4 — never, because 256 divides evenly
  • d6 — about 1.6 draws in every 100 are redrawn
  • d8 — never, because 256 divides evenly
  • d10 — about 2.3 draws in every 100 are redrawn
  • d12 — about 1.6 draws in every 100 are redrawn
  • d20 — about 6.3 draws in every 100 are redrawn
  • d100 — about 22 draws in every 100 are redrawn

Where the randomness comes from

Your browser's cryptographic random source, the same one used to make encryption keys, rather than the ordinary random function, which makes no promise about how predictable it is. Nothing is sent anywhere — the rolling happens in your browser and this site never sees the result.

More in general calculators

Or jump to power and wiring, electronics and components, networking, video and storage and cable, conduit and site. Every calculator is on one page, with a search box.

Free consultation

Tell us about the property and what it needs.

We will look at the building, the risks and the way it is used, then quote a system that fits. No charge for the conversation.

Call 224-500-4670Request a quote