Skip to content
Statculator

Probability Distribution Calculators

Free probability distribution calculators: binomial, Poisson, geometric, hypergeometric, exponential and more, with cumulative probabilities, mean and SD.

Open the Expected Value Calculator

Updated · Formulas and conventions follow our methodology

In short

A probability distribution calculator finds the probability of each possible value of a random variable, plus cumulative probabilities, the mean and the standard deviation. Pick the distribution that matches how your data arise: binomial, Poisson, geometric, negative binomial or hypergeometric for counts, exponential or uniform for measurements. Enter its parameters and the calculator returns exact, “at most”, “at least” and range probabilities with a chart and the steps.

Enter each outcome and its probability in the Expected Value Calculator to get the mean, variance and standard deviation of the distribution, with a probability chart and every step. For a named distribution such as the binomial or Poisson, pick its calculator below.

  • Mean (expected value) E(X)
  • Variance and standard deviation
  • E(X²) and sum-of-probabilities check
  • Most likely outcome
  • Probability chart
  • Step-by-step working
Open the Expected Value Calculator

All 9 probability distribution calculators

About probability distributions

The key step is matching the distribution to how the data arise. A fixed number of independent trials with the same success probability is binomial; drawing without replacement from a finite group is hypergeometric; counting trials until the first success is geometric, and until the r-th success negative binomial. Events occurring at a constant average rate in time or space follow a Poisson distribution, and the waiting time between such events is exponential. When every value in an interval is equally likely, the distribution is uniform. For bell-shaped measurements such as heights or test scores, use the Normal Distribution Calculator in Normal Distribution Calculators.

Each calculator here works as a probability distribution solver: it evaluates the probability function, the cumulative distribution function (the running total of probability up to a value) and the mean, variance and standard deviation, and it shows every step. If you have your own discrete probability distribution as a table of outcomes and probabilities, the Expected Value Calculator finds its mean and standard deviation directly.

Worked example: mean and standard deviation of a probability distribution

Problem. A store records the number of returned items per order, X. Its probability distribution is P(0) = 0.50, P(1) = 0.30, P(2) = 0.15 and P(3) = 0.05. Find the mean, variance and standard deviation of X, and P(X ≥ 2).

  1. 01Check the distribution is valid: every probability is between 0 and 1, and they sum to 1.
    0.50 + 0.30 + 0.15 + 0.05 = 1.00
  2. 02Mean (expected value): multiply each value by its probability and add.
    μ = Σ x·P(x) = 0(0.50) + 1(0.30) + 2(0.15) + 3(0.05) = 0.75
  3. 03Expected value of X²:
    E(X²) = 0(0.50) + 1(0.30) + 4(0.15) + 9(0.05) = 1.35
  4. 04Variance and standard deviation:
    σ² = E(X²) − μ² = 1.35 − 0.75² = 0.7875
    σ = √0.7875 ≈ 0.887
  5. 05Cumulative probability: add the probabilities of the values that qualify.
    P(X ≥ 2) = P(2) + P(3) = 0.15 + 0.05 = 0.20

Answer. μ = 0.75 returned items per order, σ² = 0.7875, σ ≈ 0.887, and 20% of orders have two or more returns. Enter the same table in the Expected Value Calculator to check it.

How to calculate a probability distribution

  1. Define the random variable. Say exactly what X counts or measures, for example “the number of defective parts in a sample of 10”.
  2. Choose the distribution. Fixed trials with a constant success probability point to the binomial, a rate per interval to the Poisson, draws without replacement to the hypergeometric. The chooser table below covers every case.
  3. Enter the parameters. For a binomial that is n (trials) and p (success probability); for a Poisson it is the average rate λ; for an exponential it is λ or the mean.
  4. Pick the probability you need. “Exactly k” is P(X = k), “at most k” is P(X ≤ k), “at least k” is P(X ≥ k) = 1 − P(X ≤ k − 1), and “between” is a range.
  5. Read and check the result. With n = 10 and p = 0.2, P(X ≤ 2) = 0.1074 + 0.2684 + 0.3020 = 0.6778. The probabilities of all possible values must add up to 1, and the mean should sit near the peak of the chart.

Which probability distribution calculator should I use?

If you want to…Use
If you count successes in a fixed number of independent trials with the same probability
If you count events in a fixed interval of time or space at a known average rate
If you want the probability that the first success comes on a given trial
If you want the trial on which the r-th success occurs, or the failures before it
If you draw without replacement from a finite population, such as cards or an inspection lot
If you model the waiting time until the next event
If you have a range in which every value is equally likely
If your measurements are bell-shaped and you know the mean and standard deviation
If you want a normal approximation to a binomial probability when n is large
If you have your own table of outcomes and their probabilities

Discrete vs continuous distributions: PMF, PDF and CDF

A discrete distribution has countable values (0, 1, 2, …). Its probability mass function (PMF) gives P(X = k) directly, and the probabilities of all values sum to 1. The binomial, Poisson, geometric, negative binomial and hypergeometric distributions are discrete, and on a calculator they correspond to functions such as binompdf and poissonpdf.

A continuous distribution can take any value in an interval. Its probability density function (PDF) is a curve, not a probability: P(X = x) is 0 for any single value, and probabilities are areas under the curve, so P(X ≤ x) and P(X < x) are equal. The exponential, uniform and normal distributions are continuous.

Both kinds share the cumulative distribution function (CDF), F(x) = P(X ≤ x), the running total of probability up to x. A cumulative probability calculator evaluates the CDF; binomcdf and poissoncdf are the discrete versions. Every calculator on this page reports the cumulative probability alongside the exact one.

Probability distribution formulas: mean, variance and standard deviation

DistributionP(X = k) or densityMean and variance
Binomial (n, p)C(n, k) pᵏ (1 − p)ⁿ⁻ᵏμ = np, σ² = np(1 − p)
Poisson (λ)e^(−λ) λᵏ / k!μ = λ, σ² = λ
Geometric (p), trial of first success(1 − p)ᵏ⁻¹ p, k = 1, 2, …μ = 1/p, σ² = (1 − p)/p²
Negative binomial (r, p), trial of r-th successC(k − 1, r − 1) pʳ (1 − p)ᵏ⁻ʳμ = r/p, σ² = r(1 − p)/p²
Hypergeometric (N, K, n)C(K, k) C(N − K, n − k) / C(N, n)μ = nK/N, σ² = n(K/N)(1 − K/N)(N − n)/(N − 1)
Exponential (λ)f(x) = λe^(−λx), x ≥ 0μ = 1/λ, σ² = 1/λ²
Continuous uniform (a, b)f(x) = 1/(b − a), a ≤ x ≤ bμ = (a + b)/2, σ² = (b − a)²/12
Any discrete variableE(X) = Σ xᵢ P(xᵢ)σ² = Σ (xᵢ − μ)² P(xᵢ); σ = √σ²

Frequently asked questions

How do I calculate a probability distribution?

Define the random variable, choose the distribution that matches how the data arise, and enter its parameters, such as n and p for a binomial or λ for a Poisson. Then evaluate the probability of each value with the distribution’s formula. For a table you built yourself, check that every probability is between 0 and 1 and that they add up to 1.

How do I find the mean and standard deviation of a probability distribution?

For a discrete distribution, the mean is μ = Σ x·P(x), the variance is σ² = Σ x²·P(x) − μ², and the standard deviation is σ = √σ². Named distributions have shortcuts, such as μ = np and σ² = np(1 − p) for the binomial. The Expected Value Calculator does this for any table of outcomes and probabilities.

How do I choose between the binomial and Poisson distributions?

Use the binomial when there is a fixed number of trials n, each a success or failure with the same probability p. Use the Poisson when you count events over a continuous interval of time or space with no fixed upper limit, given an average rate λ. When n is large and p is small, the Poisson with λ = np closely approximates the binomial.

What is the difference between the binomial and hypergeometric distributions?

Both count successes in n draws, but the binomial assumes the success probability stays the same on every draw, as with replacement. The hypergeometric applies when you draw without replacement from a finite population, so each draw changes the odds for the next. If the sample is under about 5% of the population, the two give nearly identical results.

How do I calculate an “at least” probability?

Use the complement: P(X ≥ k) = 1 − P(X ≤ k − 1) for a discrete variable. For example, with 10 fair coin flips, P(at least 8 heads) = 1 − P(X ≤ 7) = 0.0547. For continuous distributions, P(X ≥ x) and P(X > x) are equal.

What is a cumulative probability?

A cumulative probability is the chance that a random variable is at or below a value, P(X ≤ x), given by the cumulative distribution function. For a discrete distribution it is the sum of the probabilities up to and including x; for a continuous one it is the area under the density curve to the left of x. For example, a Poisson variable with λ = 3 has P(X ≤ 2) = 0.4232.

When can I use the normal approximation to the binomial?

A common rule is that both np and n(1 − p) should be at least 10, although some textbooks use 5. Apply a continuity correction of 0.5, for example P(X ≤ 7) becomes P(Y < 7.5) for the normal variable Y. With modern calculators the exact Binomial Distribution Calculator is always available, so the approximation is mainly for learning and quick estimates.

What is the memoryless property?

A distribution is memoryless when the time already waited does not change the distribution of the remaining wait: P(X > s + t | X > s) = P(X > t). The exponential distribution is the only continuous distribution with this property, and the geometric distribution is its discrete counterpart. It suits events such as random arrivals, but not components that wear out with age.

Looking for something else? See all calculators or search the site.