Processed online by Toolvito
Probability Distribution Calculator
Choose a distribution, type its parameters and a value to get P(X ≤ x), P(X ≥ x), a probability between two values, or the value for a given probability (inverse), with the mean, variance and a graph of the area. Discrete answers come as exact fractions too, and every probability is checked a second way.
How to use it
- Choose the Distribution, such as Normal or Binomial, and type its parameters (for the normal distribution the mean μ and the standard deviation σ).
- Choose the Question: P(X ≤ x), P(X ≥ x), between two values, outside two values, exactly x, or the inverse (find x for a probability).
- Type the value x (and a second value for “between” and “outside”), or the probability for the inverse.
- Select Calculate. Read the probability, the mean and standard deviation, the steps and the checks. Download the report or the graph.
The distributions
- Normal (Gaussian, bell curve) with mean μ and standard deviation σ; σ = 1 and μ = 0 is the standard normal (z) distribution. Type a Sample size n to work with the mean of a sample (the sampling distribution of x̄, standard error σ/√n).
- Binomial (n trials, success probability p), Poisson (mean λ), geometric (trials until the first success), negative binomial (failures before the r-th success), hypergeometric (draws without replacement) and uniform whole numbers. Probabilities are sums of exact fractions, shown also as decimals, with a probability table. Binomial and Poisson answers also show the normal approximation with continuity correction (and the Poisson approximation of a binomial), with how far each is from the exact value.
- Student’s t, chi-square and F (degrees of freedom), exponential (rate λ), continuous uniform, gamma, beta, log-normal and Weibull.
- Your own table: type each value with its probability, such as 0, 0.1 on one line. The page says whether it is a valid probability distribution (every probability between 0 and 1, adding up to exactly 1), finds one missing probability typed as ?, and gives the mean (expected value), variance and standard deviation.
Worked example
IQ scores are normal with μ = 100 and σ = 15. P(X ≤ 130): z = (130 − 100)/15 = 2, and Φ(2) = 0.97725, so about 97.7 % of people score 130 or less. The inverse: the 97.5th percentile is 100 + 1.96 × 15 ≈ 129.4.
Checks and limits
- Every probability is computed a second way: discrete sums with exact fractions against SciPy, Poisson sums with 30-digit mpmath, continuous areas by numerical integration of the density, and inverse values put back into the cumulative distribution function.
- For a continuous distribution P(X = x) is 0; the page gives the density there instead.
- Binomial n up to 100,000. Not covered here: joint and conditional distributions of two variables, option pricing models and fitting a distribution to data.