Beginner

Dice Probability Calculator

Find the exact probability of rolling a chosen sum with any number of dice and any number of sides.

Condition

Probability
16.667%

Sum exactly 7

Favorable outcomes
6
Total outcomes
36
Odds (1 in)
6
Mean sum
7
Std deviation
2.42
Possible range
2 – 12
7Approximate bell curve of dice sum — target T marked
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

The probability of a dice total equals the number of face combinations giving that sum divided by s^n. This tool convolves n uniform {1..s} dice to count those combinations, then reports exact, at-least, or at-most probabilities along with the mean n(s+1)/2 and the full distribution.

Formula
P(sum = t) = ways(t) / s^n, with ways(t) from the convolution of n uniform {1..s} dice
How this is calculated

Enter the number of dice (n), the number of sides on each die (s), and a target sum (t). The condition dropdown selects whether you want the sum to be exactly t, at least t, or at most t.

The distribution of the total of n s-sided dice is built by convolving n copies of the uniform distribution over {1, 2, ..., s}. Starting from one die (each face equally likely), each additional die shifts and spreads the running array so that dist[k] holds the number of face combinations that produce sum k. The probability of any exact sum is ways(k) divided by the total number of equally likely outcomes, s^n. "At least" and "at most" probabilities sum the relevant tail of that array.

The smallest possible sum is n (all ones) and the largest is n·s (all maximum faces). The mean total is n(s+1)/2 and the variance is n(s²−1)/12, since each die has mean (s+1)/2 and variance (s²−1)/12 and the dice are independent. All dice are assumed fair and independent; targets outside the n…n·s range simply yield probability zero for "exactly".

Frequently asked questions

There are 6 ways to make 7 out of 36 equally likely outcomes, so the probability is 6/36 = 1/6 ≈ 16.667%. Seven is the most likely sum with two standard dice.

Extreme sums can be formed only one way (all ones or all maximums), while central sums can be formed by many combinations. Convolving the uniform distributions produces a bell-like shape peaking near the mean n(s+1)/2.

Yes. Set sides to any value of 2 or more (for example 20 for a d20), and the calculator builds the full distribution by convolution for any number of dice.

Also known as

dice probability
dice roll probability
sum of dice
two dice odds
tabletop probability
dnd dice odds
roll dice calculator
probability of rolling

APA

TG we-Calculate Editorial Team. (2026). Dice Probability Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/dice-probability-calculator

Chicago

TG we-Calculate Editorial Team. "Dice Probability Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/dice-probability-calculator.

IEEE

TG we-Calculate Editorial Team, "Dice Probability Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/dice-probability-calculator

BibTeX

@misc{wecalculate_dice_probability_calculator, title = {Dice Probability Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/dice-probability-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?