b2KIT

Dice Probability Simulator

Roll customizable dice sets and visualize outcome distributions. Compare theoretical vs empirical probabilities with bar charts.

Tested tool guide Tested browser tools Checked August 16, 2026

What Dice Probability Simulator does, with a checked example

Configure a set of dice, roll it repeatedly, and compare the observed outcome bars with the corresponding theoretical distribution. The theoretical view describes the long-run probabilities for the selected dice, while the empirical view records what happened in a finite simulation. The common surprise is that possible totals are not generally equally likely. For two six-sided dice, a total of 7 has six ordered face combinations, but a total of 2 has only one.

Worked example

A concrete input and expected output from the current implementation.

Input

2 six-sided dice; 360 simulated rolls

Expected output

For totals 2 through 12, the theoretical probabilities are 1/36, 2/36, 3/36, 4/36, 5/36, 6/36, 5/36, 4/36, 3/36, 2/36, and 1/36. The theoretical bar for 7 is therefore 16.67%, while those for 2 and 12 are each 2.78%. The empirical bars contain 360 observations, but their individual counts vary from run to run.

Two six-sided dice have 36 equally likely ordered face pairs. Six pairs total 7, while only (1,1) totals 2 and only (6,6) totals 12.

How the result is produced

1

Theoretical distribution

For standard fair dice, the theoretical chart accounts for every possible face combination in the configured set. When outcomes are totals, the probability of a total is the number of ordered combinations producing it divided by the product of the dice side counts. This is why central totals usually have taller bars than extreme totals.

2

Empirical simulation

Each simulated trial produces one result from the selected dice set and adds it to the matching outcome bar. Dividing a bar's count by the total number of trials gives its empirical frequency. Increasing the trial count often makes the empirical shape resemble the theoretical shape more closely, but it does not force an exact match.

Good uses

  • Estimate how often a tabletop damage roll such as 3d6 reaches a target total.
  • Demonstrate why sums of several dice form a peaked distribution rather than a uniform one.
  • Compare short and long simulations to study random variation around exact dice probabilities.

Limits and checks

  • Empirical bars are random observations, so rerunning the same dice configuration can produce different counts.
  • Do not interpret a small empirical mismatch as an error; finite samples are not expected to reproduce every theoretical percentage exactly.
  • Unless face weights can be configured explicitly, the displayed theory should not be used for loaded dice or dependent rolls.

Common questions

Why does the simulated distribution not match the theoretical bars exactly?

The simulation is a finite random sample, whereas the theoretical bars describe exact long-run probabilities. Even a correct simulation can contain noticeably high or low outcome counts. More trials usually reduce the relative size of these fluctuations, but no finite trial count guarantees that every empirical bar will equal its theoretical value.

Does adding more simulated rolls change the actual probability of a dice total?

No. For an unchanged dice set, the theoretical probability of each total remains the same. Adding trials only changes the empirical evidence shown by the simulation. It generally produces more stable relative frequencies, although later rolls can still move an individual empirical bar either toward or away from its theoretical percentage.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools