CPCalcPilot
Your ad could be hereAdvertise on this site →
Everyday

Dice Roller

Roll one or more virtual dice with any number of sides.

About this calculator

How This Dice Roller Works

Choose how many dice to roll and how many sides each die has, and the roller generates a random result for each die plus the total.

Worked Example

Rolling two standard 6-sided dice might give 4 and 5, for a total of 9 — every roll is an independent, freshly generated random draw.

Why This Uses Cryptographically Secure Randomness

Rather than JavaScript's plain Math.random() (a fast but, in principle, predictable pseudo-random algorithm), this roller uses the Web Crypto API's getRandomValues() — the same category of randomness source used for generating encryption keys. For casual games this distinction rarely matters, but it means results here are genuinely unpredictable rather than following a deterministic sequence.

Beyond Standard Six-Sided Dice

Enter any number of sides from 2 to 1000 — this covers every standard tabletop RPG die (d4, d8, d10, d12, d20, d100) as well as less common dice used in specific games, without needing a physical set on hand.

Worked example

Rolling two 6-sided dice might give 4 and 5, for a total of 9 — every roll uses a fresh cryptographically random draw, so results aren't predictable or repeatable.

Frequently asked questions

Is this truly random?

It uses the Web Crypto API's cryptographically secure random source, not a predictable pseudo-random algorithm — the same category of randomness used for generating encryption keys.

Can I roll dice with more than 6 sides?

Yes — enter any number of sides from 2 to 1000, covering standard tabletop RPG dice (d4, d8, d10, d12, d20, d100) and beyond.

More everyday calculators

Your ad could be hereAdvertise on this site →