Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

Probability Distributions




Modeling Random Phenomena


Probability is about uncertainty, but uncertainty alone is not enough to work mathematically. To reason, compare, and make predictions, we need a way to describe how uncertainty is structured. Probability distributions provide that structure.

Distributions sit at the core of probability theory and statistics. They organize random behavior into well-defined mathematical forms, allowing different random phenomena to be compared, analyzed, and modeled in a unified way. Whether outcomes are counted or measured, rare or frequent, symmetric or skewed, distributions give probability its shape.

This page serves as a conceptual map of probability distributions. It explains how distributions fit into probability theory, how they relate to random variables, and how the major categories of distributions are organized. Specific distribution families and formulas are explored on their own pages; here, the focus is on the ideas that tie them all together.


Key Terms

Discrete Random Variable— a random variable with countable range
Continuous Random Variable— a random variable taking values in an interval
Probability Mass Function— pX(x)=P(X=x)p_X(x) = P(X = x), describes discrete distributions
Probability Density Function— fX(x)f_X(x), describes continuous distributions
Cumulative Distribution Function— FX(x)=P(X≤x)F_X(x) = P(X \leq x), defined for all distributions
Expected Value— E[X]E[X], a key summary of any distribution
Variance— Var⁡(X)\operatorname{Var}(X), the spread of any distribution

See All Probability Definitions →



What a Probability Distribution Is

Roll two dice and add them. Some totals turn up far more often than others.
A 77 is common; a 22 or a 1212 is rare. Knowing which totals are possible says little — what matters is how the probability is shared out among them.
Counting the 36 equally likely rolls gives every total its probability.
total of two diceways out of 36probability
2 or 121 each1/36 each
3 or 112 each2/36 each
4 or 103 each3/36 each
5 or 94 each4/36 each
6 or 85 each5/36 each
766/36 — the most likely
The probabilities add up to 3636=1\frac{36}{36} = 1. Any question about the total — say, "at least 1010" — is answered by adding rows: 3+2+136=16\frac{3 + 2 + 1}{36} = \frac{1}{6}.
A full description lists every possible value together with its probability.
That list says everything there is to know about the random total, without mentioning the dice at all.
The definition
The probability distribution of a random variable assigns probabilities to its possible values: it says how the total probability 11 is shared out among them.
A probability distribution is a mathematical model that assigns probabilities to the possible values of a random variable, thereby encoding the structure of uncertainty associated with a random process. It provides the complete probabilistic characterization of a random phenomenon, specifying not just what outcomes can occur, but how probability is allocated across them.
Formally, given a probability space (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P}) and a random variable X:Ω→RX : \Omega \to \mathbb{R}, the probability distribution of XX is the probability measure induced by XX on the measurable subsets of R\mathbb{R}, defined by
What a Probability Distribution Is
PX(A)=P(X∈A)\mathbb{P}_X(A) = \mathbb{P}(X \in A)
for all measurable sets AA. This induced measure encapsulates all probabilistic information about XX and serves as the primary object of analysis in statistical inference and probabilistic modeling.
So the distribution of the total of two dice gives 636\frac{6}{36} to 77, 136\frac{1}{36} to 22 and to 1212, and so on, as in the table.
A distribution describes how a random variable behaves, not any single outcome.
The relationship between random variable and distribution is foundational. A random variable is a function that maps outcomes from the sample space to real numbers—it translates abstract events into measurable quantities. The distribution captures how probability flows through this mapping. While the random variable provides the mechanism for quantification, the distribution describes the probabilistic behavior of those quantities. Two random variables defined on different probability spaces may share the same distribution if they exhibit identical probabilistic structure, making the distribution the essential mathematical object for analysis.
The distribution functions as a model that captures the regularities of randomness in quantitative form. It abstracts from individual realizations and describes the law governing the occurrence of outcomes. Distributions provide the foundation for defining expectation, variance, moments, and limit theorems, forming the central organizing concept of probability theory.
A distribution records how likely each value of a variable is and forgets which outcomes produced it.
Different experiments can lead to the same distribution.
Two spinners with sectors 11 to 66 give totals with exactly the dice's distribution, although no dice are involved. The two broad kinds of distribution are set out in 2 basic types of distributions.
The rest of the page covers notation, the two basic types of distributions, discrete and continuous distributions, and the probability function.

Distribution Notation

Notation

Distribution Notation

Every child page in this section declares its family with the same few marks. This hub owns the shared machinery: the formal triple behind the word "distribution", the measure that is the distribution once it becomes a single object, the sign that says two variables share one law, and the family-declaration convention whose parameter slots quietly shift meaning between sources. All of them are catalogued among the probability symbols.
Ω\Omega and the outcome letters come from sample space notation; the signature X:Ω→RX : \Omega \to \mathbb{R} and the declaration tilde from random variable notation; plain P(⋅)P(\cdot) and the event letters from the probability function; FXF_X from CDF notation; the parameters μ\mu and σ2\sigma^2 from expected value and variance notation.
(Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P})
omega, script F, P — the probability space
The standing preamble of formal probability — "let (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P}) be a probability space" — three fonts carrying three roles: the outcome set, the collection of events allowed to receive probabilities (the σ-algebra), and the measure that assigns them. What a Probability Distribution Is above opens with exactly this triple.
CasesCalligraphic F\mathcal{F} — also A\mathcal{A} or Σ\Sigma by text — marks a collection of sets, one level up from the sets themselves; blackboard P\mathbb{P} is the formal register of the plain PP from the probability function: measure-theory texts blackboard it, elementary texts do not, and the object is the same.
Do not confuseThe CDF's letter. Script F\mathcal{F} is a family of events; italic FXF_X is the cumulative distribution function — the same letter working two jobs on this very page, told apart by font alone.
PX(A)=P(X∈A)\mathbb{P}_X(A) = \mathbb{P}(X \in A)
P sub X — the distribution of X, as a measure
The page's central object in one line: the subscript names whose distribution, and the defining equation moves probability from outcomes to values — the derivation What a Probability Distribution Is above spells out. This is "the distribution" once it stops being a table or a curve and becomes a single object.
Also writtenPXP_X without the blackboard; Law⁡(X)\operatorname{Law}(X) or L(X)\mathcal{L}(X) in advanced texts; measure-theory books write the induced measure as μX\mu_X — a collision worth knowing, since probability reserves μ\mu for the mean.
Do not confuseThe function that represents it. The measure PX\mathbb{P}_X is the distribution itself; the pmf, pdf and CDF are three interchangeable descriptions of it — which is why the page can say every distribution has a CDF without saying every distribution is one.
X=dYX \overset{d}{=} Y
X equals Y in distribution
Same law, not same values: the dd rides the equality sign to mark which kind of sameness is claimed — one mark for the body's observation that variables on different spaces may share a distribution.
CasesThe moving version is Xn→dXX_n \xrightarrow{d} X, convergence in distribution — the mode of convergence the central limit theorem is stated in; some texts write =D\overset{\mathcal{D}}{=}, or put a tilde between two variables.
Do not confusePlain X=YX = Y, equality as functions on Ω\Omega. Two independent fair dice are equal in distribution and usually differ in value — the unmarked equals sign makes the far stronger claim.
X∼N(μ,σ2)X \sim N(\mu, \sigma^2)
X is distributed normal with mean mu and variance sigma squared
The tilde hands a variable to a named family: a capitalized code — NN, Bin⁡\operatorname{Bin}, Pois⁡\operatorname{Pois}, Exp⁡\operatorname{Exp}, UU — followed by a parameter list. Each family's own marks live on its page: Binomial, Geometric, Normal, Exponential.
CasesThe parameter slots are the minefield the tilde entry points here about: N(μ,σ2)N(\mu, \sigma^2) carries the variance in most textbooks but N(μ,σ)N(\mu, \sigma) the standard deviation in much software; Exp⁡(λ)\operatorname{Exp}(\lambda) is a rate in most texts and a mean in others; the Geometric counts trials from one or failures from zero by source. The family name never settles its own second slot — check the convention before reading any parameter positionally.
Do not confuseA function call. N(μ,σ2)N(\mu, \sigma^2) computes nothing — it names a member of a family; the parenthesis holds a label's arguments, not an evaluation.
DownloadPNG2×PDF
Notation · Cheat sheet
Distribution Notation at a Glance
The marks from the notation cards across the distribution pages: how each is read and what it means. Every group links to the full card on its page.
DistributionsThis page
(Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P})
a probability space
Outcomes, events, and the probability measure.
PX(A)\mathbb{P}_X(A)
the distribution of X
Equals P(X∈A)\mathbb{P}(X \in A).
X=dYX \overset{d}{=} Y
equal in distribution
Same law, not necessarily the same values.
Binomial
X∼Bin⁡(n,p)X \sim \operatorname{Bin}(n, p)
binomial, n trials, p
The number of successes in nn independent trials.
q=1−pq = 1 - p
q, the failure probability
An abbreviation, not a new parameter.
Geometric
Geom⁡(p)\operatorname{Geom}(p)
geometric with p
Two conventions: count trials, or count failures.
qk−1pq^{k-1}p vs qkpq^k p
the two pmfs
The exponent shows which convention is in use.
Negative binomial
NB⁡(r,p)\operatorname{NB}(r, p)
negative binomial
Trials until the rr-th success.
k=r,r+1,…k = r, r{+}1, \ldots
the support starts at r
Fewer trials cannot hold rr successes.
Hypergeometric
Hyp⁡(N,K,n)\operatorname{Hyp}(N, K, n)
hypergeometric
Population NN with KK successes; nn draws without replacement.
(Kk)(N−Kn−k)(Nn)\frac{\binom{K}{k}\binom{N-K}{n-k}}{\binom{N}{n}}
the pmf
Successes chosen, failures chosen, over all samples.
Poisson
Pois⁡(λ)\operatorname{Pois}(\lambda)
Poisson with rate lambda
Counts of events in a window.
λ\lambda
lambda
The expected count per window; it depends on the window size.
Discrete uniform
DU⁡(a,b)\operatorname{DU}(a, b)
discrete uniform
Each integer from aa to bb equally likely.
1b−a+1\frac{1}{b - a + 1}
one over the count
The +1+1 counts both endpoints.
Continuous uniform
X∼U(a,b)X \sim U(a, b)
uniform from a to b
The slots are the endpoints, not a centre and a spread.
1b−a\frac{1}{b - a}
one over the width
A flat density; no +1+1 here.
Exponential
Exp⁡(λ)\operatorname{Exp}(\lambda)
exponential with rate lambda
Some books put the scale β=1λ\beta = \frac{1}{\lambda} in the slot.
P(X>x)=e−λxP(X > x) = e^{-\lambda x}
the survival tail
The chance of waiting longer than xx.
Normal
N(μ,σ2)N(\mu, \sigma^2)
normal, mean mu
Second slot: usually the variance; some texts use σ\sigma.
Z∼N(0,1)Z \sim N(0, 1)
capital Z, standard normal
A score z=x−μσz = \frac{x - \mu}{\sigma} counts standard deviations.
φ(z),  Φ(z)\varphi(z), \; \Phi(z)
phi; capital Phi
The standard normal density and its CDF.
Same marks, different job
N(μ,σ2)N(\mu, \sigma^2)Check whether the second slot is the variance or the standard deviation.
Exp⁡(λ)\operatorname{Exp}(\lambda)Rate or scale: the two readings give means 1λ\frac{1}{\lambda} and λ\lambda.
U(a,b)U(a, b) vs DU⁡(a,b)\operatorname{DU}(a, b)Width b−ab - a against a count of b−a+1b - a + 1 values.
Φ\Phi vs φ\varphiCapital is the CDF, lowercase the density.
Distribution Notation at a Glance·/probability/distributionsLearn Math Class

What All Distributions Have in Common


Despite their diversity, all probability distributions share fundamental structural properties.

Every distribution assigns probabilities through a probability function—either a probability mass function (PMF) for discrete variables or a probability density function (PDF) for continuous variables. These functions encode how probability is distributed across the support.

Every distribution has a cumulative distribution function (CDF), defined as FX(x)=P(X≤x)F_X(x) = \mathbb{P}(X \leq x). The CDF completely characterizes the distribution and exists for every random variable, whether discrete or continuous.

The support is the set of values where the distribution assigns positive probability or density. It defines what outcomes are possible under the model.

Distributions are determined by parameters—numerical constants that specify a particular member of a distribution family. Parameters control location (such as μ\mu), scale (such as σ\sigma), or shape.

All distributions have an expected value (mean), provided the integral or sum E[X]\mathbb{E}[X] exists and is finite.

Similarly, variance Var(X)=E[(X−μ)2]\text{Var}(X) = \mathbb{E}[(X - \mu)^2] measures dispersion when it exists.

Not all distributions have finite moments—the Cauchy distribution, for instance, has no finite mean.

Fact: All moments agree, densities differ
If ln⁡X\ln X is standard normal, the density ff of XX and the wavy density f(x) (1+sin⁡(2πln⁡x))f(x)\,(1 + \sin(2\pi \ln x)) give the same E[Xk]\mathbb{E}[X^k] for every whole number kk. Putting x=etx = e^t, the wave adds ek2/2−2π2sin⁡(2πk)=0e^{k^2/2 - 2\pi^2} \sin(2\pi k) = 0 to each moment (Heyde, 1963).

Distributions can be characterized by moment generating functions or characteristic functions, which encode all moments when they exist and provide tools for deriving distributional properties.

Moments make a long list of numbers: E[X]\mathbb{E}[X], E[X2]\mathbb{E}[X^2], E[X3]\mathbb{E}[X^3], and so on without end. It is natural to read this list as a full fingerprint of the distribution, so that two distributions with the same moments would have to be the same distribution. For a variable confined to a bounded interval, such as [0,1][0, 1], that reading is correct. A variable whose values can grow without limit, such as a waiting time or an income, is a different matter.

Fundamental Properties and Components of Probability Distributions

ComponentDescriptionExpressionScopeRole
Probability Function (PMF/PDF)Assigns probabilities across the support via mass (discrete) or density (continuous) functions.f(x)f(x)Discrete (PMF) or Continuous (PDF)Encodes how probability is distributed across the support.
Cumulative Distribution Function (CDF)The probability that a random variable is less than or equal to a specific value.FX(x)=P(X≤x)F_X(x) = P(X \leq x)Discrete and ContinuousCompletely characterizes the distribution.
SupportThe set of values where the distribution assigns positive probability or density.{x∣f(x)>0}\{x \mid f(x) > 0\}Discrete and ContinuousDefines possible outcomes under the model.
ParametersNumerical constants that specify a particular member of a distribution family.μ,σ\mu, \sigmaDiscrete and ContinuousControl location, scale, or shape of the distribution.
Expected Value (Mean)The long-term average value of the random variable.E[X]E[X]Discrete and ContinuousDetermines the center of the distribution if the sum/integral is finite.
VarianceA measure of the dispersion or spread of the distribution.Var(X)=E[(X−μ)2]Var(X) = E[(X - \mu)^2]Discrete and ContinuousMeasures dispersion when it exists.
Moment Generating FunctionsFunctions used to encode all moments and derive distributional properties.MX(t)=E[etX]M_X(t) = E[e^{tX}]Discrete and ContinuousProvides tools for deriving properties and encoding moments.
Every distribution has a CDF that fixes it completely; moments only summarize it, and may not even exist.

2 Basic Types of Distributions

Fact: Neither discrete nor continuous
At a light that is red for 60 seconds and green for 60, a driver arriving at a random moment waits exactly 00 seconds with probability 12\frac{1}{2}, and otherwise any time up to 6060 seconds, spread evenly. One value carries positive probability, so the wait is not continuous; the other values fill an interval, so it is not discrete either.

Probability distributions are mathematical models that quantify how likely different outcomes are when dealing with uncertainty and randomness. These powerful tools allow us to systematically describe and predict the behavior of random phenomena across countless real-world scenarios. They fall into two fundamental categories: discrete distributions deal with countable outcomes (like number of successes, coin flips, or defective items), while continuous distributions handle measurable quantities that can take any value within a range (like height, time, or temperature). The key difference lies in whether you can list all possible outcomes (discrete) or whether outcomes form an unbroken continuum (continuous).

2 Basic Types of Distributions Discrete Distribution Countable Outcomes Examples: • Coin flips • Dice rolls • Number of defects Continuous Distribution Measurable Values Examples: • Height • Temperature • Time • Weight Discrete = Countable | Continuous = Unbroken Range

Within each of these two fundamental categories, distributions are further divided into several groups based on the specific scenarios they model. Discrete distributions branch into various types designed for different counting situations—from equal-probability outcomes to success-trial patterns to rare event modeling. Continuous distributions similarly divide into specialized forms that describe different real-world phenomena, ranging from uniform spreads across intervals to bell-shaped patterns to asymmetric waiting-time behaviors.

Probability Distributions

Discrete Distributions

Discrete Uniform:
Equal probability for finite outcomes
Binomial:
Successes in n trials with probability p each
Geometric:
Trials until first success (probability p)
Negative Binomial:
Trials until r-th success (generalization of geometric)
Hypergeometric:
Sampling without replacement from finite population
Poisson:
Rare events over time interval (rate λ)
VS

Continuous Distributions

Uniform:
Equal likelihood over interval [a,b]
Normal:
Bell curve with mean μ and variance σ²
Exponential:
Waiting time between events (rate λ)
Gamma:
Waiting time until k-th event (shape, rate)
Beta:
Random proportions on [0,1] (shape parameters α,β)
Chi-Square:
Sum of squared normal variables (degrees of freedom ν)
Understanding these distributions is essential for statistical modeling, hypothesis testing, and making predictions about uncertain events. Each distribution has specific scenarios where it naturally applies - choosing the right one depends on the nature of your data and the underlying process generating it. Master these fundamentals, and you'll have the foundation for advanced statistical analysis and data science applications.

Discrete Distributions

Reminder:Random Variable is a function that maps each fundamental outcome of a probabilistic experiment to a real number.
Discrete Random Variable is a random variable whose set of attainable values is either a finite collection or a countably infinite list.
And finally, the term discrete distribution simply refers to the probability distribution that assigns probabilities to each possible value of a discrete random variable.
There are six classic discrete distributions—uniform, binomial, geometric, Poisson, negative binomial and hypergeometric—each distinguished by the structure of trials or sampling they model (e.g. fixed number of trials vs. waiting time, constant‐rate events, or draws with/without replacement). They differ in their support and key parameters—such as the number of trials nn, success probability pp, event rate λ\lambda, target successes rr, or population size NN.


Common Discrete Distributions

TypeDescriptionExamples
Discrete UniformEvery outcome in a finite set has exactly the same probability—complete symmetry across the support.Roll of a fair six-sided die; drawing one card at random from a deck
BinomialCounts the number of successes in a fixed number nn of independent Bernoulli(pp) trials; probability varies with the count of successes.Number of heads in 10 coin flips; number of defective items in 20 manufactured parts
GeometricMeasures how many trials are needed until the first success in independent Bernoulli(pp) trials; has the memoryless property.Tossing a coin repeatedly until the first head appears; number of attempts before a free-throw is made
Negative BinomialGeneralizes the geometric to count trials until the rrth success in Bernoulli(pp) trials; allows modeling multiple required successes.Number of coin tosses until 5 heads occur; calls made until 3 sales are closed
HypergeometricCounts successes in a sample drawn without replacement from a finite population; trials are dependent and probabilities change with each draw.Drawing 5 cards from a 52-card deck and counting aces; selecting defective items from a batch without replacement
PoissonModels the count of rare, independent events occurring in a fixed interval at average rate λ\lambda; arises as a limit of the binomial with small pp.Number of emails received per hour; calls arriving at a call center per minute

Pitfall: Treating draws without replacement as binomial
Using the binomial for draws without replacement gives every draw the same chance of success. For 22 items from a batch of 1010 with 33 defective, it puts P(both defective)=0.32=0.09P(\text{both defective}) = 0.3^2 = 0.09; the hypergeometric gives (32)(102)=345≈0.067\frac{\binom{3}{2}}{\binom{10}{2}} = \frac{3}{45} \approx 0.067.

Understanding which distribution fits a given scenario is key to solving probability problems correctly. Each type has its own signature—whether you're counting successes in a fixed number of trials, waiting for events to happen, or sampling from a limited population. Just as importantly, each distribution comes with ready-made formulas for mean and variance that would be extremely difficult (or impossible) to derive from scratch every time you need them. Recognizing these patterns lets you pick the right tool and set up your calculations with confidence.
Learn More

Continuous Distributions

Reminder:Random Variable is a function that maps each fundamental outcome of a probabilistic experiment to a real number.
A Continuous Random Variable is a random variable that can take on any value within an interval or collection of intervals on the real line—its possible values form an uncountable set. Instead of assigning probabilities to individual points, a continuous distribution uses a probability density function (PDF) to describe the relative likelihood of values, with probabilities determined by integrating the density over intervals.
Common continuous distributions include the uniform, normal, exponential, gamma, beta, and chi-square distributions, among others—each characterized by different underlying phenomena they model, such as equal likelihood over an interval, bell-shaped symmetry around a mean, waiting times between events, or distributions arising from transformations of other random variables. They vary in their support (the range of possible values) and the parameters that control their shape and behavior.

Common Continuous Distributions

TypeDescriptionExamples
Continuous UniformEvery value in the interval [a,b][a,b] has equal probability density—complete symmetry across the support.Random angle between 0° and 360°; arrival time uniformly distributed within an hour
Normal (Gaussian)Bell-shaped distribution symmetric around mean μ\mu with spread controlled by variance σ2\sigma^2; arises from the Central Limit Theorem.Heights of adult humans; measurement errors in scientific instruments; test scores
ExponentialModels the waiting time between independent events occurring at constant rate λ\lambda; has the memoryless property.Time between arrivals at a queue; lifespan of a radioactive particle; time until next phone call
GammaGeneralizes the exponential to model the waiting time until the kkth event at rate λ\lambda; uses shape parameter kk and rate parameter λ\lambda.Time until kk customers arrive; total rainfall accumulation; time to complete multiple tasks
BetaModels random proportions or probabilities on [0,1][0,1] with shape parameters α\alpha and β\beta; flexible family for bounded continuous variables.Proportion of defective items in a batch; click-through rate; task completion percentage
Chi-SquareDistribution of the sum of ν\nu squared independent standard normal variables; used in hypothesis testing and confidence intervals.Goodness-of-fit test statistic; sample variance of normal data; test of independence in contingency tables
Identifying the appropriate continuous distribution for a problem is essential for accurate probabilistic modeling and analysis. The key lies in recognizing the underlying structure—whether you're dealing with measurements that cluster symmetrically around a center, modeling time until an event occurs, working with proportions bounded between zero and one, or analyzing variables constructed from other random quantities. Each distribution provides established formulas for expected values, variances, and other properties that capture its essential behavior, sparing you from complex integrations each time. Mastering these characteristic patterns enables you to select the right framework and approach your analysis with clarity.
Learn More

Probability Function

In probability theory, every random process is ultimately described by a rule that assigns probabilities to possible outcomes. This rule is known as a probability function.

A probability function is the basic rule that assigns probabilities to the outcomes of a random experiment. It translates uncertainty into a precise mathematical structure by specifying how likely each possible value of a random variable is.

This concept exists independently of any named distribution. In simple or irregular situations, the probability function may not follow a standard form, but it still governs how probabilities are assigned. When the underlying rule has a clear, organized pattern, it becomes possible to describe it through familiar distribution families such as Binomial, Poisson, or Normal. In those cases, the probability function takes on specific forms: a probability mass function for discrete variables or a probability density function for continuous variables.

For discrete random variables, this rule appears as a probability mass function (PMF), which specifies the probability of each individual value. For continuous variables, the rule takes the form of a probability density function (PDF), which describes how probability is distributed across an interval. Although they behave differently, both PMFs and PDFs serve the same fundamental role: they encode the entire structure of the random phenomenon.

Pitfall: Reading a density as a probability
Taking f(x)f(x) as P(X=x)P(X = x) breaks down for XX uniform on [0,0.5][0, 0.5], where f(x)=2f(x) = 2 and no probability can exceed 11. A single value has probability 00; an interval gets the area under the curve, so P(0≤X≤0.25)=2⋅0.25=0.5P(0 \le X \le 0.25) = 2 \cdot 0.25 = 0.5.

The difference shows up as soon as a value is read off a graph. A PMF is drawn as separate bars standing at the possible values, while a PDF is drawn as a curve over an interval, and both graphs have a height at every point of interest. What that height means is not the same in the two cases.
Probability Function: The General Concept Probability Function Mathematical rule that assigns probabilities Specific implementations based on variable type For discrete variables For continuous variables PMF Probability Mass Function For Discrete Random Variables P(X = x) Gives exact probability for each specific outcome value Examples: coin flips, dice rolls, binomial PDF Probability Density Function For Continuous Random Variables f(x) Gives probability density; integrate over intervals for probabilities Examples: heights, temperatures, normal Both are specific forms of the general probability function concept

Understanding probability function patterns is crucial because every distribution (does not matter if discrete or continuous) is based directly on them. If you want to explore how PMFs and PDFs work, how they differ, and why they matter, see the full explanation on the dedicated Probability Function page.
0.0000.0500.1000.1500.2000.250012345678910Value (k)Probability P(X = k)
Binomial PMF, n = 10, p = 0.5

A discrete probability function is a set of bars: each bar stands at a possible value, its height is the probability of that value, and the heights add to 1. The continuous counterpart replaces bars by a density curve whose area, not height, carries probability. Switch between distributions and compare the bar patterns on the PMF visualizer.

The cumulative view collects these bars from the left.
Learn More

Cumulative Distribution Function (CDF)

While the probability function (PMF or PDF) focuses on the likelihood of specific values or densities, the Cumulative Distribution Function (CDF) captures the accumulation of probability across the variable's range. The CDF, typically denoted as FX(x)F_X(x), defines the probability that a random variable XX takes a value less than or equal to xx:

CDF Definition
FX(x)=P(X≤x)F_X(x) = \mathbb{P}(X \leq x)
Learn more about this formula: CDF Definition →


This function serves as a complete characterization of any random variable, whether discrete or continuous. In the discrete case, the CDF forms a step function that increases in jumps at each outcome. In the continuous case, it appears as a smooth, continuous curve that represents the integral of the density function from −∞-\infty to xx.

The CDF is universally applicable and mathematically powerful. It allows us to easily calculate the probability of intervals—simply by taking the difference F(b)−F(a)=P(a<X≤b)F(b) - F(a) = P(a < X \leq b)—and is the basis for defining Quantiles and Percentiles.

RULE
Because probabilities cannot be negative and total probability must sum to one, every CDF fundamentally starts at 0 (at −∞-\infty) and is non-decreasing up to 1 (at +∞+\infty).

Pitfall: Dropping the left endpoint
Using F(b)−F(a)F(b) - F(a) for P(a≤X≤b)P(a \le X \le b) with a discrete XX leaves out the value aa itself. For a fair die, F(4)−F(2)=46−26=13F(4) - F(2) = \frac{4}{6} - \frac{2}{6} = \frac{1}{3}, while P(2≤X≤4)=F(4)−F(1)=46−16=12P(2 \le X \le 4) = F(4) - F(1) = \frac{4}{6} - \frac{1}{6} = \frac{1}{2}.

Interval probabilities are where the discrete and continuous cases part ways. For a continuous variable a single point carries no probability, so including or excluding an endpoint changes nothing. For a discrete variable the CDF jumps at each value of the support, and an endpoint of an interval can sit exactly on one of those jumps.
0.00.20.40.60.81.0-4-3.0-2.0-1.0-0.01.02.03.04.0xF(x) = P(X ≤ x)
Normal CDF, mean 0, standard deviation 1

The cumulative distribution function accumulates probability from the left: at any x it reports P(X ≤ x), so it starts at 0, ends at 1 and never decreases. For a continuous variable the curve is smooth; for a discrete one it would climb in steps. Trace the curve and read off accumulated probabilities on the continuous CDF visualizer.

Why these functions matter is the subject of the closing section.

Why Distributions Matter


Probability distributions form the conceptual foundation of quantitative reasoning under uncertainty.

Distributions provide the mathematical framework for modeling random phenomena. By identifying the appropriate distribution, we translate real-world randomness into a precise mathematical structure amenable to rigorous analysis. The distribution captures the essential probabilistic behavior of a system while abstracting away irrelevant details.

In statistical inference, distributions enable us to draw conclusions from data. Sample statistics follow known distributions, allowing us to estimate population parameters, test hypotheses, and construct confidence intervals. The sampling distribution of estimators derives directly from the underlying probability distributions of the data.

For prediction, distributions quantify uncertainty about future outcomes. Rather than producing single-valued forecasts, distributional models provide probabilistic statements—the likelihood of various scenarios, credible intervals, and risk assessments. This probabilistic framework is essential for decision-making under uncertainty.

Distributions bridge probability theory and data science. They connect theoretical probability spaces to empirical observations, enabling the development of statistical methods, machine learning algorithms, and stochastic models. Without distributions, the mathematical treatment of randomness and data analysis as we know it would not exist.

Common Pitfalls

Each of the three mistakes below is marked where it happens in the sections above; here each is worked through in full, with the wrong and the right working side by side.
DownloadPNG2×PDF
1Treating draws without replacement as binomial
A count of successes in a sample is modelled with the binomial distribution although the items are drawn without replacement from a small population. The binomial gives every draw the same success probability, independent of the other draws; without replacement, each draw changes what is left.
Start
22 items are drawn from a batch of 1010 that contains 33 defective items.
Wrong turn
Error here
With p=310p = \frac{3}{10} on each draw,
P(both defective)=0.32=0.09P(\text{both defective}) = 0.3^2 = 0.09
Right path
After one defective item is drawn, only 22 of the remaining 99 items are defective.
P(both defective)=310⋅29P(\text{both defective}) = \frac{3}{10} \cdot \frac{2}{9}

=690=115≈0.067= \frac{6}{90} = \frac{1}{15} \approx 0.067
This is the hypergeometric value (32)(70)(102)=345\frac{\binom{3}{2}\binom{7}{0}}{\binom{10}{2}} = \frac{3}{45}.
Why it happensBoth settings count successes in a fixed number of draws, so the binomial is the first model that comes to mind. The two differ only in whether a drawn item goes back.
How to checkAsk whether the same item could be drawn twice. If not, the hypergeometric applies; the binomial is a fair approximation only when the sample is a small fraction of the population.
2Reading a density as a probability
For a continuous variable, the height of the PDF at a point is taken as the probability of that point.
Wrong turn
Error here
For XX uniform on [0,0.5][0, 0.5], the density is f(x)=10.5=2f(x) = \frac{1}{0.5} = 2, so
P(X=0.25)=f(0.25)=2P(X = 0.25) = f(0.25) = 2
A probability larger than 11.
Right path
Every single value of a continuous variable has probability 00. Probability belongs to intervals and equals the area under the density:
P(0≤X≤0.25)=∫00.252 dxP(0 \le X \le 0.25) = \int_{0}^{0.25} 2 \, dx

=2⋅0.25=0.5= 2 \cdot 0.25 = 0.5
Why it happensFor a discrete variable the height of a PMF bar is a probability, and a PDF graph looks like the same kind of picture.
How to checkA probability can never exceed 11. A density can, whenever the variable lives on a short interval, so a value above 11 read off a curve is a density, not a probability.
3Dropping the left endpoint
For a discrete variable, the probability of a closed interval a≤X≤ba \le X \le b is computed as F(b)−F(a)F(b) - F(a).
Wrong turn
Error here
For a fair die,
P(2≤X≤4)=F(4)−F(2)P(2 \le X \le 4) = F(4) - F(2)

=46−26=13= \frac{4}{6} - \frac{2}{6} = \frac{1}{3}
Right path
F(b)−F(a)=P(a<X≤b)F(b) - F(a) = P(a < X \le b), which excludes X=aX = a. To include the value 22, subtract the CDF at the value just below it:
P(2≤X≤4)=F(4)−F(1)P(2 \le X \le 4) = F(4) - F(1)

=46−16=12= \frac{4}{6} - \frac{1}{6} = \frac{1}{2}
Why it happensFor continuous variables the endpoints carry no probability, so F(b)−F(a)F(b) - F(a) works for every kind of interval, and the habit carries over to discrete ones.
How to checkCount the values directly. The faces 22, 33 and 44 are three of six equally likely faces, so the answer must be 36=12\frac{3}{6} = \frac{1}{2}.
Common pitfalls with distributions·/probability/distributionsLearn Math Class
Each slip uses a formula outside the kind of variable it belongs to. Draws without replacement call for the hypergeometric distribution, not the binomial; a density value is not a probability; and for a discrete variable F(b)−F(a)F(b) - F(a) leaves out the value aa. Asking whether an item can be drawn twice, remembering that a probability never exceeds 11, or counting the values directly, catches each slip.

Skills You Should Learn

Each skill opens its step-by-step method page.
Distribution methods
  • Choose the right probability distributionWhich methodA decision tree: equally likely values, then counted or measured, then what produces the count or the measurement.
  • Find an exponential probabilityWaiting times at a constant rate: get λ\lambda from the mean, then use 1−e−λx1 - e^{-\lambda x} or the tail e−λxe^{-\lambda x}.
  • Find a normal probabilityStandardize with z=(x−μ)/σz = (x - \mu)/\sigma, then read the area from Φ\Phi: left tails, right tails and intervals.
  • Find a normal percentileGo backwards from an area to a value: find zz with Φ(z)=p\Phi(z) = p, then x=μ+zσx = \mu + z\sigma; also solve for μ\mu or σ\sigma.
  • Find a continuous uniform probabilityEqually likely anywhere on [a,b][a, b]: the probability of an interval is its length over b−ab - a, after clipping to the support.
  • Find a binomial probabilityCount successes in nn independent trials: name nn, pp and the values of kk, then add PMF terms or use the complement.
  • Find a geometric probabilityRepeat a trial until the first success: k−1k - 1 failures then one success, and a short tail formula for "more than kk trials".
  • Find a negative binomial probabilityThe trial of the rrth success: r−1r - 1 successes somewhere in the first k−1k - 1 trials, then a success on trial kk.
  • Find a Poisson probabilityEvents at an average rate: scale λ\lambda to the interval asked about, then use e−λλk/k!e^{-\lambda}\lambda^k / k! or its complement.
  • Find a discrete uniform probabilityEqually likely whole numbers from aa to bb: count the values in the event and divide by b−a+1b - a + 1.

Probability Distributions FAQ

Can a random variable be neither discrete nor continuous?

+
Yes. At a light that is red for 6060 seconds and green for 6060, a driver arriving at a random moment waits exactly 00 seconds with probability 12\frac{1}{2}, and otherwise any time up to 6060 seconds, spread evenly. The value 00 carries positive probability, so the wait is not continuous; the other values fill an interval, so it is not discrete either. Such a mixed variable has neither a PMF nor a PDF, but it still has a CDF: it jumps to 12\frac{1}{2} at 00 and then climbs in a straight line to 11 at 6060.Read more →

Do the moments of a distribution determine it?

+
Not always. If ln⁡X\ln X is standard normal, the density ff of XX and the wavy density f(x) (1+sin⁡(2πln⁡x))f(x)\,(1 + \sin(2\pi \ln x)) give the same E[Xk]\mathbb{E}[X^k] for every whole number kk, yet they are different distributions (Heyde, 1963). For a variable confined to a bounded interval such as [0,1][0, 1], the moments do fix the distribution. The CDF always does, which is why the CDF, not the list of moments, is the complete description.Read more →

Is a probability distribution the same thing as its PMF or PDF?

+
No. The distribution is the measure PX(A)=P(X∈A)\mathbb{P}_X(A) = \mathbb{P}(X \in A), which gives a probability to every set of values. The PMF, the PDF and the CDF are ways of writing it down. Every distribution has a CDF, but a PMF exists only for discrete variables and a PDF only for continuous ones, and some distributions have neither. A distribution has a CDF; it is not the CDF itself.Read more →

What does the d over an equals sign mean in probability?

+
It means equal in distribution: X=dYX \overset{d}{=} Y says that XX and YY have the same law, P(X∈A)=P(Y∈A)\mathbb{P}(X \in A) = \mathbb{P}(Y \in A) for every set AA. It says nothing about their values. Two independent fair dice are equal in distribution, yet they show the same face only 16\frac{1}{6} of the time; the plain X=YX = Y would claim they always agree. The related Xn→dXX_n \xrightarrow{d} X is convergence in distribution, the form in which the central limit theorem is stated.Read more →

What is the probability space (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P})?

+
It is the standard setting of formal probability, three objects in three fonts. Ω\Omega is the set of outcomes, the calligraphic F\mathcal{F} is the collection of events that are allowed to receive probabilities (a σ-algebra), and P\mathbb{P} is the measure that assigns them. The blackboard P\mathbb{P} is the same object as the plain PP of elementary texts. Script F\mathcal{F} and the CDF FXF_X share a letter and are told apart by font alone.Read more →