# Yora’s Law of getting 1s in a dice pool

While I was checking the odds on an old system for rolling for random encounters in the wilderness, that I’ve come up with some years back, I discovered an amazingly simple equation (with help from gunnervi and A1vin) to calculate the expected amounts of 1s that come up in a roll of multiple dice of the same type.

If you roll N number of P-sided dice (NdP), then the expected amounts of 1s to be rolled is N/P.

When you roll 4d6, the the expected amount of 1s to be rolled is 4/6 (or 0.67).

When you roll 3d8, the the expected amount of 1s to be rolled is 3/8 (or 0.375).

My random encounter system rolls a single die four times per day, with a result of 1 indicating an encounter. To get different odds for areas with high or low population densities, you switch to different types of dice, with d4s being used for very busy areas and d10s for very desolate wastelands. I wanted to know how many encounters you would get per day on average, and the numbers I got for the four dice types are 0.4, 0.4998, 0.666, and 1. With the d8 looking like a rounding error of 0.5, I realized that these are all fractions. Specifically 2/5, 1/2, 2/3, and 1/1. That doesn’t look much like a pattern, but I felt like poking at it just a bit more, and you can write the same numbers of 4/10, 4/8, 4/6, and 4/4. Which matches the sizes of the dice, and as I figured out a bit later, the number of rolls!

I only checked this for rolls of one to four dice and only for the d4, d6, d8, and d10, but the results are so exact that I am very confident that it works for any number of dice of any type.

I had decided to go with random encounters happening on a 1 instead of the max number of each type of dice because it just seemed neater to say “encounter always on a 1!” But the math works out the same either way. If you have a player roll Xd6 and want to know how many 6s you can expect to come up on average, it’s the same as counting the average amounts of 1s. Or any number actually. As long as it’s just a single number you are looking for, and not a range of numbers (like “3 or higher”), this equation works.

You can even use this to get the expected average result for mixed dice pools. To get the expected amounts of 1s that you get from 3d8+4d6, you just add them together as 3/8+4/6. Not as neat, but still really simple.

This might be of some use for people tinkering around with dice pool mechanics.

## 5 thoughts on “Yora’s Law of getting 1s in a dice pool”

1. Fuck I have been in need of this a lot of times

1. This morning I realized the solution is actually way simpler and the problem can easily be solved in a minute.

When you roll a p-sided dice, the odds to roll a 1 (or any single number) is 1/p. So with each die roll, you’ll get an average of 1/p 1s.
Multiple that by the number of rolls you make (n) and you get the expected amount of 1s for all the rolls. (1/p)*n = n/p.

2. actually says:

Sorry, but this N/P stuff is just not how probability works.

Just think of the example of rolling six 6-sided dice. Does it make sense that, when you roll all six dice, you will roll a 1 on at least one of the dice 100% of the time? Try it out and let us know.

Yeah, but they are looking at the AVERAGE number of ones, not the chance of getting at least one one.

1. These are really weird comments.
Not the comments, but the names and time of posting.