Dice roller

Dice roller: use sides per die, number of dice. Review the formula, worked example and calculation steps.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
Each die is uniform on {1,…,sides}; total = sum of rolls

Variables & units

Sides per die
Numeric value · minimum 2, maximum 1000
Number of dice
Numeric value · minimum 1, maximum 100

Worked example

Two six-sided dice produce a total from 2 to 12, with each die uniform.

Assumptions

Simulates fair independent dice with replacement. A saved roll reproduces the recorded result; reset inputs for fresh entropy.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Calculated on your device. Your latest 100 calculations stay in this browser.