Skip to content
CalcSpectrum

Dice Roller

Roll any number of standard dice (d4, d6, d8, d10, d12, d20, d100) with a cryptographically secure random roll.

Free to use · Instant results

Calculator Inputs

Individual rolls
Result not available yet
Total
Result not available yet
Number of dice
Result not available yet
Die type
Result not available yet
Your spreadsheet is generated in your browser.

About these results

CalcSpectrum calculators produce automated estimates using established formulas and the specific values you enter. Because real-world outcomes depend on input accuracy, mathematical assumptions, and rounding conventions, please verify critical figures with an appropriately qualified financial, tax, medical, legal, or other professional, as relevant.

How It's Calculated

Formula

rolli∼Uniform{1,…,sides}\text{roll}_i \sim \text{Uniform}\{1, \dots, \text{sides}\}

This dice roller draws each die independently and uniformly from 1 to the die's number of sides, using the browser's cryptographically secure random number generator (Web Crypto's crypto.getRandomValues) with unbiased rejection sampling — never Math.random. Click "Roll Dice" to roll; changing the number of dice or the die type afterward does not reroll the displayed result until you click again.

Worked Examples

Roll 3d6

  1. Set number of dice to 3 and die type to d6.
  2. Click Roll Dice.
  3. Each of the 3 dice is drawn independently and uniformly from 1-6, e.g. 2, 5, 4.
  4. Total = 2 + 5 + 4 = 11.

Frequently Asked Questions

Which die types are supported?

d4, d6, d8, d10, d12, d20, and d100.

Does changing the number of dice reroll my results?

No. Results only change when you click "Roll Dice." Changing the number of dice or die type afterward does not affect the currently displayed roll until you click the button again.

Is this randomness fair?

Yes. Each roll is drawn using a cryptographically secure random number generator with rejection sampling, which eliminates the small bias a naive modulo operation would introduce — every face has exactly equal probability.