Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Dice probability calculator

Choose the number of dice, sides and target sum. The calculator computes the exact distribution and compares it with a reproducible roll simulation.

The same seed reproduces the same experiment.

Selected probability: —

Fill in the fields above — the result is computed on this page.

P(S = t)
—
P(S ≤ t)
—
P(S ≥ t)
—
Mean sum
—
Sum variance
—
Sum standard deviation
—
Outcomes sᵈ
—
Simulation trials
—
Simulated P(S = t)
—

Theoretical and simulated distribution

The line is the exact probability and the bars show the simulation for the same dice.

Sum distribution

Sum Probability Simulated frequency
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • The sum distribution is symmetric around d(s+1)/2.
  • Adding dice expands the range and concentrates results around the mean.

The model assumes fair dice with equal numbers of sides and independent rolls.

How do I use this page?
  1. Choose exact, at most or at least.
  2. Enter the dice and side counts.
  3. Enter a possible target sum.

What this page does not do: The model assumes fair dice with equal numbers of sides and independent rolls.

Further reading

Theory — why aren't all dice sums equally likely?

The calculator lets you set the number of dice, the number of sides and a target sum, then computes the exact probability distribution and compares it with a simulated series of rolls. Every ordered outcome of d independent dice has the same probability of 1/sᵈ, but different sums arise from different numbers of such ordered outcomes, which is why they are not equally likely. The simulation shows the natural random error of a single run, and more trials bring the result closer to the theoretical distribution.

Frequently asked questions

Why are sums not equally likely?
Different numbers of ordered dice outcomes produce each sum.
Does it work for d20 dice?
Yes. Set 20 sides; all dice in one calculation must be identical.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.