Probability pages
Dice notation
NdS+M means roll N dice with S sides and add M. 3d6+2 means three six-sided dice plus 2, giving 5 to 20.
average of NdS = N × (S + 1) ÷ 2
How the randomness works
Every result comes from your browser’s cryptographic random number generator (crypto.getRandomValues), the same source used for encryption keys. To turn random bits into a number in a range without bias, values that would make some outcomes slightly more likely are thrown away and redrawn (rejection sampling). Nothing is sent to a server.