Omni Calculator logo

Dice Probability Calculator

Created by Wojciech Sas, PhD
Reviewed by Bogna Szyk and Jack Bowater
Last updated: Jan 18, 2024


The dice probability calculator is a great tool if you want to estimate the dice roll probability over numerous variants. There are many different polyhedral dice included, so you can explore the likelihood of a 20-sided die as well as that of a regular cubic die.

So, just evaluate the odds, and play a game! You'll also find short descriptions of each option in the text.

🔎 Don't you have any physical dice? No problem - try our dice roller calculator!

Polyhedral dice

Everybody knows what a regular 6-sided die is, and, most likely, many of you have already played thousands of games where you used one (or more). 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;
  • 10-sided dice counting from 00 to 90 in increments of 10 — used for percentile rolls in combination with the other 10-sided dice;
  • 12-sided dice, also known as a dodecahedron — each face is a regular pentagon; and
  • 20-sided dice, also known as an icosahedron — each face is an equilateral triangle.

💡 You can master your D&D strategy using Omni's point buy calculator 5e.

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 see in this dice probability calculator.

Before we make any calculations, let's define some variables which we'll use in the formulas. n – the number of dice, s – the number of 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 a 20-sided die.

  1. 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 P equals p to the power n, or P = pn = (1/s)n. If we consider three 20-sided dice, the chance of rolling 15 on each of them is: P = (1/20)3 = 0.000125 (or P = 1.25·10-4 in scientific notation). And if you are interested in rolling the set of any identical values — not just three 15s, but three of any number — you simply multiply the result by the total die faces: P = 0.000125 · 20 = 0.0025.

  2. The probability of rolling all the values equal to or higher than y – the problem is similar to the previous one, but this time p is 1/s multiplied 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 6, 5, 4, or 3. The variable p is then 4 · 1/6 = 2/3, and the final probability is P = (2/3)n.

  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 that are equal to or lower than our target. If we take identical conditions (s=6, y=3) and apply them in this example, we can see that the values 1, 2, & 3 satisfy the rules, and the probability is: P = (3 · 1/6)n = (1/2)n.

  4. The probability of rolling exactly X same 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=k) = nCk · pk · (1-p)n-k,

    where k is the number of elements we want to select, and nCk is the number of combinations that fulfil this condition (also known as "n choose k", or, alternatively as "n choose r").

    In our example we have n = 7, p = 1/12, k = 2, nCk = 21, so the final result is: P(X=2) = 21 · (1/12)2 · (11/12)5 = 0.09439, or P(X=2) = 9.439% as a percentage.

🙋 You can find more information about this topic in our binomial distribution calculator.

  1. The probability of rolling at least X same 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.

  2. The probability of rolling an exact sum r out of the set of n s-sided dice — the general formula is pretty complex:

P(r,n,s)=1snk=0(rn)/s(1)k(nk)(rsk1n1)\scriptsize \begin{split} P(r,n,s) = \frac{1}{s^n} \sum^{\lfloor(r-n)/s\rfloor}_{k=0}(-1)^k&\binom{n}{k}\\ &\binom{r\!-s\!\cdot\!k\!-\!1}{n\!-\!1} \end{split}

However, we can also try to evaluate this problem by hand. 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 2: 1+1, but for 4, there are three different possibilities: 1+3, 2+2, 3+1, and for 12 there is, once again, only one variant: 6+6. It turns out that 7 is the most likely result with six possibilities: 1+6, 2+5, 3+4, 4+3, 5+2, and 6+1. The number of permutations with repetitions in this set is 36. Our permutation calculator may be handy for finding permutations for other dice types. 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, more time is consumed evaluating the outcome on a sheet of paper. Luckily, this isn't the case for our dice probability calculator!

  1. 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 27, 28, 29, and 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.

  2. 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 games, like lotteries, where your task is to make a bet depending on the odds. Rolling dice is one of them. Although taking some risks is inevitable, 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 30;
  • The sum of five 12-sided dice is at most 28;
  • The sum of five 20-sided dice is at least 59.

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:

  • P1 = 0.38125 for 10-sided dice;
  • P2 = 0.3072 for 12-sided dice; and
  • P3 = 0.3256 for 20-sided dice.

The probability for a pass to be successful is the product of the complementary events of the remaining options:

  • P4 = (1-P1) · (1-P2) · (1-P3) = 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.

FAQ

What is a probability?

Probability determines how likely certain events are to occur. The simple formula for probability is the number of desired outcomes/number of possible outcomes. In board games or gambling, dice probability is used to determine the chance of throwing a certain number, e.g., what is the possibility of getting a specific number with one die?

How many possible outcomes are there from rolling two dice?

There are 36 outcomes when you throw two dice. For a single die, there are six faces, and for any roll, there are six possible outcomes. For two dice, you should multiply the number of possible outcomes together to get 6 × 6 = 36. With subsequent dice, simply multiply the result by 6. If you use dice of a different shape, enter the number of their sides instead of 6.

When rolling 2 dice, what is the probability of 7?

It's 1/6 or 0.1666667. Let's assume that a total of 7 occurs at least once. For 2 dice, there are 6 ways to throw the sum of 7 — (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). The total number of combinations for a pair of cube dice is 36. So the probability of summing up to 7 is 6/36 = 1/6 = 0.1666667.

How many times do I throw 5 on a pair of dice?

20. Let's assume that a pair of dice is rolled 180 times. You have 4 ways to get a sum of 5 — (1,4), (2,3), (3,2), and (4,1). The probability of throwing a sum of 5 is 4/36 = 1/9. The expected number in 180 throws is 180 × (1/9) = 20. You will throw a sum of 5 at least 20 times.

Can I always roll a 6 on a dice?

No, it is always a matter of luck, but you can increase your chances by using some tricks:

  1. Place your index finger and thumb on the numbers that are on opposite sides revealing 1 and 6.
  2. Throw the dice slowly and hope the dice rolls straight.

The trick is that you let the dice roll with the remaining numbers, creating a higher probability of landing on the number 6.

Wojciech Sas, PhD
Choose the type and the number of dice
Dice type
Cube (6 faces)
A 6 sided dice (Cube).
Total number of dice
Choose the conditions - Game rules
I want to get:
All dice with the same face/side value
The dice value I want to get:
...which results in...
The probability of getting any value from the dice
Check out 33 similar probability theory and odds calculators 🎲
AccuracyBayes theoremBertrand's box paradox… 30 more
People also viewed…

Binomial distribution

Use the binomial distribution calculator to calculate the probability of a certain number of successes in a sequence of experiments.

Random number

No more straining with the tossing a coin and the rolling of dice - this random number generator will give you the figures you need.

Significant figures

The significant figures calculator performs operations on sig figs and shows you a step-by-step solution!

Sunbathing

Do you always remember to put on sunscreen before going outside? Are you sure that you use enough? The Sunbathing Calculator ☀ will tell you when's the time to go back under an umbrella not to suffer from a sunburn!