# Calculating Probabilities for the Game of Risk

**URL:** <https://boards.straightdope.com/t/calculating-probabilities-for-the-game-of-risk/218858>\
**Category:** Factual Questions\
**Created:** [December 14, 2003, 12:26am UTC](https://boards.straightdope.com/t/calculating-probabilities-for-the-game-of-risk/218858 "2003-12-14T00:26:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![agiantdwarf](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@agiantdwarf](https://boards.straightdope.com/u/agiantdwarf)\
**Post date:** [December 14, 2003, 12:26am UTC](https://boards.straightdope.com/t/calculating-probabilities-for-the-game-of-risk/218858/1 "2003-12-14T00:26:36Z")

</div>

If you are unfamiliar with Risk, see this for battle situations:  
[![](http://www.centralconnector.com/images/Riskopts.gif) ](http://www.centralconnector.com/images/Riskopts.gif)

I’m trying to calculate the _exact_ probabilities that:  
If A throws 3 dice and D throws 2, what’s the chance A will win both soldiers, get even, or lose two?

How might I come up with an algorithm that you can enter the number of attackers and defenders and give you the probability that the attacker will destroy the other army? Is that even possible?

---

<div class="post-metadata">

**Author:** ![Shalmanese](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Shalmanese](https://boards.straightdope.com/u/Shalmanese)\
**Post date:** [December 14, 2003, 3:25am UTC](https://boards.straightdope.com/t/calculating-probabilities-for-the-game-of-risk/218858/2 "2003-12-14T03:25:35Z")

</div>

According to a quick little program I just whipped up, out of 7776 possible combinations of dice rolls, 3667 of them lead to the attacker winning and 4109 of them lead to the defender winning. Thus, the winning percentage is a little over 47%.

If you want to know for army numbers, it gets a bit more complicated.

---

<div class="post-metadata">

**Author:** ![Shalmanese](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Shalmanese](https://boards.straightdope.com/u/Shalmanese)\
**Post date:** [December 14, 2003, 3:42am UTC](https://boards.straightdope.com/t/calculating-probabilities-for-the-game-of-risk/218858/3 "2003-12-14T03:42:00Z")

</div>

Doh, I forgot about the 2nd die. Okay, modified program now gives:

For 3 die attacker, 2 die defender, 7776 different combinations,

2890 attacker wins both  
2275 each person loses an army  
2611 defender wins both.

So the attacker is slightly ahead.

---

<div class="post-metadata">

**Author:** ![Shalmanese](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Shalmanese](https://boards.straightdope.com/u/Shalmanese)\
**Post date:** [December 14, 2003, 3:49am UTC](https://boards.straightdope.com/t/calculating-probabilities-for-the-game-of-risk/218858/4 "2003-12-14T03:49:31Z")

</div>

According to a quick little program I just whipped up, out of 7776 possible combinations of dice rolls, 3667 of them lead to the attacker winning and 4109 of them lead to the defender winning. Thus, the winning percentage is a little over 47%.

If you want to know for army numbers, it gets a bit more complicated.

---

<div class="post-metadata">

**Author:** ![Garfield226](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@Garfield226](https://boards.straightdope.com/u/Garfield226)\
**Post date:** [December 14, 2003, 4:10am UTC](https://boards.straightdope.com/t/calculating-probabilities-for-the-game-of-risk/218858/5 "2003-12-14T04:10:42Z")

</div>

> [@](#):
>
> \*Originally posted by Shalmanese \*  
> \*\*2890 attacker wins both  
> 2275 each person loses an army  
> 2611 defender wins both.  
> \*\*

37% : 29% : 34%

Therefore, he’ll lose two armies 37% of the time, you’ll lose two 34% of the time, and you’ll both lose one 29% of the time.

Evening that out over one roll gets us:

He’ll lose 1.3 armies to your .97 armies per turn.

Let’s say he has 13 armies. According to the probabilities, it’ll take you 10 turns to eradicate them, and you’ll lose 9.7 armies in the process. So if you have more than that, you’ll be ok, according to the probability.

Except not, because the probabilites change when the number of dice change.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [December 14, 2003, 4:11am UTC](https://boards.straightdope.com/t/calculating-probabilities-for-the-game-of-risk/218858/6 "2003-12-14T04:11:16Z")

</div>

Believe it or not, this has been done. Quite a bit. If you search for “risk probabilities army” in, say, Google, you’ll get a lot of hits. Here’s the one I learned from:  
[http://www.maths.nott.ac.uk/personal/odl/riskfaq.html#Prob](http://www.maths.nott.ac.uk/personal/odl/riskfaq.html#Prob)

As for the formula you ask for, the probability of victory given number of attackers and number of defenders, there’s no simple formula. But it is possible to calculate via computer:  
[http://www.dandrake.com/risk.html](http://www.dandrake.com/risk.html)

The first page I linked to did have a formula for the number of armies that the attacker can expect to lose if attacking N defending armies. This is roughly equal to the size of the attacking army which has a 50% chance of success. (It does get a little messed up because the attacker is at a disadvantage when he gets down to 3 or 2 armies.)  
0.8534144 N - 0.2213413 (1 - (-0.525359)[sup]N[/sup])

For instance, for N = 24 defending armies, the formula comes out to 20.26, so an attacking army would expect to lose about 20 armies. Since 0.8534 is around 5/6, and the second term is small, in general the attacker expects to lose about 5/6 as many armies as the defender has.

---

<div class="post-metadata">

**Author:** ![Trigonal\_Planar](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@Trigonal\_Planar](https://boards.straightdope.com/u/Trigonal_Planar)\
**Post date:** [December 14, 2003, 7:07am UTC](https://boards.straightdope.com/t/calculating-probabilities-for-the-game-of-risk/218858/7 "2003-12-14T07:07:48Z")

</div>

Bah! All this randomness just goes to show that Diplomacy is a far superior game 😉
