Risk Battle Odds

Playing Risk recently, I lost a battle that I expected was a sure win (10 vs 4). I wondered what the probability of that loss was, and realised I had the means to work it out, so I did.

I spent an evening writing some Python code to estimate the probabilities, and also wrote an API to calculate the odds of any given battle on the fly. The results are calculated live each time - if you refresh, the numbers will be subtly different.

Hopefully it's all intuitive enough to use - enjoy!

Odds of attacking team winning (%)

# Attacking Players
1 2 3 4 5 6 7 8 9 10
# Defending Players 1 40 75 86 98 99 99 100 100 100 100
2 8 34 68 79 88 92 97 97 98 99
3 2 20 48 68 78 85 91 97 97 96
4 1 7 25 52 64 73 78 85 92 94
5 0 5 20 33 51 63 67 77 87 94
6 0 4 12 27 39 55 62 70 78 86
7 0 2 9 21 29 41 51 63 71 79
8 0 0 5 15 25 36 42 51 63 70
9 0 0 2 7 12 28 39 47 61 64
10 0 0 1 7 10 18 22 41 47 56

Analyse Specific Scenario

Attackers:
Defenders:
Repeats:

Below are the odds of having X troops remaining after the battle.
Having 0 trrops remaining indicates that this team lost the battle.