Sub topic 5
Distributions: why summed dice cluster
This chapter assumes you can compute simple probabilities such as 1/6 or 3/36 and that you know expected value as the average outcome over many trials. You also need to read short Python programs. The earlier chapters covered probability basics and expected value. Here you will see how the shape of a roll's outcomes changes what players experience.
What a distribution is
A distribution lists every possible outcome of a random process and how likely each one is. For one fair six-sided die (1d6), the distribution is uniform. Each face has probability 1/6, about 16.7%, so no result is more likely than any other.
A designer's roll often combines several random parts. Add two dice, and the distribution changes shape even though each die is still uniform. Two properties define the shape:
- The mean is the center. The expected value of 1d6 is 3.5, and the mean of 2d6 is 7.
- The spread is how far results usually land from the center. The standard deviation measures it.
Two mechanics can share a mean and still feel very different. That difference is the reason to study distributions.
Why summed dice cluster
Count the ways to make each total with 2d6. There are 6 × 6 = 36 equally likely ordered pairs. Only one pair makes a 2 (1+1). Six pairs make a 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1).
Each pair is equally likely, but the totals are not. A middle total can be reached by many combinations. An extreme total can be reached by very few. The pile of combinations is tallest in the middle.
You can compute this table by enumerating every roll, which is exact and easy for small dice pools.
from collections import Counter
from itertools import product
def sum_distribution(dice, sides=6):
"""Return {total: probability} for rolling `dice` dice with `sides` faces."""
counts = Counter(
sum(roll) for roll in product(range(1, sides + 1), repeat=dice)
)
total = sides ** dice
return {value: counts[value] / total for value in sorted(counts)}
dist = sum_distribution(2)
for value, p in dist.items():
print(f"{value:2d} {p:6.1%} {'#' * round(p * 100)}")The output shows 2 and 12 at 2.8% each and 7 at 16.7%. A 7 is six times as likely as a 2.
More dice, tighter clusters
Adding dice moves the mean and widens the range. It also makes the result more predictable in relative terms. The mean of the sum grows in proportion to the number of dice. The standard deviation grows only with the square root of that number. So the spread shrinks compared with the range of possible totals.
import math
def mean_and_sd(dist):
mean = sum(v * p for v, p in dist.items())
variance = sum((v - mean) ** 2 * p for v, p in dist.items())
return mean, math.sqrt(variance)
for n in (1, 2, 3, 4):
mean, sd = mean_and_sd(sum_distribution(n))
possible_range = 5 * n # max total minus min total
print(f"{n}d6 mean={mean:.1f} sd={sd:.2f} sd/range={sd / possible_range:.2f}")| Dice | Mean | Standard deviation | Standard deviation / range |
|---|---|---|---|
| 1d6 | 3.5 | 1.71 | 0.34 |
| 2d6 | 7.0 | 2.42 | 0.24 |
| 3d6 | 10.5 | 2.96 | 0.20 |
| 4d6 | 14.0 | 3.42 | 0.17 |
As the dice pool grows, the outline approaches a bell curve, a smooth hump that is highest at the mean and thin at both ends. This effect is described by the central limit theorem. For design work you only need the practical version: the sum of many small independent random parts is hard to push far from its average.
Choosing a roll shape
Compare 1d12 with 2d6. Both have an outcome range that is close (1 to 12 versus 2 to 12). The mean of 1d12 is 6.5 and the mean of 2d6 is 7. The experience differs because the shapes differ.
def at_least(dist, target):
return sum(p for value, p in dist.items() if value >= target)
d12 = {v: 1 / 12 for v in range(1, 13)}
two_d6 = sum_distribution(2)
for target in (3, 7, 10):
print(f"{target:2d}+ 1d12={at_least(d12, target):.1%} 2d6={at_least(two_d6, target):.1%}")| Target | 1d12 | 2d6 |
|---|---|---|
| 3 or more | 83.3% | 97.2% |
| 7 or more | 50.0% | 58.3% |
| 10 or more | 25.0% | 16.7% |
2d6 makes ordinary success reliable and makes the high result rare. 1d12 gives wild swings, with a high roll as likely as a low one. Use this table as a decision guide:
- Choose a flat roll (1d20, 1d12) when you want dramatic upsets and a real chance of a big result, such as a critical hit.
- Choose summed dice (2d6, 3d6) when you want results to land near an expected value and extremes to feel special.
Modifiers hit differently in the middle
A fixed bonus shifts the whole distribution, but the change in success chance depends on where the target sits. Suppose a player needs a total of 7 or more on 2d6, and gains +1, which makes the target effectively 6 or more.
- At 7+, the chance is 21/36, or 58.3%.
- At 6+, the chance is 26/36, or 72.2%.
- The +1 bonus is worth 13.9 percentage points.
Near the tail, the same +1 is worth much less. Moving from 12+ to 11+ changes the chance from 1/36 (2.8%) to 3/36 (8.3%), about 5.6 points. On a flat 1d12, every +1 is worth exactly 8.3 points wherever the target is. A designer using 2d6 must know that bonuses are strong when the target is near the mean and weak at the extremes. That is why small modifiers matter a lot in the middle of the curve.
Common errors
- Treating totals as equally likely. Saying "there are 11 totals, so a 7 is a 1-in-11 chance" is wrong. Count combinations, not totals.
- Treating 2d6 as 1d12 plus 1. The means are close, but the spread and tail probabilities are very different.
- Averaging without the spread. Two systems with a mean of 7 can produce very different play. Check the standard deviation as well.
- Adding dice of different sizes without recounting. The peak moves and the shape becomes flat-topped. Enumerate with code rather than guessing.
- Assuming independence when it does not hold. The counting above is valid only if each die is unaffected by the others. Rerolls, exploding dice, and "keep the best" rules change the distribution. Enumerate or simulate those rules explicitly.
- Assuming the curve is exact. A bell curve approximates a sum of few dice. Use exact enumeration when you need the true percentage.
Exercises
Exercise
With two fair six-sided dice, what is the probability that the total is 9 or more? Give the answer as a fraction and a percentage.
Show answer
The ways to make each total are 9: 4, 10: 3, 11: 2, 12: 1. That is 10 ways out of 36. The probability is 10/36 = 5/18, about 27.8%.
Exercise
A designer wants most attacks to land near the same damage, with very high damage being rare. Should the damage roll be 1d12 or 2d6? Give two reasons based on this chapter.
Show answer
Use 2d6. First, its totals cluster around 7, since 6 of the 36 combinations give 7 and only 1 gives 12. Second, its standard deviation (about 2.42) is smaller than the 1d12 spread (about 3.45), so rolls stay closer to the average. A 10 or more happens 16.7% of the time on 2d6 but 25% on 1d12.