Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Cumulative Distribution Function(CDF) of Continuous Distributions

Visualizing probability accumulation for continuous distributions

Continuous Uniform - CDF

Linear increase from 0 to 1 over [a, b]

CDF Explanation

The cumulative distribution function (CDF) of the continuous uniform distribution is F(x)=x−ab−aF(x) = \frac{x-a}{b-a} for a≤x≤ba \leq x \leq b, F(x)=0F(x) = 0 for x<ax < a, and F(x)=1F(x) = 1 for x>bx > b. The CDF shows the probability that the random variable XX is less than or equal to xx, i.e., P(X≤x)P(X \leq x). For the uniform distribution, this probability increases linearly from 0 to 1 across the interval. This means that the probability of landing in the first half of the interval is exactly 0.5, and the probability increases uniformly as we move through the interval. Learn more about the continuous uniform CDF &middot; compare all three









Selecting a Distribution

The visualizer displays three continuous probability distributions in tabs at the top. Click any tab to switch between Continuous Uniform, Normal (Gaussian), and Exponential distributions. Each distribution models different continuous phenomena: uniform for equal likelihood across an interval, normal for bell-curved symmetric data, and exponential for waiting times or decay processes. The active tab highlights in blue, and the chart immediately updates to show a smooth cumulative distribution function curve with default parameter values.

Adjusting Distribution Parameters

Each distribution provides parameter sliders in the controls panel. Drag sliders to modify values:

Continuous Uniform uses lower bound (a) and upper bound (b) sliders to define the interval endpoints.

Normal adjusts mean (μ) to shift the center and standard deviation (σ) to control spread.

Exponential controls the rate parameter lambda (λ) which determines how quickly probability accumulates.

The smooth curve redraws instantly as you move sliders. Parameter values display numerically next to each slider label, showing current settings.

Reading Smooth CDF Curves

The cumulative distribution function appears as a smooth, continuously rising curve without jumps or steps. The x-axis represents all possible real values in the distribution's domain, while the y-axis shows cumulative probability F(x)=P(X≤x)F(x) = P(X \leq x) ranging from 0 to 1. The curve starts near 0 (typically approaching from the left) and rises smoothly to approach 1 (extending to the right). Unlike discrete CDFs that jump at specific points, continuous CDFs increase gradually across their entire range.

The curve's steepness indicates where probability density concentrates. Steeper sections mean higher probability density, while flatter sections indicate lower density. Hover over any point on the curve to see exact x-values and corresponding cumulative probabilities displayed to four decimal places.

Understanding Continuous vs Discrete CDFs

Continuous CDFs form smooth curves because probability spreads continuously across intervals rather than concentrating at specific points. In discrete distributions, probability jumps occur at countable values, creating step functions. In continuous distributions, P(X=k)=0P(X = k) = 0 for any exact value k—probability only exists for intervals. This is why the CDF rises smoothly: you're always accumulating infinitesimally small amounts of probability density as x increases.

The smooth curve reflects integration of the probability density function (PDF) from negative infinity up to x. The derivative of the CDF gives the PDF, showing the relationship between accumulation (CDF) and density (PDF). The CDF never decreases and has no discontinuous jumps in continuous distributions.

Finding Cumulative Probabilities

To find P(X≤a)P(X \leq a) for any value a, locate a on the x-axis and read upward to where it intersects the curve. The y-coordinate at that intersection gives the cumulative probability. For example, if the curve shows 0.8413 at x=1x = 1 for a standard normal distribution, there's an 84.13% chance the variable is 1 or less.

Calculate interval probabilities P(a<X≤b)P(a < X \leq b) by subtracting CDF values: F(b)−F(a)F(b) - F(a). Hover over both endpoints to read their cumulative probabilities, then compute the difference. The vertical distance between the curve at point b and point a represents this interval probability visually.

Comparing Distribution Curve Shapes

Switch between tabs to observe how different probabilistic mechanisms create distinct CDF patterns. The Continuous Uniform CDF rises linearly from 0 to 1 across its interval, with constant slope. The Normal CDF forms an S-shaped sigmoid curve, symmetric around the mean, with the steepest slope at the center where probability density is highest. The Exponential CDF rises rapidly at first near x = 0, then gradually flattens as it asymptotically approaches 1, reflecting the memoryless property of exponential waiting times.

Adjust parameters to see how they affect curve shape. Changing the mean shifts the normal curve horizontally. Increasing standard deviation or widening uniform bounds makes curves rise more gradually, spreading probability over a wider range.

Continuous Uniform: a Straight Line

With the default bounds a=0a = 0 and b=10b = 10, the CDF is F(x)=x−010−0=x10F(x) = \frac{x - 0}{10 - 0} = \frac{x}{10} on the interval — a straight line of constant slope 0.10.1, flat at 0 to the left of aa and flat at 1 to the right of bb.

F(5)=0.5F(5) = 0.5 exactly. Half the probability sits in the first half of the interval, because every part of the interval is equally likely.
0.00.20.40.60.81.0-2-0.31.53.25.06.78.410.211.9xF(x) = P(X ≤ x)
Continuous uniform, a = 0 to b = 10

A straight line of slope 0.1 between the bounds, flat at 0 before a and flat at 1 after b. F(5) = 0.5 exactly, and the slope of the line is the density 1/(b-a).

The slope *is* the density. The uniform pdf is the constant 1b−a=0.1\frac{1}{b-a} = 0.1, and that constant is precisely the gradient of the line you see — which is the geometric statement of f(x)=F′(x)f(x) = F'(x) in its simplest possible case.

The two corners are worth noticing. At x=ax = a and x=bx = b the curve has a kink: it is continuous there, but not differentiable, because the density jumps from 0 to 0.1 and back. A CDF must be continuous for a continuous random variable, but it need not be smooth.

Normal: the S-Curve and the 68-95-99.7 Rule

At μ=0\mu = 0 and σ=1\sigma = 1 the tool plots the window μ±4σ\mu \pm 4\sigma. The curve is the familiar sigmoid, symmetric about the mean: F(0)=0.5F(0) = 0.5 exactly, F(1)=0.8413F(1) = 0.8413, and F(−1)=0.1587F(-1) = 0.1587.

The symmetry is the identity F(−x)=1−F(x)F(-x) = 1 - F(x), which is why the two readings above sum to 1.
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, mean 0, standard deviation 1

The sigmoid, symmetric about the mean: F(0) = 0.5, F(1) = 0.8413, F(-1) = 0.1587. Their difference, 0.6827, is the 68% of the empirical rule.

The empirical rule falls straight out as differences of CDF values: F(1)−F(−1)=0.6827F(1) - F(-1) = 0.6827, F(2)−F(−2)=0.9545F(2) - F(-2) = 0.9545, F(3)−F(−3)=0.9973F(3) - F(-3) = 0.9973. Those are the 68%, 95% and 99.7% figures, read off this one curve rather than memorised.

One implementation detail is worth knowing, because it explains why a normal CDF is always a numerical answer and never a formula. The Gaussian density has no elementary antiderivative, so FF cannot be written in closed form with the usual functions. The tool evaluates it with an Abramowitz and Stegun approximation to the error function, accurate to about 1.5×10−71.5 \times 10^{-7} — which is why the readings above match published tables to four decimals.

The steepest point is at x=μx = \mu, where the density peaks. The inflection points, where the curve stops steepening and starts flattening, sit at μ±σ\mu \pm \sigma — so σ\sigma is readable off the CDF's shape, not just off the pdf.

Exponential: Fast Rise, Asymptotic Tail

At λ=1\lambda = 1 the CDF is F(x)=1−e−λxF(x) = 1 - e^{-\lambda x} and the tool plots xx from 0 out to 5/λ5/\lambda. It climbs steeply at first, then flattens.

F(1)=1−e−1=0.6321F(1) = 1 - e^{-1} = 0.6321: about 63.2% of the probability is used up within one mean lifetime 1/λ1/\lambda, whatever λ\lambda is.
0.00.20.40.60.81.000.61.21.92.53.13.74.45.0xF(x) = P(X ≤ x)
Exponential, lambda = 1

A fast rise then a long flattening: F(1) = 0.6321 at one mean lifetime, and the right edge of the window is still only 0.9931. The median, ln2 = 0.6931, sits left of the mean.

The median sits at ln⁡2λ=0.6931\frac{\ln 2}{\lambda} = 0.6931, noticeably to the left of the mean 1λ=1\frac{1}{\lambda} = 1. That gap is the signature of a right-skewed distribution: a long thin tail pulls the mean above the halfway point.

The curve never reaches 1. At the right edge of the plotted window F≈0.9931F \approx 0.9931, and the remaining 0.00690.0069 is spread over the infinite tail beyond it. Like the geometric on the discrete page, the support is unbounded, so the tool draws a finite window and the tail is negligible rather than absent.

The memoryless property is what the shape encodes: P(X>s+t∣X>s)=P(X>t)P(X > s + t \mid X > s) = P(X > t). Slide the origin anywhere along the curve, rescale so it starts at 0 again, and you get the same curve back. A component that has already survived an hour is exactly as likely to survive the next hour as a brand new one.

Interpreting Parameter Effects

For Continuous Uniform, increasing the interval width (b - a) reduces the slope—the curve rises more gradually across a wider range. For Normal, increasing mean (μ) shifts the entire S-curve right or left without changing shape. Increasing standard deviation (σ) flattens the curve, making it rise more gradually as probability spreads over more values. For Exponential, larger lambda (λ) values create steeper initial rises—probability accumulates faster early on—while smaller lambda creates gentler curves extending farther right.

Watch the curve's steepest section as you adjust parameters. This identifies where probability density concentrates most heavily. The inflection points of the normal CDF occur at μ ± σ, visible as where curvature changes from concave to convex.

What is a Continuous CDF?

A continuous cumulative distribution function gives the probability that a continuous random variable X is less than or equal to x: F(x)=P(X≤x)=∫−∞xf(t) dtF(x) = P(X \leq x) = \int_{-\infty}^{x} f(t) \, dt, where f(t)f(t) is the probability density function. The CDF accumulates probability density from negative infinity up to x. For continuous distributions, the CDF is always a smooth, non-decreasing function with no jumps, starting at lim⁡x→−∞F(x)=0\lim_{x \to -\infty} F(x) = 0 and approaching lim⁡x→∞F(x)=1\lim_{x \to \infty} F(x) = 1.

The derivative of the CDF equals the PDF: f(x)=dF(x)dxf(x) = \frac{dF(x)}{dx}, showing how probability density relates to accumulation.

For comprehensive theory on cumulative distribution functions including mathematical properties and applications, see cumulative distribution function theory.

CDF and PDF Relationship

The probability density function (PDF) shows the relative likelihood of values—taller sections indicate higher probability density. The cumulative distribution function (CDF) integrates the PDF from left to right, accumulating total probability up to each point. Where PDF has peaks, CDF rises steeply. Where PDF is low or flat, CDF rises gradually. The area under the PDF curve from negative infinity to x equals the CDF value at x: F(x)=∫−∞xf(t) dtF(x) = \int_{-\infty}^{x} f(t) \, dt.

Use PDF to see where values are most likely. Use CDF to calculate probabilities for ranges. The CDF always increases smoothly, while PDF can have multiple peaks, valleys, or asymmetry.

For detailed comparison of probability functions including integration and differentiation relationships, see probability density function vs cumulative distribution function.