Free tool
Dice probability calculator
See the exact odds for any NdX roll with a modifier, plus advantage and disadvantage.
Distribution
Highlighted bars are the totals that count as a success. Standard deviation: .
How the dice probability calculator works
Enter how many dice you roll, how many sides they have and any modifier, then set the target you need. The calculator works out the exact chance of every possible total, so there is no random sampling and no rounding until the final display. It runs entirely in your browser.
The maths
- One die. Each face of a fair dX has probability
1 / X. - Adding dice (convolution). The chance of each total for N dice comes from combining the distribution for N − 1 dice with one more die:
PN(t) = Σ PN−1(t − k) / Xfork = 1…X. - Modifier. A flat bonus or penalty shifts every total; it does not change the shape.
- Advantage. Rolling twice and keeping the higher total gives
P(max ≤ t) = F(t)², whereFis the chance of rolling t or less once. Keeping the lower givesP(min ≥ t) = (1 − F(t − 1))². - Average and spread. One dX averages
(X + 1) / 2with variance(X² − 1) / 12; for N dice both are multiplied by N.
What the shapes tell you
A single d20 is flat: every result from 1 to 20 is equally likely, so each +1 modifier adds exactly 5% to your chance of meeting a target. Add more dice and the results pile up in the middle. On 2d6 a total of 7 comes up in 6 of 36 combinations, while 2 and 12 each come up in only 1. That is why games built on 2d6 or 3d6 feel more predictable than games built on one d20.
Curious about dice themselves, trays and mats? Read the dice and tabletop gear guide.
Tools
More free tools
Small, free tools that run right in your browser. No sign-up, nothing to install.