All Tools › Math Calculators

Dice Probability Calculator

Compute the exact odds of rolling specific sums, ranges, or combinations with any number of dice.

How it works

For n dice each with s sides, there are sⁿ equally likely outcomes. The number of ways to roll an exact sum k is computed by inclusion–exclusion: sum over i from 0 to ⌊(k−n)/s⌋ of (−1)ⁱ · C(n,i) · C(k − s·i − 1, n − 1). Divide by sⁿ for the probability. Ranges are handled by summing exact-sum probabilities across every value in the range.

Frequently Asked Questions

What is the probability of rolling a 7 with two six-sided dice?

There are 6 combinations out of 36 that sum to 7 (1+6, 2+5, 3+4, 4+3, 5+2, 6+1), so the probability is 6/36 = 1/6 ≈ 16.67%.

How do you calculate dice probability mathematically?

For n dice each with s sides, the probability of an exact sum k is found using inclusion–exclusion: divide by s^n and sum over i of (−1)^i × C(n,i) × C(k − s·i − 1, n − 1).

What are the odds of rolling doubles on two dice?

On two six-sided dice, there are 6 doubles (1-1 through 6-6) out of 36 outcomes, giving odds of 6/36 = 1/6, or about 16.67%.

Free tools by TUNA — energy supply from vetted manufacturers