Connect via MCP →

Enter Calculation

Formula

Show calculation steps (1)
  1. Min / Max / Average

    Min / Max / Average: Custom Dice Roller Calculator

    Min = Dice + Modifier; Max = Dice x Sides + Modifier; Average = Dice x (Sides+1)/2 + Modifier

Advertisement

Results

Your Roll Total
11
dice sum plus modifier
Dice sum (before modifier) 11
Minimum possible 3
Maximum possible 18
Average (expected) 10.5

What Is the Custom Dice Roller Calculator?

The Custom Dice Roller Calculator simulates rolling any number of dice with any number of sides — perfect for tabletop role-playing games like Dungeons & Dragons, board games, or any situation where you need a random result. Enter how many dice to roll, how many sides each die has, and an optional flat modifier, and the tool returns a live roll plus the theoretical minimum, maximum, and average outcome.

How to Use It

Set Number of dice (\(n\)), Sides per die (\(s\)), and an optional Modifier that is added to the total. For example, the classic "3d6+2" means roll three six-sided dice and add 2. Click calculate to get a fresh random total. Reload to roll again.

The Formula Explained

Each die is rolled with floor(random() × s) + 1, which yields a uniform integer from 1 to \(s\). The total is the sum of all \(n\) dice plus the modifier:

$$\text{Total} = \sum_{i=1}^{\text{Dice}} \left( \lfloor \text{rand} \times \text{Sides} \rfloor + 1 \right) + \text{Modifier}$$

The predictable statistics are: $$\begin{aligned} \text{Min} &= \text{Dice} + \text{Modifier} \\[0.4em] \text{Max} &= \text{Dice} \times \text{Sides} + \text{Modifier} \\[0.4em] \text{Avg} &= \text{Dice} \times \frac{\text{Sides} + 1}{2} + \text{Modifier} \end{aligned}$$

Advertisement
Diagram of dice notation NdS plus modifier broken into parts
Anatomy of NdS+m dice notation: number of dice, sides per die, and modifier.

Worked Example

For 3d6+2: minimum \(= 3 + 2 = 5\), maximum \(= 3 \times 6 + 2 = 20\), average \(= 3 \times (6+1)/2 + 2 = 10.5 + 2 = 12.5\). Any single roll lands somewhere between 5 and 20, clustering near 12.5.

Bar chart of probability distribution for sum of multiple dice
Rolling several dice produces a bell-shaped distribution centered on the average.

FAQ

Are the rolls truly random? They use a pseudo-random generator, which is statistically uniform and fine for games but not cryptographic use.

Why does my total change each time? Each calculation produces a new random roll. The min, max, and average shown are fixed properties of your dice setup.

Can I use it for d20 or d100? Yes — set sides to 20 or 100. Any positive whole number of sides works.

Last updated: