2 Dice Roller Calculator
Simulate rolling two 6-sided dice. Calculate empirical probabilities, visualize distribution frequencies, and compare actual results to theoretical expected values.
Probability Distribution
Recent Roll History
About
When analyzing stochastic processes, the simulation of rolling two standard six-sided dice (D6) provides a foundational model for understanding discrete uniform distributions and the Central Limit Theorem. This calculator executes cryptographic-adjacent pseudorandom number generation to simulate independent dice rolls. It maps the empirical results against the theoretical sample space of 36 possible permutations. In professional risk assessment, tabletop game design, or statistical modeling, distinguishing between the theoretical expected sum of 7.0 and the empirical mean over N iterations is critical. This tool tracks longitudinal frequencies, visualizes the bell-curve distribution of sums ranging from 2 to 12, and calculates real-time variance without relying on fragile external software.
Formulas
The underlying mathematics of two discrete uniform variables dictates the probability distribution of their sum. The expected value (mean) is calculated by summing the products of each possible outcome and its theoretical probability.
Where x represents the sum of the two dice, and P(x) is the probability of that sum occurring. The empirical probability during active simulation is continuously calculated as:
Where fx is the observed frequency of the specific sum, and N is the total number of rolls.
Reference Data
| Sum (S) | Combinations | Theoretical Probability P(S) | Expected Frequency (per 100) |
|---|---|---|---|
| 2 | (1,1) | 1/36 ≈ 2.78% | 2.78 |
| 3 | (1,2), (2,1) | 2/36 ≈ 5.56% | 5.56 |
| 4 | (1,3), (2,2), (3,1) | 3/36 ≈ 8.33% | 8.33 |
| 5 | (1,4), (2,3), (3,2), (4,1) | 4/36 ≈ 11.11% | 11.11 |
| 6 | (1,5), (2,4), (3,3), (4,2), (5,1) | 5/36 ≈ 13.89% | 13.89 |
| 7 | (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) | 6/36 ≈ 16.67% | 16.67 |
| 8 | (2,6), (3,5), (4,4), (5,3), (6,2) | 5/36 ≈ 13.89% | 13.89 |
| 9 | (3,6), (4,5), (5,4), (6,3) | 4/36 ≈ 11.11% | 11.11 |
| 10 | (4,6), (5,5), (6,4) | 3/36 ≈ 8.33% | 8.33 |
| 11 | (5,6), (6,5) | 2/36 ≈ 5.56% | 5.56 |
| 12 | (6,6) | 1/36 ≈ 2.78% | 2.78 |