Skip to main content

Two Dice Probability Calculator

Roll two dice and the arithmetic is almost embarrassingly simple. There are 36 ordered outcomes, all equally likely, and the totals behind them run 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1 ways. Every question about a pair of dice is a count over those 36, which is why a total of 7 is the most likely and 2 and 12 are the rarest.

One exact total, both tails of a threshold, one named pair, loaded dice, or a simulation.

The total you want in sum, weighted and simulation modes. In bounds mode it is the threshold k, and totals outside 2 to 12 are allowed there.

The face on the first die.

The face on the second die.

A 3 then a 5 is one outcome; a 3 and a 5 in any order is two. Two matching faces have only one arrangement.

Six positive weights in any scale, such as percentages or 0 to 1 shares. They are divided by their own total, so 22, 18, 18, 14, 14, 14 and 0.22, 0.18, 0.18, 0.14, 0.14, 0.14 describe the same die.

The same format for the second die. Two fair dice are 16.67, 16.67, 16.67, 16.67, 16.67, 16.66 on both.

How many pairs to roll. Noise falls as 1 over the square root of this number.

Fixes the random sequence, so the same inputs always replay the same run.

Calculated Result
16.6667%

P(total = 7)

Ways to roll it

6

Total outcomes

36

Odds against

30 to 6

Expected rolls to see it

6

On one die

33.3333%

7 is the most likely total by a wide margin — Two fair dice, 36 ordered outcomes; the counts run 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1.

Calculation Breakdown

  1. List the pairingsThe first die can show 6 faces and the second die makes up the rest, so 6 of the 36 arrangements work.pairs = (1, k-1), (2, k-2), ... , (6, k-6)
  2. Divide by the outcomesEvery ordered pair is equally likely, so the probability is the count over the 36 outcomes: 6 / 36 = 16.6667%.P = 6 / 36
  3. Read it as a waiting timeOn average a 7 shows up once every 6 rolls.expected rolls = 1 / P

Probability of each total

Interactive visualization based on your current inputs

Probability
0.04.28.3131723456789101112TotalProbability

What Is the Two Dice Probability Calculator?

Two-dice probability is the study of the totals that two independent fair six-sided dice produce. Because every ordered pair is equally likely, the subject reduces to counting, and the count behind the totals is the familiar 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1.

That simplicity is the point. A question that looks like it needs a formula usually needs one division: count the arrangements, divide by 36. Loaded dice are the interesting variation, because they remove the equal-likelihood assumption and force a convolution instead.

How Does the Two Dice Probability Calculator Work?

Each die shows one of six faces, so the pair shows 36 ordered outcomes, all with probability 1/36. A total of k is reached by however many pairs add to k: one pair for 2, two for 3, and so on up to six for 7.

A threshold is handled by adding counts on one side of it. The lower tail is the running sum, and the upper tail is one minus the running sum up to k minus 1, which keeps the threshold total in exactly one of the two tails.

A named pair is a count of arrangements rather than of totals. Two different faces give two arrangements when order is free and one when it is fixed, while two matching faces give one either way.

With loaded dice the outcomes are no longer equally likely. Each face carries a normalised weight, and the probability of a total is the sum over the pairings that reach it. Summing every total recovers one, which is the check that the weights were read correctly.

Two Dice Probability Calculator Formula & Variables

The core mathematical equation utilized by this calculator is expressed as:

P(total=k)=count(k)36,P(X≤k)=∑s=2kcount(s)36,P(loaded total=k)=∑i=16p1(i) p2(k−i)P(\text{total} = k) = \frac{\text{count}(k)}{36}, \qquad P(X \le k) = \sum_{s=2}^{k} \frac{\text{count}(s)}{36}, \qquad P(\text{loaded total} = k) = \sum_{i=1}^{6} p_1(i)\, p_2(k - i)

Variable Definitions

SymbolVariable Meaning & Units
kthe total shown by the two dice, from 2 to 12
count(k)number of ordered outcomes adding to k, out of 36
p(i)probability that one loaded die shows face i

For fair dice each of the 36 ordered outcomes has probability 1/36, so a probability is a count. The counts climb from 1 at a total of 2 to 6 at a total of 7 and fall back again, which is the whole shape of the distribution. Loaded dice remove the equal likelihood, so the count is replaced by a sum over the face pairings, and the totals still add to one.

How to Use the Two Dice Probability Calculator

  1. Choose what you want: one exact total, the chance of landing at or below a threshold, one named pair, loaded dice, or a simulation.
  2. In sum mode enter the total and read the count, the share of the 36 outcomes, and how often to expect it. The table marks the total you asked about and shows where it sits in the ranking.
  3. In bounds mode enter a threshold and read both tails, the chance of exactly that total, and the chance of missing it entirely. The threshold total row tells you which total the calculator rounded to.
  4. In pair mode give the two faces and say whether order matters. In weighted mode give six weights per die in any scale and compare the result with the fair-dice value.
  5. In simulation mode set the number of rolls and the seed. The gap between the simulated and exact figures should shrink as the square root of the roll count grows.

Step-by-Step Example Calculation

A total of 7 on two fair dice

Input Values:

mode:sum
target:7
Worked Steps: Six of the 36 outcomes add to 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). That is 6/36 = 16.6667%, the most likely total on the pair, and it arrives about once every 6 rolls.

Understanding Your Result

The count behind a total is the whole result. Six arrangements for 7, one for 2, and the same one for 12 explain the entire ranking without any further calculation.

The odds-against row is the same fact inverted: 30 to 6 for a total of 7, 35 to 1 for a total of 2. Odds against are easier to read than probabilities once the numbers get small.

The expected waiting time is one over the probability, so a total of 7 arrives about every 6 rolls and a total of 2 about every 36. This is a long-run average, not a promise about the next roll.

In weighted mode the useful comparison is against the fair-dice value in the summary. A loaded die that leans low raises the low totals and lowers the high ones, and the change-from-fair row quantifies it for the total you asked about.

Factors That Affect the Result

  • Which total you ask about. The counts run from 1 at the edges to 6 in the middle, so the total matters more than anything else.
  • Whether the dice are fair. Loaded dice leave the 11 possible totals intact but redistribute their probability.
  • Whether order matters, in pair mode. It doubles the chance for two different faces and changes nothing for two matching faces.
  • How many rolls you simulate. Sampling noise falls as 1 over the square root of the count, so 20,000 rolls leaves gaps of a few tenths of a percent.

When Should You Use This Calculator?

  • Settling arguments about dice in games, craps, or tabletop rules.
  • Checking a loaded-dice design where the weights are known but the resulting distribution is not.
  • Teaching why the totals of two dice are not equally likely, which is the standard first lesson in probability.
  • Estimating waiting times, such as how many rolls a craps pass or a Yahtzee attempt needs.

Assumptions & Limitations

  • The two dice are assumed independent. Dice that share a mechanism, such as a weighted pair sold as a set, can break that.
  • Fair dice are assumed uniform over the six faces. Loaded dice handled in weighted mode are only as accurate as the weights you enter.
  • Waiting times are geometric averages over independent rolls, so the actual gap between two appearances of a total can be much longer than the average.
  • The simulation uses a simple linear congruential generator, which is reproducible and unbiased enough for a demonstration but is not a cryptographic or research-grade source of randomness.

Frequently Asked Questions

Calculation Accuracy & Reference Note

Every fair-dice figure is an exact fraction of 36 computed in integer counts, so the only error is display rounding. Loaded-dice figures involve one division and one multiplication per face pairing, and the convolution is checked to sum to one.

Standard Reference: Standard discrete probability; the 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1 count is the classical two-dice result.