Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Dice Probability Calculator

Number of dice (1 to 10): enter a number from 1 to 10. Prefilled example: 2.

Sides per die: enter 2 or more. Prefilled example: 6.

Target total: enter 1 or more. Prefilled example: 7.

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.

  1. Number of dice (1 to 10): enter a number from 1 to 10.
  2. Sides per die: enter 2 or more.
  3. Target total: enter 1 or more.
  4. 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 die6
Target total7
Ways to roll exactly this total6
Probability of exactly this total16.67%
Probability of this total or less58.33%
Probability of this total or more58.33%
Average total7

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%.

Questions answered

Related calculators