Dice Roller

Roll up to six six-sided dice and get the total.

123456

Click button or press SPACE to roll

0
Total Sum

Roll up to six virtual six-sided dice and see each face along with the total. Set how many dice you want, press Roll Dice or the space bar, and the dice tumble briefly before settling on their results. It's built for board games, tabletop sessions, quick decisions and probability demonstrations. Everything runs in your browser — no app, no sign-in, and nothing is uploaded.

Rolling one to six dice

A slider sets how many dice to roll, from 1 to 6, with the current count shown beside it. Press Roll Dice — or tap the space bar when your cursor isn't in a field — and the dice run through a short shaking animation before landing on their pip faces (one through six). The Total Sum beneath adds up every die shown. Since these are standard d6 dice, each shows 1 to 6, so the total ranges from the number of dice rolled (all ones) up to six times that (all sixes) — two dice, for instance, total between 2 and 12.

How the roll is decided

Each die's result is an independent, uniform pick from 1 to 6 using the browser's Math.random, generated fresh at the moment the dice settle — the faces flickering during the shake are just animation, not the outcome. Because the dice are independent, the total for several dice clusters toward the middle (with two dice a total of 7 is far more likely than 2 or 12), exactly as real dice behave. A short guard stops a new roll from starting until the current animation has finished.

What it does and does not do

This rolls six-sided dice only. It does not support other dice types such as d20 or d4, add modifiers or bonuses, or keep a history of past rolls — each roll simply replaces the last. That keeps it fast and simple for the common case. The randomness is Math.random, which is perfectly fair for games but not cryptographically secure, so it isn't meant for gambling systems that need a provably unbiased result. Everything happens locally in your browser.

Frequently Asked Questions

What kinds of dice can I roll?

Standard six-sided dice (d6) only, from one to six of them at a time. Other dice types like d20 or d4, modifiers, and a roll history are not supported.

Is each die fair and independent?

Yes. Each die is an independent, uniform pick from 1 to 6, drawn fresh when the dice settle. The faces shown during the shaking animation are decorative, not the result.

Can I roll without clicking the button?

Yes. Press the space bar to roll, as long as your cursor is not inside an input field. The Roll Dice button does exactly the same thing.

What range can the total be?

From the number of dice (every die a 1) up to six times that (every die a 6) — so two dice total between 2 and 12. Everything runs locally in your browser.