This form will do computations of dice odds. Simply enter a dice
expression and hit the button.
Examples of dice expressions;
- 3d6 This is just the distribution of rolling 3 D6es and adding them together.
- d6+-1 This is how to express subtraction. Why?
Because the -1 is a dice roll which always produces a -1 and you
want to add it to a D6 dice spread.
- (2*(d6>3)) Roll a 2 D6s and compare each >3, how
many successes?
- 2*(2*(d6>3)) Roll a 2 D6s and compare each >3. Repeat it, how many successes in total?
- d6+d4 This is just the distribution of rolling a D6 and a D4 and adding them together.
- 4d6+3 >=10 This is the chances of rolling 4 D6s, adding them, adding a +3 modifier and equalling or beating a target of 10.
- D6>3 && D6>3 This is the chances of rolling a D6 and beating 3 and then rolling another and beating 3. Kind of like warhammer shooting resolution.
- 4 * (D6>3) This is the distribution of chances of rolling 4 D6s and seeing how many beat 3.
- (4 * (D6>3)) >= 3 What are my chances of rolling 4 D6s against a target value of 4+ and getting three or more hits?
- 10 * (D6==1) How many 1s will I get if I roll 10 D6s?
- (5 * (D6==1))==0 What are my chances of rolling 5 D6s and not getting a 1?
- (20 * (D6>3 && D6>3)) >= 5 If my 20 strong warhammer unit shoots at an opposing unit, what are my chances of getting at least 5 hits?
- 3d6 > 0.5*4d6 If I have 300 points of mercenaries in
my 2000pt WH3 army and I'm fighting a core 2000pts army, what are
the chances of my mercenaries routing? (d6 per full 500pts of
army; must score over half opponent's role to keep
them).
Comparison expressions will return two results - the 0 indicates
failure chances, the 1 indicates successes.
Disclaimer: I wrote this for my own use and the answers seem
accurate to me. I do not offer any warranty whatsoever regarding the
results obtained. Do not use these numbers in any operations in which
you rely on them being accurate, particularly but not limited to any
financial or life-critical scenarios. If you find any errors, please
tell me about them.
If you do calculations which involve really big numbers of dice,
you can get results which are negative chances or >100%
chances. This is because I'm using 64 bit integers to hold
numerators/denominators in the fractions. These can overflow despite
renormalisations. At some point I'll rewrite it to use proper
bignums.