Skip to content
Probability Calculator
Menu

Discrete Probability Distribution Calculator

Type a probability distribution table: each value of X and its probability. The calculator checks that it's valid and finds the mean, variance, standard deviation and cumulative probabilities.

Updated · exact formulas, double precision

Value (x)P(X = x)

Decimal, percent or fraction: 0.25, 25% or 1/4.

Mean μ = E(X)

1.7

Variance σ²
0.81
Standard deviation σ
0.9
Sum of probabilities
1
0123
xP(X = x)P(X ≤ x)
00.10.1
10.30.4
20.40.8
30.21

What makes a valid probability distribution

A table of values and probabilities is a valid discrete probability distribution when both of these are true:

  1. Every probability is between 0 and 1.
  2. The probabilities add up to exactly 1.

The calculator flags a table that breaks either rule. Values of X can be any numbers, including negatives and decimals.

Probability distribution table example

The number of heads X in three fair coin flips:

xP(X = x)x · P(x)
01/8 = 0.1250
13/8 = 0.3750.375
23/8 = 0.3750.75
31/8 = 0.1250.375

Mean μ = 0 + 0.375 + 0.75 + 0.375 = 1.5 heads. Variance σ² = Σ (x − 1.5)² · P(x) = 0.75, so the standard deviation is √0.75 ≈ 0.866. This particular distribution is binomial, and the binomial probability calculator gives the same numbers without typing the table.

Formulas

Common discrete distributions

Many probability models have a name and a formula, so you don't have to list every value. Counting successes in a fixed number of tries is binomial; counting events in a fixed time or space is Poisson; the total of several dice is on the dice probability calculator. When the outcomes carry money values, the expected value calculator does the same math with gains and losses.

Questions people ask

What is a discrete probability distribution?

Every possible value of a countable random variable with its probability. The probabilities are between 0 and 1 and add up to 1.

What is a probability mass function?

The PMF is P(X = x), the probability of each value. A distribution table is a PMF written as a table.

How do you find the mean of a discrete probability distribution?

μ = Σ x · P(x). Variance σ² = Σ (x − μ)² · P(x), and σ is its square root.

What is the difference between a probability mass function and a probability density function?

A PMF gives probabilities of exact values of a discrete variable. A PDF describes a continuous variable, where probabilities are areas under the curve; see the normal distribution calculator.

Sources

More probability calculators