PDF/CDF Visualizer

Choose a named continuous random variable and adjust its parameters. The plots of its probability density function and cumulative distribution function update as you go, and the buttons below the plots open tools for computing probabilities and the expected value.

Random Variable

Parameters

Axis limits:

Probability density function

Cumulative distribution function

The probability density function (PDF), \(f_X(x)\), describes how probability is spread along the number line: the probability that a continuous random variable \(X\) lands in an interval is the area under \(f_X\) over that interval. The cumulative distribution function (CDF), \(F_X(x) = P(X \le x) = \int_{-\infty}^{x} f_X(t)\,dt\), gives the probability that \(X\) is at most \(x\); it is the running area under the PDF. The two plots above update together, and any probability you compute is marked in pink in both.