Dice Probability Calculator
The dice probability calculator is a great tool if you want to estimate the dice roll probability over numerous variants. There are may different polyhedral die included, so you can explore the probability of a 20 sided die as well as that of a regular cubic die. So, just evaluate the odds, and play a game! In the text, you'll also find a short descriptions of each of the options.
Everybody knows what a regular 6 sided die is, and, most likely, many of you have already played thousands of games where the one (or more) was used. But, did you know that there are different types of die? Out of the countless possibilities, the most popular dice are included in the Dungeons & Dragons dice set, which contains seven different polyhedral dice:
- 4 sided dice, also known as a tetrahedron - each face is an equilateral triangle
- 6 sided dice, a classic cube - each face is a square
- 8 sided dice, also known as an octahedron - each face is an equilateral triangle
- 10 sided dice, also known as a pentagonal trapezohedron - each face is a kite
- 12 sided dice, also known as a dodecahedron - each face is a regular pentagon
- 20 sided dice, also known as an icosahedron - each face is an equilateral triangle
Don't worry, we take each of these dice into account in our dice probability calculator. You can choose whichever you like, and e.g. pretend to roll five 20 sided dice at once!
How to calculate dice roll probability?
Well, the question is more complex than it seems at first glance, but you'll soon see that the answer isn't that scary! It's all about maths and statistics.
First of all, we have to determine what kind of dice roll probability we want to find. We can distinguish a few which you can find in this dice probability calculator.
Before we make any calculations, let's define some variables which are used in the formulas.
n - the number of dice,
s - the number of a individual die faces,
p - the probability of rolling any value from a die, and
P - the overall probability for the problem. There is a simple relationship -
p = 1/s, so the probability of getting
7 on a 10 sided die is twice that of on a 20 sided die.
The probability of rolling the same value on each die - while the chance of getting a particular value on a single die is
p, we only need to multiply this probability by itself as many times as the number of dice. In other words, the probability
pto the power
P = pⁿ = (1/s)ⁿ. If we consider three 20 sided dice, the chance of rolling
15on each of them is:
P = (1/20)³ = 0.000125(or
P = 1.25·10⁻⁴in scientific notation).
The probability of rolling all the values equal to or higher than
y- the problem is similar to the previous one, but this time
1/smultiplied by all the possibilities which satisfy the initial condition. For example, let's say we have a regular die and
y = 3. We want to rolled value to be either
3. The variable
4 * 1/6 = 2/3, and the final probability is
P = (2/3)ⁿ.
The probability of rolling all the values equal to or lower than
y- this option is almost the same as the previous one, but this time we are interested only in numbers which are equal to or lower than our target. If we take identical conditions (
y=3) and apply them in this example, we can see that the values
3satisfy the rules, and the probability is:
P = (3 * 1/6)ⁿ = (1/2)ⁿ.
The probability of rolling exactly
Xsame values (equal to
y) out of the set - imagine you have a set of seven 12 sided dice, and you want to know the chance of getting exactly two
9s. It's somehow different than previously because only a part of the whole set has to match the conditions. This is where the binomial probability comes in handy. The binomial probability formula is:
P(X=r) = nCr * pʳ * (1-p)ⁿ⁻ʳ,
ris the number of successes, and
nCris the number of combinations (also known as "
r"). In our example we have
n = 7,
p = 1/12,
r = 2,
nCr = 21, so the final result is:
P(X=2) = 21 * (1/12)² * (11/12)⁵ = 0.09439, or
P(X=2) = 9.439%as a percentage.
The probability of rolling at least
Xsame values (equal to
y) out of the set - the problem is very similar to the prior one, but this time the outcome is the sum of the probabilities for
X=2,3,4,5,6,7. Moving to the numbers, we have:
P = P(X=2) + P(X=3) + P(X=4) + P(X=5) + P(X=6) + P(X=7) = 0.11006 = 11.006%. As you may expect, the result is a little higher. Sometimes the precise wording of the problem will increase your chances of success.
The probability of rolling an exact sum out of the set - unfortunately, there isn't a single formula for this problem. One approach is to find the total number of possible sums. With a pair of regular dice, we can have
2,3,4,5,6,7,8,9,10,11,12, but these results are not equivalent!
Take a look, there is only one way you can obtain
1+1, but for
4there are three different possibilities:
3+1, and for
12there is, once again, only one variant:
6+6. It turns out that
7is the most likely result with six possibilities:
6+1. The number of permutations with repetitions in this set is
36. We can estimate the probabilities as the ratio of favorable outcomes to all possible outcomes:
P(2) = 1/36,
P(4) = 3/36 = 1/12,
P(12) = 1/36,
P(7) = 6/36 = 1/6.
The higher the number of dice, the closer the distribution function of sums gets to the normal distribution. As you may expect, as the number of dice and faces increases, the more time is consumed evaluating the outcome on a sheet of paper. Luckily, this isn't the case for our dice probability calculator!
The probability of rolling a sum out of the set, not lower than
X- like the previous problem, we have to find all results which match the initial condition, and divide them by the number of all possibilities. Taking into account a set of three 10 sided dice, we want to obtain a sum at least equal to
27. As we can see, we have to add all permutations for
30, which are 10, 6, 3, and 1 respectively. In total, there are 20 good outcomes in 1,000 possibilities, so the final probability is:
P(X ≥ 27) = 20 / 1,000 = 0.02.
The probability of rolling a sum out of the set, not higher than
X- the procedure is precisely the same as for the prior task, but we have to add only sums below or equal to the target. Having the same set of dice as above, what is the chance of rolling at most
26? If you were to do it step by step, it would take ages to obtain the result (to sum all 26 sums). But, if you think about it, we have just worked out the complementary event in the previous problem. The total probability of complementary events is exactly
1, so the probability here is:
P(X ≤ 26) = 1 - 0.02 = 0.98.
When to use dice probability calculator?
There are a lot of board games where you take turns to roll a die (or dice), and the results may be used in numerous contexts. Let's say you're playing Dungeons & Dragons and attacking. Your opponent's armor class is
17. You roll a 20 sided dice, hoping for a result of at least 15 - with your modifier of +2, that should be enough. With these conditions, the probability of a successful attack is
0.30. If you know the odds of a successful attack, you can choose whether you want to attack this target or pick another with better odds.
Or maybe you're playing The Settlers of Catan and you hope to roll the sum of exactly
8 with two 6 sided dice, as this result will yield you precious resources. Just use our dice probability calculator, and you'll see the chance is around
0.14 - you'd better get lucky this turn!
Should I play or should I pass? - Let's play a game!
There are various types of game, like lotteries, where your task is to make a bet depending on the odds. Rolling dice is one of them. Although it's inevitable to take some risk, you can choose the most favorable option, and maximize your chances of a win. Take a look at this example.
Imagine you are playing a game where you have one of three options to choose from, which are:
- the sum of five 10 sided dice is at least
- the sum of five 12 sided dice is at most
- the sum of five 20 sided dice is at least
You only win if the option you pick comes up. You can also pass if you feel none of these will happen. Intuitively, it's difficult to estimate the most likely success, but with our dice probability calculator, it takes only a blink of an eye to evaluate all the probabilities.
The resulting values are:
P₁ = 0.38125for 10 sided dice
P₂ = 0.3072for 12 sided dice
P₃ = 0.3256for 20 sided dice.
The probability for a pass to be successful is the product of the complementary events of the remaining options:
P₄ = (1-P₁) * (1-P₂) * (1-P₃) = 0.61875 * 0.6928 * 0.6744 = 0.2891.
We can see that the most favorable option is the first one, while passing is the least likely event to happen. We cannot assure you'll win all the time, but we strongly recommend that you pick the 10 sided dice set to play.