Home · Statistics · Distributions & Sampling · Probability Distribution Calculator

Probability Distribution Calculator

The full summary of a discrete probability distribution given as paired values and probabilities: its mean (expected value), variance and standard deviation.

Your figures

Comma-separated values the variable can take

Comma-separated, paired with the values; must sum to 1

Example result — edit the figures to make it yours

1.7

Variance0.81
Standard deviation0.9

P(X = 0) = 10%P(X = 1) = 30%P(X = 2) = 40%P(X = 3) = 20% mean = 1.7 Mean (expected value) = 1.7000
The distribution for your figures, drawn from the same parameters as the calculation. The amber region is the probability the result reports — the area under the curve (or the highlighted bar) equals that percentage.

What this calculator does

The full summary of a discrete probability distribution given as paired values and probabilities: its mean (expected value), variance and standard deviation. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

E(X) = Σ x·p(x); Var(X) = Σ (x − E(X))²·p(x); SD = √Var(X)

This page treats the input as a complete discrete distribution: it reports the mean, variance and standard deviation of the whole distribution, with the mean E(X) as the headline result.

The two lists are paired position by position and must have the same length; the probabilities must sum to 1.

Variance is computed as E(X²) − E(X)², which is algebraically identical to averaging the squared deviations from the mean.

Worked example

With the example inputs this page opens with, the result is 1.7000. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — the worked example in full
FigureValue
Result1.7000
Variance0.81
Standard deviation0.9

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

What if my probabilities do not sum to 1?

Then the lists do not yet describe a valid distribution — some outcome is missing or a probability is mistyped. Check that every possible value is listed and the probabilities add to exactly 1.

What are the variance and standard deviation for the default distribution?

E(X) = 1.7 and E(X²) = 3.7, so Var(X) = 3.7 − 1.7² = 0.81 and the standard deviation is 0.9.

How does the Probability Distribution Calculator work?

The full summary of a discrete probability distribution given as paired values and probabilities: its mean (expected value), variance and standard deviation. Values x list · Probabilities p list → Mean E(X). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Probability Distribution Calculator need?

Values x list · Probabilities p list → Mean E(X). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.