Rayleigh Distribution Calculator
Find Rayleigh distribution probabilities, PDF, CDF, mean, variance, and full distributional statistics for any scale parameter sigma.
📡 What is the Rayleigh Distribution?
The Rayleigh distribution is a continuous probability distribution that describes the magnitude of a two-dimensional vector whose components are each independent, zero-mean Gaussian random variables with equal variance. Named after Lord Rayleigh who used it in acoustics research in 1880, it arises naturally whenever you measure the distance from the origin to a point scattered by 2-D Gaussian noise.
The distribution has a single parameter, the scale parameter sigma, which equals the mode (most likely value). Real-world applications span wireless communications (Rayleigh fading channel models for LTE and 5G), meteorology (wind speed distributions where horizontal components are Gaussian), oceanography (wave height statistics), radar signal processing (target amplitude models), and reliability engineering (bearing failure times under combined stress). Whenever a physical quantity is the combined magnitude of two equal-variance, uncorrelated Gaussian forces, the Rayleigh distribution is the natural model.
A common misconception is that the Rayleigh distribution is simply an exponential distribution with a squared argument. While the CDF of a Rayleigh(sigma) and an Exponential(1/(2*sigma^2)) look similar when x^2 is substituted, they are different families. The Rayleigh PDF f(x) = (x/sigma^2) * exp(-x^2/(2*sigma^2)) has an extra factor of x that tilts the distribution away from zero. This produces a unimodal shape with a clear peak at x = sigma rather than the strictly decreasing shape of the exponential.
The Rayleigh distribution is a special case of the Weibull distribution (shape k = 2, scale lambda = sigma * sqrt(2)), and its square follows an exponential distribution with rate 1/(2*sigma^2). Understanding these relationships allows statisticians to use the well-developed Weibull and exponential toolkits for Rayleigh data. This calculator handles both the probability evaluation mode (PDF, CDF, survival for any x) and the full distributional statistics mode (mean, median, mode, IQR, skewness, kurtosis) so you can characterize any Rayleigh population instantly.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 - Wind Speed Modeling (sigma = 3 m/s, x = 4 m/s)
What is the probability that wind speed exceeds 4 m/s given sigma = 3 m/s?
Example 2 - Wireless Fading (sigma = 1, signal threshold x = 1.5)
Rayleigh fading channel: probability that signal amplitude falls below threshold 1.5 with sigma = 1?
Example 3 - Ocean Wave Height Statistics (sigma = 2 m)
Full distributional statistics for ocean wave heights with sigma = 2 m.
❓ Frequently Asked Questions
🔗 Related Calculators
What is the Rayleigh distribution formula?
The PDF is f(x) = (x/sigma^2) times exp(-x^2/(2 sigma^2)) for x at least 0. The CDF is F(x) = 1 minus exp(-x^2/(2 sigma^2)). The survival function is P(X greater than x) = exp(-x^2/(2 sigma^2)). Sigma is the scale parameter and also equals the mode.
What is the mean of the Rayleigh distribution?
The mean is mu = sigma times sqrt(pi/2), approximately 1.2533 times sigma. For sigma = 2, the mean is about 2.507. The variance is sigma^2 times (4 minus pi) divided by 2, approximately 0.4292 times sigma^2.
What is the median of the Rayleigh distribution?
The median is sigma times sqrt(ln 4), approximately 1.1774 times sigma. For sigma = 1 the median is about 1.177. It is always less than the mean (1.2533 sigma), consistent with the right skew.
What is the mode of the Rayleigh distribution?
The mode equals the scale parameter sigma exactly. It is the most likely value and the peak of the PDF. For sigma = 3 the peak of the distribution is at x = 3.
When should I use the Rayleigh distribution?
Use the Rayleigh distribution when a quantity is the magnitude of a 2-D vector whose two independent components are each normally distributed with mean zero and the same standard deviation sigma. Classic applications include wind speed, ocean wave heights, wireless channel fading, and radar target detection.
How is the Rayleigh distribution related to the normal distribution?
If X and Y are independent N(0, sigma^2) random variables, then the distance R = sqrt(X^2 + Y^2) follows a Rayleigh distribution with parameter sigma. The Rayleigh is the radial component of a 2-D Gaussian and naturally appears whenever you measure the magnitude of a 2-D noise vector.
What is the relationship between the Rayleigh and chi-squared distributions?
If X and Y are independent standard normals, then (X^2 + Y^2) follows a chi-squared distribution with 2 degrees of freedom. The square root of a chi-squared(2) random variable, scaled by sigma, gives a Rayleigh(sigma). Equivalently, (R/sigma)^2 is chi-squared(2) or Exponential(1/2).
What is Rayleigh fading in wireless communications?
Rayleigh fading models the envelope of a received radio signal that travels multiple reflected paths with no dominant line-of-sight component. Each multipath component contributes a Gaussian-distributed in-phase and quadrature signal, so the combined envelope is Rayleigh distributed. It predicts worst-case channel conditions and is used in LTE and 5G link budget analysis.