Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • System Modeler

    Multidomain modeling and simulation of complex systems

  • Compute ServicesUse with Mathematica and Wolfram|One
  • AI AccessUse with Mathematica and Wolfram|One
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Wolfram|Alpha

  • Wolfram|Alpha Website
  • Wolfram|Alpha APIs

AI Products

  • Wolfram AI Ecosystem
  • Wolfram Foundation Tool
  • Wolfram Cloud MCP
  • Wolfram Local MCP
  • Agent One API
  • CAG Component APIs

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • Linguistic Understanding

Additional Deployment Options

  • Wolfram Cloud
  • Wolfram Web Engine
  • wolframscript
  • WSTPServer
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

Wolfram Consulting

Data Science, Finance & Business

  • Artificial Intelligence
  • Data Science
  • Healthcare
  • Real Estate

Engineering

  • Civil Engineering
  • Automotive Engineering
  • Sustainable Energy

Science & Technology

  • AgTech
  • Biosciences
  • Environmental Science
  • Food Science
  • Quantum Computation
  • Social and Behavioral Sciences

More Wolfram Solutions

Technology for Education

  • Research Universities
  • Colleges & Teaching Universities
  • High Schools
  • Resources for Students

Education Initiatives

  • Next-Gen EdTech
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
For AIs
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • System Modeler
    • Compute ServicesUse with Mathematica and Wolfram|One
    • AI AccessUse with Mathematica and Wolfram|One
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Wolfram|Alpha
      • Wolfram|Alpha Website
      • Wolfram|Alpha APIs
    • AI Products
      • Wolfram AI Ecosystem
      • Wolfram Foundation Tool
      • Wolfram Cloud MCP
      • Wolfram Local MCP
      • Agent One API
      • CAG Component APIs
    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • Linguistic Understanding
    • Additional Deployment Options
      • Wolfram Cloud
      • Wolfram Web Engine
      • wolframscript
      • WSTPServer
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions
    • Wolfram Consulting

    Data Science, Finance & Business

    • Artificial Intelligence
    • Data Science
    • Healthcare
    • Real Estate

    Engineering

    • Civil Engineering
    • Automotive Engineering
    • Sustainable Energy

    Science & Technology

    • AgTech
    • Biosciences
    • Environmental Science
    • Food Science
    • Quantum Computation
    • Social and Behavioral Sciences

    More Wolfram Solutions

    Technology for Education

    • Research Universities
    • Colleges & Teaching Universities
    • High Schools
    • Resources for Students

    Education Initiatives

    • Next-Gen EdTech
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • For AIs
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
CDF
  • See Also
    • PDF
    • InverseCDF
    • SurvivalFunction
    • InverseSurvivalFunction
    • HazardFunction
    • Probability
    • NProbability
    • RarerProbability
    • Integrate
    • Sum
    • Histogram
    • Histogram3D
  • Related Guides
    • Descriptive Statistics
    • Statistical Distribution Functions
    • Random Variables
    • Probability & Statistics
  • Tech Notes
    • Discrete Distributions
    • Continuous Distributions
    • See Also
      • PDF
      • InverseCDF
      • SurvivalFunction
      • InverseSurvivalFunction
      • HazardFunction
      • Probability
      • NProbability
      • RarerProbability
      • Integrate
      • Sum
      • Histogram
      • Histogram3D
    • Related Guides
      • Descriptive Statistics
      • Statistical Distribution Functions
      • Random Variables
      • Probability & Statistics
    • Tech Notes
      • Discrete Distributions
      • Continuous Distributions

CDF[dist,x]

gives the cumulative distribution function for the distribution dist evaluated at x.

CDF[dist,{x1,x2,…}]

gives the multivariate cumulative distribution function for the distribution dist evaluated at {x1,x2,…}.

CDF[dist]

gives the CDF as a pure function.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Parametric Distributions  
Nonparametric Distributions  
Derived Distributions  
Random Processes  
Generalizations & Extensions  
Applications  
Properties & Relations  
Possible Issues  
Neat Examples  
See Also
Tech Notes
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • PDF
    • InverseCDF
    • SurvivalFunction
    • InverseSurvivalFunction
    • HazardFunction
    • Probability
    • NProbability
    • RarerProbability
    • Integrate
    • Sum
    • Histogram
    • Histogram3D
  • Related Guides
    • Descriptive Statistics
    • Statistical Distribution Functions
    • Random Variables
    • Probability & Statistics
  • Tech Notes
    • Discrete Distributions
    • Continuous Distributions
    • See Also
      • PDF
      • InverseCDF
      • SurvivalFunction
      • InverseSurvivalFunction
      • HazardFunction
      • Probability
      • NProbability
      • RarerProbability
      • Integrate
      • Sum
      • Histogram
      • Histogram3D
    • Related Guides
      • Descriptive Statistics
      • Statistical Distribution Functions
      • Random Variables
      • Probability & Statistics
    • Tech Notes
      • Discrete Distributions
      • Continuous Distributions

CDF

CDF[dist,x]

gives the cumulative distribution function for the distribution dist evaluated at x.

CDF[dist,{x1,x2,…}]

gives the multivariate cumulative distribution function for the distribution dist evaluated at {x1,x2,…}.

CDF[dist]

gives the CDF as a pure function.

Details

  • CDF[dist,x] gives the probability that an observed value will be less than or equal to x.
  • CDF[dist,x] is equivalent to Probability[ξ≤x,ξdist].
  • CDF[dist,{x1,…,xn}] is equivalent to Probability[ξ1≤x1∧⋯∧ξn≤xn,{ξ1,…,ξn}dist].
  • CDF[dist,x] is equivalent to 1-SurvivalFunction[dist,x].

Examples

open all close all

Basic Examples  (4)

The CDF of a univariate continuous distribution:

Wolfram Language code: CDF[StudentTDistribution[ν], x]
Wolfram Language code: Plot[CDF[StudentTDistribution[4], x], {x, -6, 6}, Filling -> Axis]

The CDF of a univariate discrete distribution:

Wolfram Language code: CDF[PoissonDistribution[μ], k]
Wolfram Language code: DiscretePlot[CDF[PoissonDistribution[3], k], {k, 0, 10}, ExtentSize -> Right, ExtentMarkers -> {"Filled", "Empty"}]

The CDF of a bivariate continuous distribution:

Wolfram Language code: Plot3D[CDF[BinormalDistribution[1 / 2], {x, y}], {x, -3, 3}, {y, -3, 3}]

The CDF for a multivariate Poisson distribution:

Wolfram Language code: DiscretePlot3D[CDF[MultivariatePoissonDistribution[5, {2, 3}], {x, y}], {x, 0, 12}, {y, 0, 12}, ExtentSize -> Right]

Scope  (24)

Parametric Distributions  (7)

Obtain exact numeric results:

Wolfram Language code: CDF[WeibullDistribution[2, 5], 4]
Wolfram Language code: CDF[NegativeBinomialDistribution[20, 1 / 3], 5]

Obtain a machine-precision result:

Wolfram Language code: CDF[WeibullDistribution[2, 5], 4.]

Obtain a result at any precision for a continuous distribution:

Wolfram Language code: CDF[WeibullDistribution[2, 5], N[4, 25]]

Obtain a result at any precision for a discrete distribution with inexact parameters:

Wolfram Language code: CDF[NegativeBinomialDistribution[20, N[1 / 3, 30]], 5]

Obtain a symbolic expression for the CDF:

Wolfram Language code: CDF[ChiSquareDistribution[ν], x]
Wolfram Language code: CDF[UniformDistribution[{{a, b}, {c, d}}], {x, y}]

Obtain pure function result:

Wolfram Language code: CDF[GammaDistribution[1, 2]]

Evaluate at a value:

Wolfram Language code: %[3]

CDF threads elementwise over lists:

Wolfram Language code: CDF[NormalDistribution[], {0.0, 0.2, 0.3}]

Multivariate distributions:

Wolfram Language code: CDF[BinormalDistribution[1 / 2], {{0.0, 0.0}, {0.2, 0.2}, {0.3, 0.3}}]

Nonparametric Distributions  (4)

CDF for nonparametric distributions:

Wolfram Language code: r = RandomVariate[NormalDistribution[], 10 ^ 4];
Wolfram Language code: CDF[HistogramDistribution[r], 0.2]
Wolfram Language code: CDF[SmoothKernelDistribution[r], 0.2]
Wolfram Language code: CDF[KernelMixtureDistribution[r], 0.2]
Wolfram Language code: CDF[SurvivalDistribution[r], 0.2]
Wolfram Language code: CDF[EmpiricalDistribution[r], 0.2]
Wolfram Language code: CDF[NormalDistribution[], 0.2]

Plot the CDF for a histogram distribution:

Wolfram Language code: Plot[CDF[HistogramDistribution[RandomVariate[NormalDistribution[], 10 ^ 3]], x]//Evaluate, {x, -3, 3}, Filling -> Axis, Exclusions -> None]

Closed-form expression for the CDF of a kernel mixture distribution:

Wolfram Language code: CDF[KernelMixtureDistribution[RandomVariate[GammaDistribution[1, 2], 10 ]], x]

Plot of the CDF of a bivariate smooth kernel distribution:

Wolfram Language code: Plot3D[CDF[SmoothKernelDistribution[RandomVariate[BinormalDistribution[1 / 3], 30]], {x, y}]//Evaluate, {x, -4, 4}, {y, -4, 4}, PlotRange -> {0, 1.2}]

Derived Distributions  (10)

Product of independent distributions:

Wolfram Language code: CDF[ProductDistribution[TriangularDistribution[{2, 4}], TriangularDistribution[{1, 7}]], {x, y}]
Wolfram Language code: Plot3D[%, {x, 1, 5}, {y, 0, 8}, PlotRange -> All, Exclusions -> None]

Component mixture distribution:

Wolfram Language code: CDF[MixtureDistribution[{1, 4}, {NormalDistribution[a, b], NormalDistribution[c, d]}], x]
Wolfram Language code: Plot[% /. {a -> 0, b -> 1, c -> 6, d -> 3 / 2}, {x, -2, 10}, Filling -> Axis]

Quadratic transformation of a discrete distribution:

Wolfram Language code: CDF[TransformedDistribution[x ^ 2, xPoissonDistribution[2]], y]
Wolfram Language code: DiscretePlot[%, {y, 0, 50}]

Censored distribution:

Wolfram Language code: CDF[CensoredDistribution[{-2, 4}, CauchyDistribution[0, 1]], x]
Wolfram Language code: Plot[{CDF[CauchyDistribution[0, 1], x], %}, {x, -4, 6}, PlotStyle -> Thick, Filling -> Axis]

Truncated distribution:

Wolfram Language code: CDF[TruncatedDistribution[{2, 3}, TriangularDistribution[{1, 4}]], x]
Wolfram Language code: Plot[{CDF[TriangularDistribution[{1, 4}], x], %}, {x, 1, 5}, Filling -> Axis, Exclusions -> None]

Parameter mixture distribution:

Wolfram Language code: CDF[ParameterMixtureDistribution[GeometricDistribution[r], rUniformDistribution[{1 / 2, 2 / 3}]], x]
Wolfram Language code: DiscretePlot[%, {x, 0, 5}, ExtentSize -> {0, 1}]

Copula distribution:

Wolfram Language code: CDF[CopulaDistribution[{"Frank", 3}, {ExponentialDistribution[2], ExponentialDistribution[5]}], {x, y}]
Wolfram Language code: Plot3D[%, {x, 0, 3}, {y, 0, 3}]

Formula distribution defined by its PDF:

Wolfram Language code: CDF[ProbabilityDistribution[(Sqrt[2] / Pi)(1 / (1 + x ^ 4)), {x, -Infinity, Infinity}], x]

Defined by its CDF:

Wolfram Language code: CDF[ProbabilityDistribution[{"CDF", Piecewise[{{-2 + x, 2 ≤ x ≤ 3}, {1, x > 3}}, 0]}, {x, -Infinity, Infinity}], x]

Defined by its SurvivalFunction:

Wolfram Language code: CDF[ProbabilityDistribution[{"SF", Piecewise[{{1 - 2(-2 + x) ^ 2, 2 ≤ x ≤ 5 / 2}, {2(3 - x) ^ 2, 5 / 2 < x ≤ 3}, {1, x < 2}}, 0]}, {x, -Infinity, Infinity}], x]

Marginal distribution:

Wolfram Language code: CDF[MarginalDistribution[ProbabilityDistribution[E^-(y^2/2) π^-3 / 2 (1 + x^4)^-1, {x, -∞, ∞}, {y, -∞, ∞}], 2], y]

The CDF for QuantityDistribution assumes the argument is a Quantity with compatible units:

Wolfram Language code: 𝒟 = ExponentialDistribution[Quantity[2.2, 1 / "Days"]]
Wolfram Language code: CDF[𝒟, t]

This allows for direct quantity substitution:

Wolfram Language code: % /. t -> Quantity[MixedMagnitude[{3, 20}], MixedUnit[{"Hours", "Minutes"}]]

Compare with the direct use of the quantity argument:

Wolfram Language code: CDF[𝒟, Quantity[MixedMagnitude[{3, 20}], MixedUnit[{"Hours", "Minutes"}]]]

Random Processes  (3)

Find the CDF for a SliceDistribution of a discrete-state random process:

Wolfram Language code: CDF[PoissonProcess[μ][2], x]
Wolfram Language code: DiscretePlot[Evaluate[% /. μ -> 2], {x, 0, 15}, ExtentSize -> 0.5]

A continuous-state random process:

Wolfram Language code: CDF[WienerProcess[][2], x]
Wolfram Language code: Plot[%, {x, -1, 3}, Filling -> Axis]

Find the multiple time-slice CDF for a discrete-state process:

Wolfram Language code: CDF[PoissonProcess[μ][{2, 3}], {x, y}]
Wolfram Language code: DiscretePlot3D[Evaluate[% /. μ -> 2], {x, 0, 10}, {y, 0, 10}, ExtentSize -> 0.5]

A multi-slice for a continuous-state process:

Wolfram Language code: Plot3D[CDF[WienerProcess[][{2, 3}], {x, y}], {x, -3, 3}, {y, -3, 3}]

Find the CDF for the StationaryDistribution of a discrete-state random process:

Wolfram Language code: CDF[StationaryDistribution[QueueingProcess[λ, μ, 2]], x]//FullSimplify
Wolfram Language code: DiscretePlot[Evaluate[% /. {μ -> 3, λ -> 2.9}], {x, 0, 10}, ExtentSize -> 0.5]

Generalizations & Extensions  (1)

CDF threads element-wise over lists:

Wolfram Language code: CDF[NormalDistribution[], {0.2, 0.3}]
Wolfram Language code: {CDF[NormalDistribution[], 0.2], CDF[NormalDistribution[], 0.3]}

Multivariate distributions:

Wolfram Language code: CDF[BinormalDistribution[1 / 2], {{0.0, 0.0}, {0.2, 0.2}, {0.3, 0.3}}]

Applications  (5)

Plot the CDF for a standard normal distribution:

Wolfram Language code: Plot[CDF[NormalDistribution[0, 1], x], {x, -3, 3}]

Plot the CDF for a binomial distribution:

Wolfram Language code: Plot[CDF[BinomialDistribution[20, .5], k], {k, 0, 20}]

Compute the probability of for a distribution with 20 degrees of freedom:

Wolfram Language code: CDF[StudentTDistribution[20], 3.5]
Wolfram Language code: NProbability[t ≤ 3.5, tStudentTDistribution[20]]

Compute the probability of for the same distribution:

Wolfram Language code: 1 - CDF[StudentTDistribution[20], 3.5]
Wolfram Language code: NProbability[t > 3.5, tStudentTDistribution[20]]

Compute the probability of :

Wolfram Language code: 2CDF[StudentTDistribution[20], -3.5]
Wolfram Language code: NProbability[Abs[t] > 3.5, tStudentTDistribution[20]]

Perform a probability integral transform on data by mapping the CDF over it:

Wolfram Language code: data = RandomVariate[NormalDistribution[], 10 ^ 4];
Wolfram Language code: tdata = CDF[NormalDistribution[], data];

The transformed data is uniformly distributed if the original data came from the chosen distribution:

Wolfram Language code: Histogram[tdata, Automatic, "PDF"]

Comparing transformed data to a uniform distribution and comparing original data to original distribution should give identical results for all applicable tests:

Wolfram Language code: Row[{DistributionFitTest[data, NormalDistribution[], {"TestStatisticTable", All}], DistributionFitTest[tdata, UniformDistribution[], {"TestStatisticTable", All}]}, Spacer[20]]

Define a general survival distribution function (SDF) as used in actuarial science:

Wolfram Language code: SDF[dist_, x_] := 1 - CDF[dist, x]
Wolfram Language code: SDF[ExponentialDistribution[.05], x]
Wolfram Language code: Plot[%, {x, 0, 100}, PlotRange -> All]

Compare with the expression given by SurvivalFunction:

Wolfram Language code: SurvivalFunction[ExponentialDistribution[.05], x]
Wolfram Language code: % - SDF[ExponentialDistribution[.05], x]//Simplify

Define the force of mortality (FM):

Wolfram Language code: FM[dist_, x_] := -D[SDF[dist, x], x] / SDF[dist, x]
Wolfram Language code: FM[ExponentialDistribution[λ], x]
Wolfram Language code: PiecewiseExpand[%]

Compare with the expression given by HazardFunction:

Wolfram Language code: HazardFunction[ExponentialDistribution[λ], x]
Wolfram Language code: Simplify[% - FM[ExponentialDistribution[λ], x], x > 0]

Properties & Relations  (12)

The probability of for a univariate distribution is given by its CDF:

Wolfram Language code: {Probability[x ≤ a, xNormalDistribution[]], CDF[NormalDistribution[], a]}
Wolfram Language code: {Probability[x ≤ 5, xGeometricDistribution[1 / 3]], CDF[GeometricDistribution[1 / 3], 5]}

The probability of for a multivariate distribution is given by its CDF:

Wolfram Language code: Probability[x ≤ 1 / 2∧y ≤ 1 / 3, {x, y}DirichletDistribution[{1, 2, 3}]]
Wolfram Language code: CDF[DirichletDistribution[{1, 2, 3}], {1 / 2, 1 / 3}]

A univariate CDF is 0 at and 1 at :

Wolfram Language code: CDF[NormalDistribution[], -∞]
Wolfram Language code: CDF[NormalDistribution[], ∞]

A multivariate CDF has value 0 at and 1 at :

Wolfram Language code: CDF[BinormalDistribution[1 / 2], {-∞, -∞}]
Wolfram Language code: CDF[BinormalDistribution[1 / 2], {∞, ∞}]

The CDF is the integral of the PDF for continuous distributions :

Wolfram Language code: Integrate[PDF[ExponentialDistribution[λ], x], {x, 0, y}, Assumptions -> λ > 0 && y∈Reals]//Simplify
Wolfram Language code: CDF[ExponentialDistribution[λ], y]

The CDF is the sum of the PDF for discrete distributions :

Wolfram Language code: Sum[PDF[GeometricDistribution[p], m], {m, -∞, Floor[n]}]//FullSimplify
Wolfram Language code: CDF[GeometricDistribution[p], n]
Wolfram Language code: Simplify[% - %%, Im[n] == 0]

CDF and InverseCDF are inverses for continuous distributions:

Wolfram Language code: dist = ExponentialDistribution[λ]; assum = DistributionParameterAssumptions[dist];
Wolfram Language code: Simplify[InverseCDF[dist, CDF[dist, x]] == x, assum && x > 0]
Wolfram Language code: Simplify[CDF[dist, InverseCDF[dist, q]] == q, assum && 0 < q < 1]

Compositions of CDF and InverseCDF give step functions for a discrete distribution:

Wolfram Language code: dist = PoissonDistribution[2];
Wolfram Language code: Plot[CDF[dist, InverseCDF[dist, q]], {q, 0, 1}]
Wolfram Language code: Plot[InverseCDF[dist, CDF[dist, y]], {y, 0, 20}]

CDF and Quantile are inverses for continuous distributions:

Wolfram Language code: dist = ExponentialDistribution[λ];
Wolfram Language code: Assuming[x > 0 && λ > 0, Simplify[Quantile[dist, CDF[dist, x]] == x]]
Wolfram Language code: Assuming[1 > q > 0 && λ > 0, Simplify[CDF[dist, Quantile[dist, q]] == q]]

The sum of the CDF and the survival function is 1:

Wolfram Language code: CDF[UniformDistribution[], x]
Wolfram Language code: SurvivalFunction[UniformDistribution[], x]
Wolfram Language code: % + %%//Simplify

ProbabilityPlot generates a parametric plot of the empirical CDF vs estimated CDF:

Wolfram Language code: data = RandomVariate[ExponentialDistribution[1], 100];
Wolfram Language code: ProbabilityPlot[data, ExponentialDistribution[λ]]

CDF is a right-continuous function with left limits:

Wolfram Language code: DiscretePlot[CDF[BenfordDistribution[7], x], {x, 1, 8}, ExtentSize -> Right, ExtentMarkers -> {"Filled", "Empty"}]
Wolfram Language code: CDF[BenfordDistribution[7], x]//PiecewiseExpand

Possible Issues  (2)

Symbolic closed forms do not exist for some distributions:

Wolfram Language code: CDF[StableDistribution[0, 1.8, -0.5, 1, 2], x]

Numerical evaluation works:

Wolfram Language code: CDF[StableDistribution[0, 1.8, -0.5, 1, 2], 0.3]

Substitution of invalid values into symbolic formulas can give results that are not meaningful:

Wolfram Language code: CDF[CauchyDistribution[2, 3], y] /. {y -> 1.I}

When CDF is given an explicit value as an argument, it does complete checking and does not produce invalid results:

Wolfram Language code: CDF[CauchyDistribution[2, 3], 1.I]

Neat Examples  (1)

CDF for a bivariate censored distribution:

Wolfram Language code: 𝒟 = CensoredDistribution[{{1 / 3, 1 / 3}, {1 / 3, 1 / 4}}, DirichletDistribution[{3, 2, 4}]];
Wolfram Language code: Plot3D[{CDF[DirichletDistribution[{3, 2, 4}], {x, y}], CDF[𝒟, {x, y}]}//Evaluate, {x, -1 / 10, 3 / 4}, {y, -1 / 10, 4 / 5}, ExclusionsStyle -> Red, ImageSize -> Small, PlotPoints -> 35, ViewPoint -> #]& /@ {{2, 0, 1}, {-2, -2, 1}}

See Also

PDF  InverseCDF  SurvivalFunction  InverseSurvivalFunction  HazardFunction  Probability  NProbability  RarerProbability  Integrate  Sum  Histogram  Histogram3D

Tech Notes

    ▪
  • Discrete Distributions
  • ▪
  • Continuous Distributions

Related Guides

    ▪
  • Descriptive Statistics
  • ▪
  • Statistical Distribution Functions
  • ▪
  • Random Variables
  • ▪
  • Probability & Statistics

History

Introduced in 2007 (6.0) | Updated in 2010 (8.0)

Wolfram Research (2007), CDF, Wolfram Language function, https://reference.wolfram.com/language/ref/CDF.html (updated 2010).

Text

Wolfram Research (2007), CDF, Wolfram Language function, https://reference.wolfram.com/language/ref/CDF.html (updated 2010).

CMS

Wolfram Language. 2007. "CDF." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2010. https://reference.wolfram.com/language/ref/CDF.html.

APA

Wolfram Language. (2007). CDF. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CDF.html

BibTeX

@misc{reference.wolfram_2026_cdf, author="Wolfram Research", title="{CDF}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/CDF.html}", note=[Accessed: 01-September-2026]}

BibLaTeX

@online{reference.wolfram_2026_cdf, organization={Wolfram Research}, title={CDF}, year={2010}, url={https://reference.wolfram.com/language/ref/CDF.html}, note=[Accessed: 01-September-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • AI Access
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English