Probability Distribution Calculator
Normal · Exponential · Uniform · Student's t · Chi-squared
Compute PDF, CDF, and quantiles for five continuous distributions. Interactive density curve with shaded probability region.
Select Distribution
Quick Examples
Query Mode
Density Curve
Formulas
PDF Density Curve
Displaying the probability density function for the current distribution and parameters. Run a calculation first to see the shaded query region.
Select a distribution and run a calculation to populate the chart.
CDF Value Table
CDF values F(x) = P(X ≤ x) for the currently selected distribution and parameters.
| x | PDF f(x) | CDF F(x) | P(X > x) |
|---|---|---|---|
| Select a distribution and run a calculation. | |||
What Is a Probability Distribution?
A probability distribution is a mathematical description of the likelihood of each possible outcome of a random variable. When a random variable is continuous — capable of taking any value within a range — we describe it using a probability density function (PDF). Unlike discrete distributions (binomial, Poisson), which assign probabilities to individual outcomes, continuous distributions assign probabilities to intervals, calculated as the area under the PDF curve.
Understanding probability distributions is foundational in statistics, data science, machine learning, engineering, finance, and natural sciences. Every time you see a confidence interval, a p-value, or a hypothesis test, there is a distribution working behind the scenes.
Discrete vs. Continuous Distributions
A discrete distribution (binomial, Poisson, geometric) has a probability mass function (PMF) that assigns non-zero probability to specific integer values. For example, the number of heads in 10 coin flips can only be 0, 1, 2, ..., 10.
A continuous distribution can take any value in an interval or on the entire real line. The probability that a continuous variable equals any single exact value is zero — what matters is the probability over a range. This calculator focuses on five widely used continuous distributions.
PDF vs. CDF vs. Quantile Function
| Concept | Notation | Definition |
|---|---|---|
| f(x) | Density at x; area under curve = 1 | |
| CDF | F(x) = P(X ≤ x) | Cumulative probability up to x |
| Survival | S(x) = 1 − F(x) | Probability of exceeding x |
| Quantile | Q(p) = F−¹(p) | x such that P(X ≤ x) = p |
The Five Continuous Distributions Covered
Normal Distribution N(μ, σ²)
The normal (Gaussian) distribution is the most important distribution in statistics. Its symmetric bell-shaped curve is characterized by mean μ and standard deviation σ. The Central Limit Theorem guarantees that sums of many independent random variables converge to normality, making it applicable to measurement errors, heights, weights, test scores, and financial returns.
Exponential Distribution Exp(λ)
The exponential distribution models the waiting time between events in a Poisson process. With rate parameter λ, the mean waiting time is 1/λ. Its defining property is memorylessness: given that you have already waited t units, the distribution of additional waiting time is the same as the original. Used extensively in reliability engineering, queuing theory, and survival analysis.
Uniform Distribution U(a, b)
The uniform distribution assigns equal probability density to all values between a and b. It is the simplest continuous distribution — flat PDF, linear CDF. Used for random number generation, modeling outcomes where all values are equally likely (e.g., random point on a line segment), and as a prior in Bayesian statistics.
Student's t-Distribution t(ν)
The Student's t-distribution, introduced by William Gosset (pen name "Student") in 1908, is bell-shaped like the normal but with heavier tails controlled by degrees of freedom ν. It is used when estimating population means with small samples. As ν → ∞, t(ν) converges to N(0,1). Critical for t-tests, confidence intervals, and regression inference.
Chi-squared Distribution χ²(ν)
The chi-squared distribution with ν degrees of freedom is the sum of squares of ν independent standard normal variables. It is right-skewed and non-negative. Key applications include goodness-of-fit tests, tests of independence in contingency tables, and confidence intervals for population variance. As ν increases, it approaches a normal distribution by the CLT.
Connection to p-Values and Hypothesis Testing
A p-value is the tail probability from a test statistic under the null hypothesis. For a Z-test, the p-value is P(|Z| ≥ zobs) using the normal distribution. For a t-test with ν degrees of freedom, it is P(|t| ≥ tobs) using the t-distribution. For a chi-squared test with ν degrees of freedom, it is P(χ² ≥ χ²obs) using the chi-squared distribution. This calculator computes all of these directly.
Distribution Summary Table
| Distribution | Parameters | Mean | Variance | Use Case |
|---|---|---|---|---|
| Normal | μ, σ | μ | σ² | Natural measurements, CLT |
| Exponential | λ | 1/λ | 1/λ² | Waiting times, reliability |
| Uniform | a, b | (a+b)/2 | (b−a)²/12 | Equal-likelihood outcomes |
| Student's t | ν | 0 (ν>1) | ν/(ν−2) (ν>2) | Small-sample inference |
| Chi-squared | ν | ν | 2ν | Hypothesis tests, variance |