How dice roller works
A dice roller simulates rolling physical dice using a random number generator. Each die produces an integer from 1 to the number of sides, with equal probability for each face. Rolling multiple dice at once gives a set of independent results whose total follows an approximately bell-shaped distribution — the more dice, the more the total clusters around the middle.
Enter how many dice to roll and how many sides each die has. Common shapes are the d6 (a standard cube), d20 (used in tabletop RPGs), and d100 (percentile). The roller returns every individual result plus the total, average, minimum, and maximum, so you can use it for board games, role-playing games, probability demonstrations, or any task that needs fair random integers.
The API accepts an optional seed for reproducible results, which is useful for testing and verified rolls. Without a seed, the browser or server uses a cryptographically ordinary random source good enough for games. For security-sensitive randomness, use a dedicated cryptographic tool instead.