Skip to main content

Dice Roller

Roll polyhedral dice (d4–d100) up to 50 at a time using a crypto-secure RNG.

Written by Golam Rabbani, Founder & Lead Engineer

Between 1 and 50

How to use this dice roller

  1. Pick a die type from d4, d6, d8, d10, d12, d20, or d100.
  2. Enter how many dice to roll (1 to 50).
  3. Press Roll to see each die value and the running total.
  4. Use Copy to paste the result into your tabletop session, or Reset to start over.

About this dice roller

The dice roller simulates fair polyhedral dice using your browser's cryptographic random source (crypto.getRandomValues) with rejection sampling, so every face is equally likely and no modulo bias creeps in. It supports the seven dice common to tabletop role-playing games — d4, d6, d8, d10, d12, d20, and d100 — and rolls up to 50 dice at once.

When you press Roll the tool draws a uniform integer in the range 1..N for the chosen die, repeats that draw for as many dice as you asked for, then sums the values for a quick total. Each individual roll is shown on its own chip so you can read them at a glance, and the total is rendered separately for damage rolls, attack adds, or stat checks.

For example, rolling 4d6 might give [3, 5, 1, 6] for a total of 15 — handy for D&D character stat generation. Because everything happens in your browser there is no network round-trip and no shared server-seeded RNG, so the rolls are private and verifiably independent.

FAQ

Are these dice truly random?
They use crypto.getRandomValues, the same cryptographic random source browsers expose for security work. We apply rejection sampling on top so the result is uniform over 1..N with no modulo bias — strictly fairer than Math.random.
Which dice are supported?
All seven common polyhedral dice: d4, d6, d8, d10, d12, d20, and d100. Pick whichever matches the rules you are using.
How many dice can I roll at once?
Up to 50 dice per roll. That is enough for any normal RPG situation, plus the occasional fireball.
Can I roll dice with different sides in one go?
Not in a single roll — each roll uses one die type. For mixed pools (for example 2d6 + 1d4), roll each die type separately and add the totals.
Are my rolls saved anywhere?
No. Everything is generated in your browser. Closing the page clears the result and nothing is sent to a server.