Home · Statistics · Probability & Combinatorics · Dice Probability Calculator
Dice Probability Calculator
The exact probability that a roll of several dice sums to a chosen target, found by counting every possible roll rather than by simulation.
What this calculator does
The exact probability that a roll of several dice sums to a chosen target, found by counting every possible roll rather than by simulation. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Every ordered roll is equally likely, so the probability is a count of favourable rolls over sides^dice total rolls.
Counts are built by convolution: the distribution of one die is combined with itself once per extra die.
Middle sums are the most likely because far more rolls produce them; the extreme sums (all 1s or all top faces) each come from a single roll.
Worked example
With the example inputs this page opens with (number of dice 2, sides per die 6, target sum 7), the result is 16.67. Change any figure and the result updates with the same formula.
Quick reference
| Number of dice | Result |
|---|---|
| 1 | 0.00 |
| 2 | 16.67 |
| 3 | 6.94 |
| 4 | 1.54 |
| 7 | 0.00 |
| 12 | 0.00 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Why is 7 the most likely sum with two dice?
Six of the 36 ordered rolls — (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) — total 7, more than for any other sum. Sums further from the middle have steadily fewer rolls.
Does the order of the dice matter in the count?
For counting, yes: (2,5) and (5,2) are two different rolls of the 36. Treating them as one would weight the sums unevenly and give wrong probabilities.
How does the Dice Probability Calculator work?
The exact probability that a roll of several dice sums to a chosen target, found by counting every possible roll rather than by simulation. Number of dice · Sides per die · Target sum → Probability of that sum (%). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Dice Probability Calculator need?
Number of dice · Sides per die · Target sum → Probability of that sum (%). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.