Cauchy Distribution Calculator

Compute location-scale Cauchy probabilities and density where the mean is undefined.

Math and PercentUpdated 2026-11-182 min read
Cauchy Distribution Calculator
Used only for the Between question, and must be at least x.
Centre of the distribution, also called the median.
Spread parameter, which must be positive.
Probability or density
...
Density at x...
Median...

What it does

The Cauchy distribution looks bell shaped at a glance but behaves very differently from a normal curve. Its tails are so heavy that the average of repeated samples does not settle down, and neither a mean nor a variance exists. The location parameter is the centre and the median instead.

It arises naturally as the ratio of two independent normal variables and in resonance problems where a driving frequency approaches a natural frequency. Physicists sometimes call it the Lorentz or Breit Wigner distribution.

This page asks for a location and a positive scale, then returns cumulative probability, survival probability, an interval chance or the density at a point. The standard Cauchy has location zero and scale one.

Because the moments are undefined, the tool reports the median rather than a mean. That is not a limitation of the calculation, it is a defining property of the distribution and a reason to be careful when summarizing such data.

How to use

  1. Choose whether you want a cumulative, survival, interval or density result.
  2. Enter the value x you are evaluating.
  3. For an interval, add a second value at or above x.
  4. Enter the location, which is the centre and median.
  5. Enter a positive scale that sets the spread.
  6. Read the result as a decimal and a percent where appropriate.

Formula

F(x) = 1/2 + atan((x - x0)/gamma)/PI and f(x) = 1/[PI x gamma x (1 + ((x - x0)/gamma)^2)].
x0
Location parameter in the same units as x, equal to the median.
gamma
Positive scale parameter in the same units as x.
F(x)
Cumulative probability that the variable is at most x.
f(x)
Density at x, which is not itself a probability.

The survival probability is one minus the cumulative value. Subtracting two cumulative values gives an interval chance. The mean is undefined because the integral over the tails does not converge, so no standard deviation is reported.

Worked example

Example: standard Cauchy at x = 1

Location 0, scale 1 and x = 1, asking for the probability of a value at most 1.

  1. Standardize: (x - x0) / gamma = (1 - 0) / 1 = 1.
  2. atan(1) is PI / 4, so the cumulative value is 0.5 + 0.25 = 0.75.
  3. Density: 1 / (PI x 1 x (1 + 1 squared)) = 1 / (2 PI) = 0.1592.
  4. The median equals the location, which is 0.
  5. Tool shows probability 0.7500 (75.00 %), density 0.1592 and median 0.

Reference table

Standard Cauchy probabilities and density at three values
Value xP(X <= x)Density
00.5000 (50.00 %)0.3183
10.7500 (75.00 %)0.1592
30.8976 (89.76 %)0.0318

Limits

  • Has no finite mean, variance or higher moments.
  • Averages of samples are not reliable estimates of the centre.
  • Assumes the heavy tailed shape is appropriate for the data.
  • Extreme values should not be discarded as errors without checking.

Common mistakes

  • Reporting the location as if it were a mean.
  • Using a normal distribution when the tails are clearly heavier.
  • Treating the density at x as the probability of an exact value.
  • Forgetting that the scale must be positive.
  • Applying a standard deviation to summarize the spread.

Try it yourself

Quick checks. Answers sit tucked under each question.

Standard Cauchy, chance of a value between -1 and 1?

0.5000 (50.00 %), from 0.75 minus 0.25.

Standard Cauchy, chance of a value at most 3?

0.8976 (89.76 %).

What is the median when the location is 0?

0. The location parameter is the median, and no mean is defined.

Questions

Why is there no mean?

The tail integrals do not converge, so the expected value is undefined rather than infinite in a useful sense.

What does the scale mean?

It sets the width of the curve. Doubling the scale doubles the distance between corresponding quantiles.

Where does this distribution appear?

In resonance physics, in ratios of normal variables and in robust statistics as a heavy tailed alternative.

Is it the same as the Lorentz distribution?

Yes. Lorentz and Breit Wigner are common names in physics for the same family.

Can I average Cauchy observations?

The sample average does not converge to the centre as sample size grows. Use the sample median instead.

How do I read a density value?

It is the height of the curve at a point. Probabilities come from areas under the curve over an interval.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.