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 . 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
- Enter the number of dice (1 to 50).
- 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).
- Pick the condition: the sum is exactly, at least or at most your target.
- Enter the target sum. Targets outside the possible range simply give 0% or 100%.
- Read the probability, the fraction, the "1 in N" chance and the outcome counts; the chart shows every possible sum.
The formula
With fair dice of sides, every ordered result is equally likely and there are of them. The probability of an event is the number of favourable results divided by .
The number of ways to roll a sum is built one die at a time:
which is the coefficient of in . Then
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":
All dice equal: . The sum has mean and variance .
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 . Seven is the most likely sum with two six-sided dice. The chance of at least 10 is also , or 16.67%.
Three dice, sum of 10. 27 of the 216 outcomes add up to 10: . Sums 10 and 11 tie as the most likely. All three dice match with probability , or 2.78%.
At least one six in four rolls. , slightly better than even.
A d20 check needing 15 or more. Faces 15 to 20 succeed: .
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 . 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: but . 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
- OpenStax, Introductory Statistics 2e — §3.1 Terminology (sample spaces, equally likely outcomes)
- Weisstein, Dice — Wolfram MathWorld
- Grinstead & Snell, Introduction to Probability (AMS), ch. 1 and 3 — Dartmouth College
Last updated: