Cauchy CDF Calculator
The lower-tail probability of a Cauchy distribution with location x₀ and scale γ.
What this page computes
Evaluates P(X ≤ x) = 0.5 + atan((x − x₀)/γ)/π, the Cauchy curve whose tails are so heavy that its mean does not exist.
How to use it
Type the Location x₀, Scale γ, Value x and press Run. x₀ is the location, which is also the median, and γ > 0 is the scale. x is any real value. The mean and variance are undefined, so the page prints neither. With x₀ = 0, γ = 1, x = 1, the page prints P(X ≤ 1) = 0.75.
Running it
Closed form 0.5 + atan((x − x₀)/γ)/π. The arctangent is the whole calculation, so nothing is approximated. Every figure is computed in this browser tab: nothing is uploaded and nothing is stored.
Evaluates P(X ≤ x) = 0.5 + atan((x − x₀)/γ)/π, the Cauchy curve whose tails are so heavy that its mean does not exist. With x₀ = 0, γ = 1, x = 1, the page prints P(X ≤ 1) = 0.75.
Closed form 0.5 + atan((x − x₀)/γ)/π. The arctangent is the whole calculation, so nothing is approximated. The printed result is accurate to exact in double precision; no table is read and nothing is simulated.
How to use this Cauchy distribution calculator
Type each value below and press Run. The page prints the lower-tail probability and the parameter line it used, so the answer can be checked against the formula rather than taken on trust.
The inputs this page reads are Location x₀ (any real number); Scale γ (above 0); Value x (any real number).
The parameterisation
x₀ is the location, which is also the median, and γ > 0 is the scale. x is any real value. The mean and variance are undefined, so the page prints neither.
The numeric method
Closed form 0.5 + atan((x − x₀)/γ)/π. The arctangent is the whole calculation, so nothing is approximated.
The printed value is accurate to exact in double precision. The page returns the lower-tail probability only; it does not also print a test statistic, a p-value or a decision.
What to Expect
Best for
- a heavy-tailed probability
- a ratio of two normals
Not ideal for
- a mean or variance, which do not exist for Cauchy data
- a quantile, which is the separate Cauchy quantile page
What this tool keeps
- Double-precision arithmetic in your own browser
- The same inputs always produce the same output
Common errors
- The scale must be above zero. Any real x is accepted.
Example use cases
- robust-statistics teaching
- ratio distributions
Sample input
x₀ = 0, γ = 1, x = 1.
Sample output
P(X ≤ 1) = 0.75.
Who this is for
- students
- statisticians
Frequently asked questions
Which parameterisation does this page use?
x₀ is the location, which is also the median, and γ > 0 is the scale. x is any real value. The mean and variance are undefined, so the page prints neither.
How is the result computed?
Closed form 0.5 + atan((x − x₀)/γ)/π. The arctangent is the whole calculation, so nothing is approximated. The result is accurate to exact in double precision.
What inputs are refused?
The scale must be above zero. Any real x is accepted.
Is anything uploaded?
No. Every number is computed by JavaScript in this page from the values you typed; nothing is posted, stored or logged.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.