Conditional Dice Probability Calculator

Choose a total event and a known condition. This conditional dice probability calculator counts only the ordered outcomes satisfying that condition, then finds the share that also meets your event.

Try an example

Set up your calculation

Use a whole number in the stated range.

Use a whole number in the stated range.

Choose which outcomes are included.

Use a whole number in the stated range.

All dice are fair, independent and numbered from 1.

For a face condition, use 1 through the number of sides.

Shared links store inputs in the URL fragment. Results are recalculated; no calculator inputs are sent to the server.

Exact calculation

Exact calculation

18.18%

2/11

Probability of the requested total, given the selected condition.

Restrict the sample space

Conditional probability P(A | B) is P(A ∩ B)/P(B), provided P(B) is positive. Among equally likely ordered rolls, count outcomes satisfying both A and B, then divide by outcomes satisfying B. Do not divide by the unrestricted sample space.

A sum of 7 given at least one six

Two D6s have 11 ordered outcomes with at least one six: six beginning with 6, six ending with 6, minus the shared (6,6). Only (1,6) and (6,1) also sum to 7. Thus P(sum 7 | at least one six) = 2/11, about 18.18%, rather than the unconditional 1/6.

If you are told the first die is 6, only six outcomes remain and just (6,1) totals 7. That conditional probability is 1/6. “One die is a six” and “the first die is a six” define different information.

Conditioning on another sum threshold

Given that the sum is at least 7, there are 21 possible ordered outcomes. Six total exactly 7, giving P(sum 7 | sum at least 7) = 6/21 = 2/7. The dice probability calculator gives 6/36 for Exactly 7 and 21/36 for At least 7; dividing those probabilities gives the same result because Exactly 7 is a subset of At least 7.

That shortcut works only for nested events. Arbitrary face conditions require the intersection count. The calculator above supports total thresholds, a specified first face and at least one specified face. Other conditioning rules need their own intersection counts.

Conditions change the sample space

A known condition restricts which outcomes are possible. The probability divides matching outcomes by outcomes satisfying that condition. A condition with zero possible outcomes has no defined conditional probability.

Read the calculation methodology for exact counting, display rounding and reference checks. To report an unexpected result, send the inputs and the rule you expected through the contact page.