Dice Probability Calculator
Test cases replayed : 4 of 4 match · Methodology · No outside source listed
Enter how many fair dice you roll, how many sides each has and a target total to get the probability of rolling exactly, at most or at least that total.
Result
Probability of exactly this total
Ways to roll exactly this total
- Probability of this total or less
- Probability of this total or more
- Average total
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
Affiliate link
This is an affiliate link. As an Amazon Associate I earn from qualifying purchases. This does not change the result.
Search Amazon for polyhedral dice sets. Visit Amazon
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Number of dice (1 to 10): enter a number from 1 to 10.
- Sides per die: enter 2 or more.
- Target total: enter 1 or more.
- Read the result: Probability of exactly this total; the panel also shows Ways to roll exactly this total, Probability of this total or less, Probability of this total or more and Average total.
How this calculator works
With N fair dice of S sides there are Sᴺ equally likely outcomes. The number of ways to roll a total s is Σ (−1)ᵏ C(N, k) C(s − kS − 1, N − 1), summed over k = 0, 1, … while s − kS ≥ N; this is the classical inclusion–exclusion count (de Moivre).
The number of ways to roll s or less is Σ (−1)ᵏ C(N, k) C(s − kS, N). Each probability is the count divided by Sᴺ; at least s = 1 − P(at most s) + P(exactly s). The calculator accepts up to 10 dice.
The average total is N × (S + 1) ÷ 2, for example 7 for two six-sided dice.
Worked example
| Number of dice (1 to 10) | 2 |
|---|---|
| Sides per die | 6 |
| Target total | 7 |
| Ways to roll exactly this total | 6 |
|---|---|
| Probability of exactly this total | 16.67% |
| Probability of this total or less | 58.33% |
| Probability of this total or more | 58.33% |
| Average total | 7 |
Frequently asked questions
What is the probability of rolling a 7 with two dice?
6 of the 36 outcomes add up to 7, so the probability is 6 ÷ 36 ≈ 16.67%, the most likely total.
What is the chance of rolling 10 or more with three six-sided dice?
135 of the 216 outcomes give 10 or more, which is 62.5%.