5d8 dice roller and probability

Rolling 5d8 gives totals from 5 to 40. The average is 22.5 and the most likely total is 22 or 23, with a 7.51% chance each.

32,768equally likely outcomes
22.5average total
5.12standard deviation
22, 23most likely total
3.05e-3%chance of max (40)

5d8 probability distribution

TotalWaysExactlyAt leastAt most
513.05e-3%100%3.05e-3%
650.0153%100%0.0183%
7150.0458%100%0.0641%
8350.107%99.9%0.171%
9700.214%99.8%0.385%
101260.385%99.6%0.769%
112100.641%99.2%1.41%
123301.01%98.6%2.42%
134901.50%97.6%3.91%
146902.11%96.1%6.02%
159262.83%94%8.84%
161,1903.63%91.2%12.5%
171,4704.49%87.5%17%
181,7505.34%83%22.3%
192,0106.13%77.7%28.4%
202,2266.79%71.6%35.2%
212,3807.26%64.8%42.5%
222,4607.51%57.5%50%
232,4607.51%50%57.5%
242,3807.26%42.5%64.8%
252,2266.79%35.2%71.6%
262,0106.13%28.4%77.7%
271,7505.34%22.3%83%
281,4704.49%17%87.5%
291,1903.63%12.5%91.2%
309262.83%8.84%94%
316902.11%6.02%96.1%
324901.50%3.91%97.6%
333301.01%2.42%98.6%
342100.641%1.41%99.2%
351260.385%0.769%99.6%
36700.214%0.385%99.8%
37350.107%0.171%99.9%
38150.0458%0.0641%100%
3950.0153%0.0183%100%
4013.05e-3%3.05e-3%100%

How the table is calculated

There are 85 = 32,768 equally likely ways for 5 dice to land. The number of ways to reach each total is found by convolution: start with one die (1 way for each face) and, for each extra die, add up the ways of the previous totals that can step to the new one. Probability = ways ÷ 32,768.

mean = N × (S+1)/2 = 5 × 4.5 = 22.5

With 5 dice the shape approaches a bell curve; about 68% of rolls land within one standard deviation (17.4 to 27.6) of the average.

Nearby notations

Frequently asked questions

What is the most common roll on 5d8?
22 or 23, with 2,460 of 32,768 combinations (7.51%).
What is the chance of rolling 40 on 5d8?
1 in 32,768 (3.05e-3%).