Dice Probability Calculator
Find the exact probability of rolling at least a target sum with any number of dice. Results shown as a reduced fraction and decimal.
Inputs
Results
What is dice probability?
Dice probability is the chance that a roll of one or more dice produces a given outcome — here, a total that meets or exceeds a target sum. For fair dice the chance is fully determined by three numbers: the number of dice, the number of sides on each die, and the target sum. This calculator returns the exact probability as a reduced fraction alongside its decimal equivalent.
How the probability is computed
The probability of rolling at least a target sum is found by:
- Counting all equally likely outcomes (total = )
- Counting how many of those outcomes have a sum
- Dividing and reducing the fraction
The count of outcomes with sum for dice of sides is computed via the inclusion-exclusion formula:
#{sum≤K}=j=0∑⌊(K−N)/S⌋(−1)j(jN)(NK−jS)Applying this twice — once for $K = T - 1$ and once for — gives the count of outcomes with sum exactly. The resulting fraction is mathematically exact.
P(sum≥T)=SNoutcomes with sum≥TThe range of possible sums
With dice of sides each:
- Minimum possible sum = (every die shows 1)
- Maximum possible sum = (every die shows the maximum)
If the probability is 1 (the target is always reached). If the probability is 0 (the target is impossible). Every target in between yields a genuine fraction.
Common reference results
| Setup | Target | Probability | Decimal |
|---|---|---|---|
| 1d6 | ≥ 4 | 3/6 = 1/2 | 0.5000 |
| 2d6 | ≥ 7 | 21/36 = 7/12 | 0.5833 |
| 2d6 | ≥ 10 | 6/36 = 1/6 | 0.1667 |
| 3d6 | ≥ 10 | 135/216 = 5/8 | 0.6250 |
| 1d20 | ≥ 15 | 6/20 = 3/10 | 0.3000 |
| 2d10 | ≥ 11 | 55/100 = 11/20 | 0.5500 |
The 2d6 ≥ 7 result (7/12 ≈ 58.3%) is the classic benchmark: with two standard dice, a total of at least 7 is slightly more likely than not.
The exact fraction
A decimal like 0.5833 obscures whether the probability is exactly 7/12 or some irrational approximation. An exact fraction makes the counting explicit:
- Denominator = total number of equally likely outcomes (, reduced to 12 after dividing by the greatest common divisor)
- Numerator = favorable outcomes (21, reduced to 7)
In game design, the fraction is what makes a mechanic's odds precise enough to balance. In probability education, it ties the calculator's result back to the underlying counting argument.
Applications
Tabletop RPGs and board games — most dice-based mechanics boil down to "roll this pool and hit at least this threshold." Knowing exact odds helps game designers calibrate difficulty and players make informed decisions.
Probability courses — the dice problem is a standard example of discrete probability. Computing it by hand for 2d6 is manageable; 4d8 or 3d12 is where a calculator becomes useful.
Gambling analysis — craps, sic bo, and many casino games use fixed dice with fixed targets. Exact fractions allow house-edge calculations to be checked rather than approximated.
Statistical intuition — working through why 2d6 ≥ 7 is more likely than 2d6 ≥ 8 (by exactly 6/36) illustrates how probability mass shifts across a distribution.
Reading the results
The calculator returns two fields:
- Probability (fraction) — the reduced fraction, e.g. 7/12. If the denominator exceeds the internal display limit the fraction is shown as a simplified approximation.
- Probability (decimal) — the same value as a six-decimal float, e.g. 0.583333.
A result of 1 (fraction 1/1) means the target is reachable on every outcome. A result of 0 means the target is impossible given the dice configuration.
Limitations
- Maximum dice: up to 10 dice; above this the state space grows large enough that enumeration is capped.
- Custom die faces: this calculator assumes standard consecutive-integer dice (faces 1 through ). Dice with unusual face values (like a d6 labeled 1,2,3,3,4,5) require a separate analysis.
- Advantage/disadvantage mechanics: rolling two dice and taking the higher (or lower) is a different calculation not covered here.
- Exploding dice and rerolls: probability changes when dice can trigger additional rolls; those mechanics are also out of scope.
Recommended Next
Permutation Calculator — P(n, r)
Calculate permutations P(n, r): the number of ways to choose r items from n and arrange them in order. Covers n up to 20.