Skip to content
Statistics Rich #cdf#pdf#density

CDF vs PDF

Density and cumulative shown side-by-side. Area under the PDF equals height of the CDF.

A free, animated cdf vs pdf you can read here or embed on any website, from Scrollchart.

CDF vs PDF

PDF vs CDFP(X < 0.8) = 78.8%

This diagram places the probability density function (PDF) and the cumulative distribution function (CDF) for the same distribution one above the other, sharing an x-axis. The PDF (top panel) shows how probability is concentrated across values. The CDF (bottom panel) shows, for any point x, what fraction of outcomes fall at or below that value. Moving a vertical cursor to x = 1.0 on a standard normal, for instance, shades the left tail of the PDF and simultaneously marks the CDF height at roughly 0.84, confirming that 84% of values lie below 1.0.\n\nThe paired display makes the integral relationship concrete: the shaded area under the PDF equals the height of the CDF at that same x. This is the visual proof that the CDF is the running integral of the PDF.

Good for

  • Articles in the statistics category
  • Editorial pages where a quick visual replaces a wall of text
  • Content-marketing posts that need a clean, branded illustration

Source & accuracy

This cdf vs pdf is an editorial illustration built to represent the concept accurately. Where it shows figures, they are typical or representative values chosen to make the relationship clear, not a single underlying dataset. The diagram and its explainer are reviewed and maintained centrally, and updated over time as understanding improves.

Density and cumulative representations

The probability density function (PDF) shows the likelihood of observing a value at each point on the x-axis; the cumulative distribution function (CDF) shows the total probability of observing a value less than or equal to each x. For a continuous distribution, the area under the PDF equals the height of the CDF.

A side-by-side view makes this relationship explicit: the PDF's bell shape transforms into the CDF's S-shape. Where the PDF peaks, the CDF rises most steeply; where the PDF flattens in the tails, the CDF levels off toward 0 or 1.

Practical applications of each form

The PDF is intuitive for understanding the most likely values and the distribution shape. The CDF is more direct for answering questions like 'what is the probability of observing a value below x?' or 'at what value does 90 percent of the distribution fall below?'

Statistical software typically computes both: the PDF for density estimates and histograms, the CDF for quantile calculations and tail probability assessments. Understanding both forms allows you to convert between questions about likelihood and questions about cumulative probability.

Embed this diagram

Add this animated cdf vs pdf to your own site. Copy one line of HTML, or use the embed builder for theme and sizing options.

Reference

What this is
A free, embeddable, animated cdf vs pdf for any website.
Who uses it
Data journalists, Researchers & academics, Content marketers, News organizations.
How to embed
Copy one line of HTML. No signup. No watermark. Works in WordPress, Webflow, Ghost, Substack, plain HTML.
File size
iframe embed, ~80 KB gzipped (loads on demand, does not block your page paint).
License
Free forever. Editorial explainer text included; updated centrally over time.

Embed format options

Copy the universal HTML snippet, the WordPress shortcode, or an iframe fallback - see the WordPress plugin page for details. Any format keeps the same Core Web Vitals profile and the same explainer text.

Embed snippet
<div data-scrollchart="cdf-vs-pdf" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "CDF vs PDF" for my website?
Scrollchart provides "CDF vs PDF" as a free, embeddable animated diagram you can add to any website with one line of HTML. No signup is required and there is no watermark. The diagram and its explainer text are served from scrollchart.com, so the embed stays current without any maintenance on your end.
How do I embed a cdf vs pdf in a blog post or article?
Paste the one-line HTML snippet from the Scrollchart diagram page into your post editor. It works in WordPress, Webflow, Ghost, and plain HTML with no plugin required. The animated diagram and its explainer text load from scrollchart.com and render directly in your page DOM.