Audited 27 Jul 2026·Last updated 27 Jul 2026·3 citations·Tier 2·0 uses

Dice Probability Calculator

Free dice probability calculator: find P(sum), at-least, and at-most probabilities for n dice of any number of sides, with exact ways-counts and combinatorics.

Dice Probability Calculator

How many dice are rolled together, e.g. 2 for a standard pair.
6 for a standard die, 20 for a d20, 100 for percentile dice.
Must be between n (all 1s) and n×s (all max faces) for your chosen dice.
What do you want to compute?
Probability
0.1667
The requested probability, in [0,1], per your selected mode (exactly / at least / at most the target sum).
Probability (%)
16.67%
Favorable outcomes
6
Total possible outcomes (sⁿ)
36
Mean sum (all rolls)
7
Standard deviation of the sum
2.4152

Background.

The Quanta dice probability calculator computes the exact probability of a target sum across any number of dice with any number of sides — the specific, high-volume question behind searches like 'probability of rolling a 7 with two dice' or 'chance of getting at least 10 on 3d6'. Enter the defaults, two standard six-sided dice and a target sum of exactly 7, and the calculator returns a probability of 1/6 (about 16.67%), the single most quoted fact in introductory probability, alongside the exact count of favorable outcomes (6 out of 36 total rolls) and the mean and standard deviation of the sum.

The two-dice sum problem is not a modern textbook invention — it is the literal origin of formal probability theory. In 1654, the French gambler Chevalier de Méré asked Blaise Pascal a related dice question (about the fair division of stakes in an interrupted game), and the resulting correspondence between Pascal and Pierre de Fermat is generally credited as the founding moment of the mathematical theory of probability. Christiaan Huygens formalized the treatment shortly after in 1657. The reason dice problems drove the birth of the field is instructive: with a sample space small enough to enumerate completely by hand (36 outcomes for two six-sided dice, 216 for three), dice are the simplest possible laboratory for testing whether a probability theory's predictions match reality, which is exactly why every statistics course still opens with them centuries later.

The calculator supports three distinct questions because 'the probability of rolling a 7' is genuinely ambiguous without specifying which one you mean. 'Exactly' asks for the probability of that one specific sum and nothing else — the question behind almost every single-roll tabletop-game rule ('you need to roll exactly a 7 to hit'). 'At least' asks for the probability of that sum or higher — the question behind save-or-suffer mechanics ('you need 10 or higher to succeed') and behind casino craps, where a 'pass line' bet on the come-out roll wins outright on a natural 7 or 11 (an at-least-type union, not a single exact value). 'At most' asks for the sum or lower — useful for 'bust' mechanics where exceeding a threshold is bad. Confusing these three is one of the most common real-world dice-probability mistakes, and this calculator's explicit mode selector exists specifically to prevent it.

The underlying combinatorics scales quickly. With two six-sided dice there are only 36 equally likely outcomes, small enough to enumerate on a single sheet of paper; the sum of 7 is the most likely single value precisely because more ordered pairs of faces (six of them) add up to 7 than to any other sum, forming the familiar triangular distribution that peaks in the middle and tapers toward the extremes 2 and 12, which can each only be made one way (1+1 or 6+6). Adding a third die multiplies the sample space to 216 outcomes and reshapes the distribution into a taller, more sharply peaked curve centered on 10 and 11 — a visual preview of the central limit theorem, which guarantees that the sum of enough independent dice approaches a bell-shaped normal distribution no matter how simple each individual die is.

This calculator handles the general case — any n from 1 to 50 dice, any s from 2 to 100 sides — using an efficient dynamic-programming convolution rather than brute-force enumeration, so it stays fast even for combinations (say, 20 ten-sided dice) where literal enumeration of every outcome would be computationally impossible.

What is dice probability calculator?

For n dice, each with s equally likely faces numbered 1 through s, the total number of possible outcomes is sⁿ, since each die's face is chosen independently of every other die's (Feller, 1968, An Introduction to Probability Theory and Its Applications, Vol. 1, 3rd ed.). The probability of any specific event — a target sum being hit exactly, met or exceeded, or met or undershot — is the count of outcomes satisfying that event divided by sⁿ, following the classical (equally-likely-outcomes) definition of probability. The distribution of the SUM across n dice is not itself uniform, even though each individual die is: it is the n-fold discrete convolution of a uniform distribution on {1, ..., s}, which produces a distribution shaped like a widening, increasingly bell-like curve as n grows — narrow and triangular for two dice, progressively smoother and more symmetric for larger n, converging toward a normal distribution by the central limit theorem. The mean of that sum distribution is n(s+1)/2, since each individual die has mean (s+1)/2 and expectations add across independent dice; the variance is n(s²−1)/12, since each die's variance is (s²−1)/12 and variances also add across independent random variables, giving a standard deviation of √(n(s²−1)/12). 'Exactly k', 'at least k', and 'at most k' are three genuinely distinct questions about the same underlying sum distribution — the count of favorable outcomes for 'at least' and 'at most' is a cumulative sum across a range of possible totals, while 'exactly' isolates a single value.

How to use this calculator.

  1. Enter the number of dice (n) you are rolling together.
  2. Enter the number of sides (s) on each die — 6 for standard dice, 20 for a d20, or any value from 2 to 100.
  3. Enter your target sum. It must fall between n (if every die shows its minimum face, 1) and n×s (if every die shows its maximum face, s) — anything outside that range is impossible and the calculator will tell you so.
  4. Choose your mode: 'exactly' for that one specific sum only, 'at least' for that sum or higher, or 'at most' for that sum or lower. These are three different questions, and mixing them up is the single most common dice-probability mistake.
  5. Read the primary result, the probability (and its percentage form), plus the exact favorable-outcomes count and the full size of the sample space (sⁿ) underneath it.
  6. Use the mean sum and standard deviation, shown regardless of your chosen mode, as a quick sanity check — a target sum far from the mean, in units of standard deviation, should correspond to a small probability, and vice versa.

The formula.

P(sum=k) = ways(k) ⁄ sⁿ

Every outcome of rolling n dice, each with s sides, is an ordered n-tuple of face values, and because each die is independent and equally likely to show any of its s faces, all sⁿ such tuples are equally likely (Feller, 1968; Ross, 2019, A First Course in Probability, 10th ed., Ch. 2). The probability of any event is therefore just the count of tuples satisfying it, divided by sⁿ — the classical definition of probability applied directly.

Counting how many of those sⁿ tuples sum to a particular value k is the combinatorial heart of the calculator. For a single die (n=1) exactly one face gives any particular sum. For two or more dice, the count is found by convolution: the number of ways n dice sum to k equals the sum, over every possible value v the last die could show (1 through s), of the number of ways the remaining n−1 dice sum to k−v. Applied recursively from n dice down to a base case of 0 dice (which trivially has exactly one way to sum to 0), this convolution builds up the full distribution of the sum for any n and s. This calculator computes it with a prefix-sum optimization that turns each die's convolution step into a single linear pass rather than a full nested loop, keeping the computation fast even at the tool's upper bound of 50 dice with 100 sides each.

'Exactly k' reads a single entry from that computed distribution. 'At least k' sums every entry from k up to the maximum possible sum n×s. 'At most k' sums every entry from the minimum possible sum n down to k. Because the full distribution always sums to sⁿ (every outcome falls somewhere), P(at least k) + P(at most k−1) always equals exactly 1, a useful sanity check available whenever you compute both.

The mean and standard deviation of the sum follow from the additivity of expectation and variance across independent random variables. A single fair s-sided die has mean (s+1)/2 (the average of 1 through s) and variance (s²−1)/12 (a standard result for a discrete uniform distribution). Summing n independent, identically distributed dice adds their means directly, giving n(s+1)/2, and adds their variances directly (independence is what licenses adding variances rather than needing covariance terms), giving n(s²−1)/12 and a standard deviation equal to its square root. These two summary values are mode-independent — they describe the underlying sum distribution itself, not any particular exactly/at-least/at-most question about it — which is why they are always shown alongside whichever specific probability you asked for.

A worked example.

Example

Two standard six-sided dice are rolled together. There are 6 × 6 = 36 equally likely ordered outcomes in total, since each die independently shows one of 6 faces. Exactly six of those 36 outcomes sum to 7: (1,6), (2,5), (3,4), (4,3), (5,2), and (6,1) — more than any other possible sum, which is why 7 is the single most common result when rolling two dice, the basis of the 'pass line' bet paying out on a come-out roll of 7 in casino craps. The probability is therefore 6/36, which simplifies to 1/6, or about 16.67%. For comparison, the extreme sums 2 and 12 can each only be made one way (1+1 and 6+6 respectively), giving each a probability of just 1/36, about 2.78% — six times less likely than rolling a 7. The mean sum across the full distribution is 2 × (6+1)/2 = 7 (matching the most likely single value exactly, a symmetry particular to an even number of dice with sides symmetric around a middle value), and the standard deviation is √(2 × (36−1)/12) = √(70/12) ≈ 2.415, meaning a roll typically lands within about 2.4 of 7 — comfortably covering the full practical range from 2 to 12.

modeexactly
num Dice2
target Sum7
num Sides6

Frequently asked questions.

Why is 7 the most common sum when rolling two six-sided dice?
Because more distinct ordered pairs of faces add up to 7 than to any other possible sum. There are six ways to make 7 with two dice — (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) — compared to, for example, only two ways to make 3 (1+2 and 2+1) or one way to make 2 (1+1). The count of ways to make each sum rises from 1 (at the minimum, 2) up to 6 (at 7) and then falls back down to 1 (at the maximum, 12), forming a symmetric triangular distribution. This is a direct consequence of counting ordered pairs from a small, discrete uniform range — no die is 'trying' to land on 7; it simply has more combinatorial routes to that particular total than to any other.
What's the difference between 'exactly', 'at least', and 'at most'?
They describe three genuinely different events built from the same sum distribution. 'Exactly k' means the sum equals k and nothing else — the probability of rolling precisely a 7, no more, no less. 'At least k' means the sum is k OR HIGHER — the probability relevant to a 'you need 10 or more to succeed' game rule, which includes 10, 11, and 12 all at once. 'At most k' means the sum is k OR LOWER. Confusing 'exactly' with 'at least' is an extremely common real-world mistake — for example, a casino craps 'pass line' bet actually wins on a come-out roll of exactly 7 OR exactly 11 (a specific two-value union, different again from a simple at-least or at-most question), which is why reading the actual rule carefully, rather than assuming which mode applies, matters.
How does adding more dice change the shape of the sum distribution?
It smooths and narrows the distribution relative to its own range, pushing it toward a bell (normal) shape — a direct preview of the central limit theorem, which states that the sum of enough independent, identically distributed random variables approaches a normal distribution regardless of the shape of each individual variable. Two dice produce a triangular distribution peaking at one middle value (7 for two six-sided dice). Three dice already look noticeably more bell-curved, peaking at two adjacent central values (10 and 11 for three six-sided dice, each with 27 out of 216 ways). By the time you sum ten or more dice, the distribution is very close to a smooth bell curve, and probabilities near the extremes (all dice showing their minimum or maximum face) become vanishingly small, since there is only ever exactly one way to achieve either extreme regardless of how many dice you add.
Why does this calculator cap the number of dice at 50 and sides at 100?
Not because the underlying combinatorics breaks down mathematically — the dynamic-programming convolution this calculator uses would handle far larger inputs correctly — but to keep the tool fast and its outputs practically meaningful. At 50 dice with 100 sides each, the sample space already contains 100⁵⁰ outcomes, a number with 100 digits; individual probabilities at that scale are represented as very small but still mathematically exact decimals, and the calculator computes them without ever attempting to enumerate the sample space directly (it works with the much smaller distribution of possible sums instead, which only ranges up to n×s values, not sⁿ values). The caps simply reflect that no realistic tabletop game, casino game, or classroom problem needs dice combinations beyond this range.
Is the probability of rolling doubles the same as the probability of a specific sum?
No — 'rolling doubles' (both dice showing the same face) is a different event from 'rolling a specific sum'. For two six-sided dice, there are exactly 6 ways to roll doubles (1-1 through 6-6) out of 36 total outcomes, giving a probability of 6/36 = 1/6 — coincidentally the same probability as rolling a sum of exactly 7, but for an entirely different reason (doubles is about matching faces, not about a target total). This calculator specifically answers sum-based questions (exactly/at least/at most a target total); a 'probability of doubles' question is a distinct combinatorial problem that happens to share the same numeric answer only for the standard two-six-sided-dice case.

References& sources.

  1. [1]Feller, W. (1968). An Introduction to Probability Theory and Its Applications, Volume 1, 3rd edition. New York: John Wiley & Sons.
  2. [2]Ross, S.M. (2019). A First Course in Probability, 10th edition, Ch. 2. New York: Pearson.
  3. [3]NIST/SEMATECH e-Handbook of Statistical Methods.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon