HomeLifestyle › Dice Roller

Dice Roller

Total
Average
Min Possible
Max Possible
Show the math
Enter values to see the worked formula.

What Your Result Means

How This Calculator Works

You choose how many dice to roll (1–20) and the number of sides per die. Each die is simulated with Math.random(), which produces a uniformly distributed integer from 1 to the number of sides. The tool displays each individual roll, then computes the total, average, and the possible range for your dice pool.

Quick Questions

Is this truly random?

The roller uses the browser's built-in pseudorandom number generator (Math.random), which is more than adequate for games and casual use. It is not cryptographically secure, so it should not be used for gambling or security-sensitive purposes.

What dice are used in Dungeons & Dragons?

D&D uses a standard set of polyhedral dice: D4, D6, D8, D10, D12, and D20. The D20 is rolled most often for attack rolls and ability checks. D100 (percentile) is used for certain random tables.

What is the expected total for 2D6?

The expected (average) total for 2D6 is 7. Each D6 has an expected value of 3.5, and 3.5 + 3.5 = 7. This is why 7 is the most common result when rolling two six-sided dice.

Can I roll more than 20 dice?

This tool caps at 20 dice per roll for display clarity. If you need larger pools, you can roll multiple times and add the totals manually.

Sources

Method & review

MethodologyHow we calculate this Reviewed & Updated2026-04 Next review2027-04

Estimate only. Results reflect your inputs and standard formulas. Double-check important decisions independently.