Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Probability of Rolling This Sum
16.6667%
P = 0.166667
Favorable outcomes (ways) 6
Total outcomes (6^n style) 36
Probability 0.166667
Odds (1 in ...) 6
Possible sum range 2 to 12

What this calculator does

This tool computes the exact probability of rolling a specific total when you throw several dice at once. It works for any number of fair dice (\(n\)) and any number of sides per die (\(s\)), not just the standard six-sided cube. Instead of estimating with simulations, it counts every possible ordered outcome exactly, so the answer is mathematically precise.

How to use it

Enter the number of dice, the number of sides on each die, and the target sum you want the dice to add up to. Press calculate to see the probability as a percentage and a decimal, the number of favorable outcomes, the total number of outcomes, and the odds expressed as "1 in N". The possible-sum range tells you the smallest and largest totals achievable.

The formula explained

The probability is $$P = \frac{N(\text{sum})}{s^{n}}.$$ The denominator \(s^{n}\) is the total number of equally likely ordered outcomes (for two six-sided dice that is \(6^{2} = 36\)). The numerator \(N(\text{sum})\) is the number of those outcomes that add up to your target. We compute \(N(\text{sum})\) by convolution: the distribution of one die is repeatedly combined with itself once per extra die. This is the coefficient of \(x^{\text{sum}}\) in \(\left(x + x^{2} + \cdots + x^{s}\right)^{n}\).

Advertisement
Bar chart showing the distribution of probabilities for sums of two six-sided dice, peaking at 7
The sum distribution for two dice forms a triangular shape, peaking at the most likely sum.

Worked example

Roll two standard six-sided dice and ask for a sum of 7. The combinations are (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) — that is 6 ways. Total outcomes are \(6^{2} = 36\). So $$P = \frac{6}{36} = 0.16667,$$ or about 16.67%, which is the most likely single total on two dice.

Grid of all 36 outcomes of two dice with diagonal cells highlighted that sum to a chosen value
Counting favorable outcomes: highlighted cells in the 6x6 grid all add up to the target sum.

FAQ

Why count ordered outcomes? Each die is distinct, so (2,5) and (5,2) are separate equally likely outcomes. Counting them separately keeps every outcome equally probable, which is required for the formula.

Can I use non-standard dice? Yes. Set sides to 4, 8, 10, 20 or any value from 2 to 100 to model d4, d8, d10, d20 and more.

What if the target is impossible? If your target is below \(n\) (all ones) or above \(n\) times the sides (all max faces), the probability is simply 0.

Last updated: