ZumaTools

Dice Roller

Pick a die, choose how many to roll and add a modifier — every result uses your device’s cryptographic random number generator.

Rolls use your device’s cryptographic random number generator. Nothing leaves your browser.

How it works

  1. Select a die type (d4 to d100), set the number of dice from 1 to 20, and enter a modifier if your roll needs one.
  2. Press Roll to see each individual die as a chip along with the modified total and the standard notation, such as 3d6+2.
  3. Change the modifier at any time to update the total of your last roll, and review your previous rolls in the history below.

Frequently asked questions

How random are the dice rolls?
Each die uses crypto.getRandomValues, the same cryptographically secure generator browsers use for security keys, with rejection sampling so every face has exactly equal probability. That makes the rolls statistically fairer than Math.random and free of the modulo bias many simple dice scripts have.
What does notation like 3d6+2 mean?
It is standard tabletop shorthand: the first number is how many dice to roll, the letter d plus a number is the die type, and the trailing part is a fixed modifier added to the sum. So 3d6+2 means roll three six-sided dice, add the results together, then add 2.
Can I use this for D&D and other tabletop games?
Yes — the seven classic polyhedral dice (d4, d6, d8, d10, d12, d20, d100) cover Dungeons & Dragons, Pathfinder and most other systems. Roll a single d20 for attack rolls and saves, multiple dice for damage, and d100 for percentile tables, with the modifier field standing in for your ability bonus.
Are my rolls sent anywhere or logged on a server?
No. The page makes no network requests when rolling; the random numbers are generated on your device and the history exists only in the open browser tab. Once you close or reload the page, the roll history is gone.
Why does the total change when I edit the modifier after rolling?
The dice themselves are fixed the moment you roll, but the modifier is a constant added on top, so the tool recalculates the total live instead of forcing a re-roll. This is handy when you forget a bonus or need to compare the same roll with different modifiers.

About this tool

This dice roller simulates the seven standard polyhedral dice — d4, d6, d8, d10, d12, d20 and d100 — with up to 20 dice per roll and an optional positive or negative modifier. Every roll shows each individual die as its own chip, so you can spot a natural 20 or a run of 1s at a glance, alongside the modified total and the standard notation for the roll, such as 3d6+2 or 1d20-1.

Unlike most online dice, this one does not use Math.random. Each face is drawn from crypto.getRandomValues, the browser’s cryptographically secure random number generator, and results are filtered with rejection sampling so that every face of every die has exactly the same probability. Everything runs locally in your browser: no roll is transmitted, stored or logged anywhere, and the page keeps working offline once loaded.

The roller fits any situation where you would reach for physical dice. Tabletop players can make attack rolls, damage rolls and percentile checks without digging through a dice bag; board gamers can replace lost dice in Monopoly or Yahtzee with a couple of d6; teachers can use it for probability demonstrations, since the individual results make distributions easy to discuss. The history list keeps your last ten rolls with relative timestamps, which is useful when someone asks what you rolled two turns ago.

A practical detail worth knowing: dice are locked in the instant you roll, but the modifier stays live. If you realize after rolling that you forgot a +2 bonus, just edit the modifier and the total of your latest roll updates immediately — no re-roll, no arguments at the table. For advantage-style mechanics, roll 2d20 and read the higher or lower chip directly.

Related tools