What Is the Rayleigh Distribution?
The Rayleigh distribution is a continuous probability distribution for non-negative random variables. It emerges naturally when you measure the magnitude of a 2D vector whose components follow independent normal distributions with mean zero. Named after 19th-century physicist John William Strutt (Lord Rayleigh), it became prominent in his work on acoustics and wave phenomena.
Mathematically, the Rayleigh distribution is a special case of the Weibull distribution where the shape parameter equals 2. This relationship means many Weibull properties generalise directly. The distribution also connects to the exponential distribution—if you square a Rayleigh-distributed random variable, you obtain an exponential distribution.
Key characteristics:
- Always non-negative (x ≥ 0)
- Single parameter σ (scale) controls spread
- Right-skewed shape with mode at σ
- Flexible enough for engineering and scientific applications
Mathematical Definition
The Rayleigh distribution is fully determined by its scale parameter σ. Below are the essential functions and moments:
PDF: f(x) = (x/σ²) × exp(−x²/(2σ²))
CDF: F(x) = 1 − exp(−x²/(2σ²))
Mean: μ = σ × √(π/2)
Variance: V = σ² × (4−π)/2
Median: M = σ × √(2 × ln(2))
Mode: σ
σ (sigma)— Scale parameter; controls the spread and location of the distributionx— Random variable value; must be non-negativeπ— Mathematical constant, approximately 3.14159
Applications Across Disciplines
The Rayleigh distribution's natural connection to 2D magnitude problems makes it invaluable across multiple fields:
- Wind energy and meteorology: Wind speed at a given height often follows a Rayleigh distribution, aiding turbine placement and resource assessments.
- Hydrodynamics and ocean engineering: Wave amplitudes and significant wave heights in complex sea states frequently exhibit Rayleigh behaviour.
- Communications and signal processing: Envelope magnitude of narrowband noise in wireless channels obeys Rayleigh statistics, critical for fading channel models.
- Materials and electrical engineering: Component lifetimes, breakdown voltages in capacitors, and resistor degradation can be modelled using this distribution.
- Acoustics: Pressure amplitudes and acoustic intensity measurements in reverberant spaces often follow Rayleigh statistics.
Practical Considerations
When working with Rayleigh calculations, keep these points in mind:
- Distinguish scale parameter from standard deviation — The scale parameter σ is not the standard deviation. The Rayleigh standard deviation equals σ × √((4−π)/2) ≈ 0.655σ. Confusing these will lead to incorrect probability estimates.
- Mode and mean are different — The mode (most likely value) equals σ exactly, but the mean is σ × √(π/2) ≈ 1.253σ. For right-skewed data, always be clear which central tendency you're modelling.
- Non-negative support — The Rayleigh distribution has no probability mass below zero. If your data contains negative values, this distribution is inappropriate—consider a normal or folded-normal alternative instead.
- Quantile function behaviour — Quantiles increase steeply near probability = 1 (high tails), meaning extreme percentiles are highly sensitive to the scale parameter. Small changes in σ dramatically shift upper quantiles.
How to Use This Calculator
The calculator offers multiple modes to address different analytical needs:
- Probability mode: Input a value x and scale σ to find P(X ≤ x), P(X < x), P(X ≥ x), or P(X > x). Useful for reliability and risk assessments.
- PDF / CDF mode: Evaluate the probability density function or cumulative distribution function at a specific point. Export these for plotting.
- Quantile mode: Given a probability p (between 0 and 1), find the corresponding quantile value. Essential for tolerance design and safety margins.
- Descriptive statistics mode: Compute mean, median, mode, variance, standard deviation, and skewness in one step. Ideal for data summary and distribution characterisation.
- Random sampling mode: Generate n independent random samples from a Rayleigh distribution with your chosen σ. Useful for Monte Carlo simulations and robustness testing.