Loading…

Discrete Cdf or Pmf Plotter

Math Probability • Discrete Probability Distributions

View all topics

Discrete CDF/PMF Plotter – Bars & Steps (Free)

Plot a discrete distribution from a PMF table and auto-build its CDF. The CDF is the cumulative sum: \(F(x)=P(X\le x)\).

Tip: Use Fill example for Binomial \(n=5, p=0.5\). Press Play to animate cumulative probability building from left to right.

Distribution
Custom PMF input
Accepted expressions: 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.
View & animation
Drag on either panel to pan. Use mouse wheel / trackpad to zoom horizontally. Tick labels stay inside the frame.
Ready
Interactive plot — PMF bars + CDF steps

Top panel: PMF bars \(P(X=x)\). Bottom panel: CDF steps \(F(x)=P(X\le x)\). Hover for values.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is the difference between PMF and CDF?

The PMF gives point probabilities p(x)=P(X=x). The CDF accumulates them: F(x)=P(X≤x)=∑_{t≤x} p(t).

Why does the CDF look like steps for discrete variables?

Probability is concentrated at specific outcomes, so the CDF stays flat between outcomes and jumps by p(x) at each possible value.

Why does Poisson/Geometric say “truncation” or “tail mass”?

Those distributions have infinite support. The plot shows values up to a chosen max k; any remaining probability beyond that is the tail mass.

Do custom probabilities have to sum to 1?

Yes for a valid PMF. If your entries do not sum to 1, you can enable normalization to scale them so the total becomes 1.