Skip to content

Dice Probability Calculator

Exact odds of rolling a sum with any number of dice, at least one six, or all dice equal.

Your details

Sum is

Results update as you type

Probability of the sum

16.6667%

As a fraction
1/6
Chance
1 in 6
Favourable / possible outcomes
6 of 36
At least one die shows a given face (e.g. a six)
30.5556%
All dice show the same face
16.6667%
Expected sum (mean)
7
Standard deviation of the sum
2.4152
Possible sums
2 – 12
Most likely sum
7

Step-by-step solution
  1. Possible outcomes: 6^2 = 36
  2. Favourable outcomes (sum = 7): 6
  3. Probability: 6 / 36 = 16.6667%
  4. At least one given face: 1 − (5/6)^2 = 30.5556%

What are the chances of rolling a 7 with two dice? Of getting at least 15 on a d20? Of throwing at least one six in four rolls? This dice probability calculator answers these questions exactly, for 1 to 50 dice with 4, 6, 8, 10, 12, 20 or any number of sides up to 100.

Choose how many dice you roll, how many faces they have, and whether the sum must be exactly, at least or at most a target. The calculator counts every favourable combination with whole-number arithmetic, so there is no simulation and no rounding error: two dice summing to 7 come out as exactly 6/36=1/66/36 = 1/6. It also shows the chance as "1 in N", the number of favourable and possible outcomes, and a chart of the whole distribution of sums.

Two classic questions get their own results: the probability that at least one die shows a particular face (at least one six, at least one natural 20), and the probability that all dice land on the same face. The mean and standard deviation of the sum are included for those who want to compare dice pools in board games or tabletop role-playing games. For counting problems beyond dice, see the combination calculator.

How to use this calculator

  1. Enter the number of dice (1 to 50).
  2. Choose the number of sides: d4, d6, d8, d10, d12, d20, or "Other" for any die from 2 to 100 faces (a coin is a 2-sided die).
  3. Pick the condition: the sum is exactly, at least or at most your target.
  4. Enter the target sum. Targets outside the possible range simply give 0% or 100%.
  5. Read the probability, the fraction, the "1 in N" chance and the outcome counts; the chart shows every possible sum.

The formula

With nn fair dice of ss sides, every ordered result is equally likely and there are sns^n of them. The probability of an event is the number of favourable results divided by sns^n.

The number of ways Nn(t)N_n(t) to roll a sum tt is built one die at a time:

N1(t)=1 for 1≤t≤s,Nn(t)=∑f=1sNn−1(t−f)N_1(t) = 1 \text{ for } 1 \le t \le s, \qquad N_n(t) = \sum_{f=1}^{s} N_{n-1}(t - f)

which is the coefficient of xtx^t in (x+x2+⋯+xs)n(x + x^2 + \dots + x^s)^n. Then

P(sum=t)=Nn(t)snP(\text{sum} = t) = \frac{N_n(t)}{s^n}

and "at least" or "at most" add up the matching terms. The chance that at least one die shows a given face is the complement of "none does":

P=1−(s−1s)nP = 1 - \left(\frac{s-1}{s}\right)^n

All dice equal: P=s/sn=1/sn−1P = s / s^n = 1/s^{n-1}. The sum has mean n(s+1)/2n(s+1)/2 and variance n(s2−1)/12n(s^2-1)/12.

Worked example

Two dice, sum of 7. Six of the 36 outcomes give 7 (1+6, 2+5, 3+4, 4+3, 5+2, 6+1), so P=6/36=1/6≈16.6667%P = 6/36 = 1/6 \approx 16.6667\%. Seven is the most likely sum with two six-sided dice. The chance of at least 10 is also 6/366/36, or 16.67%.

Three dice, sum of 10. 27 of the 216 outcomes add up to 10: P=27/216=1/8=12.5%P = 27/216 = 1/8 = 12.5\%. Sums 10 and 11 tie as the most likely. All three dice match with probability 6/2166/216, or 2.78%.

At least one six in four rolls. 1−(5/6)4≈51.77%1 - (5/6)^4 \approx 51.77\%, slightly better than even.

A d20 check needing 15 or more. Faces 15 to 20 succeed: 6/20=30%6/20 = 30\%.

The sum of two dice

Sum 2 3 4 5 6 7 8 9 10 11 12
Ways 1 2 3 4 5 6 5 4 3 2 1

Each way has probability 1/361/36. The triangular shape explains why 7 is the key number in craps and why the 6 and 8 tiles are the best spots in Catan. With more dice the shape becomes a bell curve: the sum of many dice is close to a normal distribution.

The Chevalier de Méré’s problem

In the 17th century, the gambler Antoine Gombaud, known as the Chevalier de Méré, noticed that betting on at least one six in 4 rolls of one die won slightly more often than not, while betting on at least one double six in 24 rolls of two dice lost slightly more often. The complement rule settles it: 1−(5/6)4≈51.77%1 - (5/6)^4 \approx 51.77\% but 1−(35/36)24≈49.14%1 - (35/36)^{24} \approx 49.14\%. The question, discussed by Pascal and Fermat, helped found probability theory.

Frequently asked questions

What is the probability of rolling a 7 with two dice?

6 out of 36, which is 1/6 or about 16.67%. It is the most likely sum with two six-sided dice.

What is the probability of getting at least one six?

With n dice (or n rolls of one die), it is 1 − (5/6)^n: 16.67% for one die, 30.56% for two, 42.13% for three and 51.77% for four.

Why not just add the probabilities for each die?

Because the events overlap: two dice can both show a six. Adding 1/6 + 1/6 counts that case twice. Working with the complement, "no six at all", avoids the double count.

Are the results exact?

Yes. The calculator counts outcomes with exact integer arithmetic, even for 50 dice of 100 sides (10^100 outcomes). Only the final percentage is rounded for display, and very small probabilities are also shown in scientific notation.

Do real dice follow these probabilities?

Only if they are fair. Casino dice are precision-made so every face is equally likely; cheap dice with rounded edges and drilled pips can be slightly biased. The formulas assume fair, independent dice.

Sources

Last updated:

More Statistics calculators

People also use