Skip to main content

Inverse cdf

An inverse cdf is the quantile function: it takes a probability between 0 and 1 and returns the value whose cumulative probability matches that number. In Intro to Probability, you use it to find percentiles and to simulate random variables.

Last updated July 2026•Fiveable Content Team

What is the inverse cdf?

An inverse cdf in Intro to Probability is the function that goes the other way from a cumulative distribution function. Instead of asking, “What is the probability that X is below this value?” you ask, “What value cuts off this much probability?” That makes it the quantile function.

If a CDF is written as F(x), then the inverse cdf is usually written as F^{-1}(p), where p is a probability from 0 to 1. The output is the x-value where the cumulative probability reaches p. For example, F^{-1}(0.5) gives the median, because 50% of the distribution lies at or below that point.

For a continuous random variable, this is often a clean one-to-one mapping over the interval of probabilities. That is why inverse cdfs are so useful for percentiles. If you want the 90th percentile, you are looking for the value that leaves 90% of the distribution to the left.

The idea gets a little trickier for discrete random variables, because a CDF can jump in steps. In that case, the inverse cdf is usually handled as a generalized inverse, meaning you pick the smallest value x such that F(x) is at least p. That keeps the quantile idea working even when the distribution is not smooth.

A compact way to think about it is this: CDFs move from x to probability, and inverse cdfs move from probability back to x. That flip is what makes them useful in percentiles, cutoffs, and random simulation. In many probability problems, the inverse cdf is the step that turns a probability statement into an actual numerical threshold.

Why the inverse cdf matters in Intro to Probability

The inverse cdf shows up any time you need to turn a probability into a concrete value. In Intro to Probability, that means percentile questions, cutoff questions, and simulation questions all point back to the same move.

If a problem asks for the 25th, 50th, or 90th percentile, you are really looking for an inverse cdf value. If the course gives you a CDF graph or formula, you may need to find the x-value where the cumulative probability reaches a target number. That is a different skill from finding area under a curve, but the two ideas work together.

It also matters when you generate random data. A lot of probability simulation starts with a uniform random number between 0 and 1, then transforms it through an inverse cdf to get a sample from the target distribution. That is the backbone of many Monte Carlo methods and random sampling procedures.

The concept sharpens your understanding of how distributions are read. Instead of thinking only about outcomes and densities, you start thinking about probability cutoffs, quantiles, and how one distribution can be translated into another.

Keep studying Intro to Probability Unit 6

Official unit cheatsheet

open one-pager

How the inverse cdf connects across the course

Cumulative Distribution Function (CDF)

The inverse cdf is built from the CDF. A CDF takes an x-value and tells you the probability of being at or below it, while the inverse cdf reverses that move and takes a probability back to an x-value. If you can read a CDF graph, you are already partway to using its inverse.

Quantile

A quantile is the value that marks off a chosen proportion of the distribution. The median is the 50th quantile, and the 90th percentile is another example of a quantile. The inverse cdf is the tool you use to find those values from probability levels.

Random Variable

The inverse cdf returns values of a random variable, not just abstract probabilities. That means the exact output depends on the distribution of the random variable you are studying. Different random variables can have very different inverse cdfs, even when the same probability p is plugged in.

Standardization of Random Variables

Standardization often comes before or alongside inverse cdf work, especially when a distribution is transformed into a simpler one. If a problem standardizes a variable, you may use the standardized form to locate probabilities or quantiles more easily. The two ideas both connect a random variable to a more usable scale.

Is the inverse cdf on the Intro to Probability exam?

A quiz or problem-set question will usually ask you to find a percentile, interpret a cutoff, or use a CDF graph to back out a value. You might be given F(x) and asked for the median or the 80th percentile, which means solving F(x)=0.5 or F(x)=0.8 for x. If the distribution is discrete, expect a step-like answer, where you choose the smallest x with cumulative probability at least p.

You may also see a simulation-style item where you start with a uniform probability and transform it into a value from another distribution. In those problems, the inverse cdf is the bridge between a random number on [0,1] and a random outcome from the distribution. The main move is always the same: translate probability into a value, then interpret that value in context.

The inverse cdf vs Cumulative Distribution Function (CDF)

A CDF and an inverse cdf point in opposite directions. The CDF takes a value and tells you the probability at or below it, while the inverse cdf takes a probability and gives you the matching value or cutoff. If you mix them up, you end up solving the wrong direction of the problem.

Key things to remember about the inverse cdf

  • The inverse cdf, also called the quantile function, turns a probability between 0 and 1 into the matching value of a random variable.

  • Use it when you need percentiles, medians, or other cutoffs that split a distribution into pieces with known probability.

  • For discrete distributions, the inverse cdf is usually treated as the smallest x whose cumulative probability is at least p.

  • In probability simulation, an inverse cdf can turn a uniform random number into a sample from another distribution.

  • If the CDF moves from x to probability, the inverse cdf moves from probability back to x.

Frequently asked questions about the inverse cdf

What is inverse cdf in Intro to Probability?

It is the function that takes a probability level and gives the corresponding value of the random variable. If you plug in 0.5, you get the median; if you plug in 0.9, you get the 90th percentile. It is the reverse direction of a cumulative distribution function.

Is inverse cdf the same as quantile function?

Yes, in Intro to Probability they refer to the same idea. Both names mean you are finding the value that matches a chosen cumulative probability. The word quantile just emphasizes the percentile-style interpretation.

How do you find inverse cdf from a CDF?

Set the CDF equal to the probability you want, then solve for x. For continuous distributions, this may give a single clean value. For discrete distributions, you usually choose the smallest x where the CDF reaches or passes that probability.

Why is inverse cdf used in simulations?

It lets you transform a simple uniform random number into a value from a target distribution. That is useful in Monte Carlo work and in class problems where you need to generate random outcomes with the right probabilities. The inverse cdf does the conversion from [0,1] to the distribution you want.