Dice Roller

Calculate dice roller instantly in your browser.

Loading calculator…

What this tool does

Calculate dice roller instantly in your browser. Independent virtual dice. Generate again to reroll.

How to use the Dice Roller

  1. Enter or select sides per die.
  2. Enter or select dice count.
  3. Read the calculated result; change any measurement to compare alternatives.

Formula

each die is a uniform integer from 1 through sides, using Web Crypto
sides
Sides per die
count
Dice count

Independent virtual dice. Generate again to reroll.

Worked example

For dice roller, the following measurements illustrate the exact method: Sides per die: 6; Dice count: 2.

Inputs

  • Sides per die6
  • Dice count2

Result

  • Random resultA fresh cryptographic result is generated locally in the calculator above.

Results explained

Total
Total from the formula above. Independent virtual dice. Generate again to reroll.
Rolls
Rolls from the formula above. Independent virtual dice. Generate again to reroll.

Frequently asked questions

each die is a uniform integer from 1 through sides, using Web Crypto

Independent virtual dice. Generate again to reroll.

Where mathematically meaningful, yes. Fields specify permitted ranges and undefined operations display an error.

Exact integer calculations use safe integers; decimal calculations use browser floating point, so small rounding differences can occur.

All values remain in your browser and are never uploaded.