Press S to see the total times each number was rolled Press D to hide it I calculated that the average added number with 4 dice is 14. With 100,000 tests you get about 11,000 rolls adding up to 14. The total number when calculated with 100,000 dice is the average times 100,000. 100,000 * average ≈ 14,000,000 The test is run every time you click the green flag.