Exploding dice

The Savage Worlds rule system for tabletop role-playing games (best known for its usage in Deadlands) includes a unique mechanic: exploding dice. If a player rolls the highest possible number on a die, it is said to explode, and they can roll it again and add together the rolls. A die may explode multiple times in succession, leading to unusually large scores — for example, a 4-sided die has a 1 in 16 chance of exploding twice and scoring at least 9.

Expected scores

The expected score on an s-sided exploding die is:

E(Ds) = s(s+1)2(s1)

The derivation of this formula is given at the bottom of this page.

Using this formula we can calculate the expected scores on exploding dice (shown to two decimal places), and see how they differ from the expected scores on normal dice:

Sides Normal Exploding Difference
4 2.5 3.33 0.83
6 3.5 4.20 0.70
8 4.5 5.14 0.64
10 5.5 6.11 0.61
12 6.5 7.09 0.59

The target number paradox

The fact that dice with fewer sides are more likely to explode produces a counterintuitive effect I call the target number paradox: an (s − 2)-sided die is more likely to succeed in meeting a target number of s than an s-sided die (provided s > 4). For example, a 4-side die has a 3 in 16 chance (about 19%) of scoring at least 6, while a 6-sided die only has a 1 in 6 chance (about 17%).

To prove this, we first observe that for an (s − 2)-sided die to score at least s it must first explode and then roll anything other than a 1. This occurs with a probability p given by:

p = (1s2) (s3s2)

We then subtract the probability, q, of an s-sided die scoring at least s:

p q = (1s2) (s3s2) 1s

= s(s3)s(s2)2 (s2)2s(s2)2

= s4s(s2)2

This value is positive — meaning the (s − 2)-sided die has a higher chance of success than the s-sided die — whenever s > 4.

Deriving the expected score formula

Let the random variable Ds represent the final score rolled on an s-sided die. We want to determine the formula for the expected value E(Ds).

First we determine the formula for the expected value after a specific number of explosions. Let the random variable Ds,n represent the score rolled on an s-sided die that has exploded exactly n times. We can see that:

E(Ds,n) = sn+s2 = s(n+12)

Multiplying these values by the probability of a die exploding n times and summing over the possible values of n gives us the expected score formula:

E(Ds) = n=0 s1s (1s)n E(Ds,n)

= n=0 s1s (1s)n s(n+12)

= (s1) n=0 (1s)n (n+12)

= (s1) ( 12 n=0 (1s)n + n=0 n (1s)n )

The two summations in this expression sum a geometric series and its derivative. We replace the summations with the well-known formulas for their values:

= (s1) ( 12 (ss1) + 1s (ss1)2 )

= s2 + ss1

= s(s+1)2(s1)