Interactive module guide
Rayleigh Distribution Calculator & Guide
This Rayleigh distribution calculator lets you calculate probabilities for vector magnitudes built from two independent normal components.
Free · No sign-up · Calculations stay in your browser
The Rayleigh distribution describes the length of a two-dimensional vector whose coordinates are independent, centered normal variables with common spread σ.
Whenever two orthogonal normal components combine into one magnitude—an in-phase and quadrature signal pair, north and east wind components, horizontal miss distances—the magnitude is Rayleigh.
It equals a Weibull distribution with shape 2 and Weibull scale λ=σ√2, while its square is exponential with mean 2σ².
This page provides closed-form densities, tail probabilities, and quantiles, with the mode at exactly σ and a fixed skewness of about 0.631 at every scale.
Is this the right module for my question?
Use it when
- Use it for signal envelopes in communications: narrowband noise with independent normal I/Q components has a Rayleigh magnitude, the baseline model for fading channels without a dominant line-of-sight path.
- Use it for radial errors: when horizontal position errors are independent normals with equal spread in each axis, the distance from target is Rayleigh, turning circular-error questions into one-line tail computations.
- Use it for wind-speed magnitudes as a standard first model: it is the shape-2 Weibull case with Weibull scale λ=σ√2, so parameter scales must be converted when moving between the two families.
Choose another method when
- Avoid it when a dominant deterministic component rides on the noise: a nonzero mean vector turns the magnitude into a Rice distribution, and forcing Rayleigh underestimates the typical magnitude.
- Avoid it when the two components have unequal spreads or are correlated; the magnitude then follows a more general (Hoyt/Beckmann) law, and the equal-spread assumption is exactly what to check first.
- Avoid using it for signed one-dimensional data; it models nonnegative magnitudes only, and each measurement must already be a length.
Interactive tool
The calculator loads as you approach this section so the guide remains fast on mobile connections.
Example preview
Signal envelope magnitude
- Inputs
- X ~ Rayleigh(σ=1); evaluate a magnitude beyond 2.
- Representative result
- P(X>2) = e⁻² ≈ 0.1353 for the length of two-component normal noise.
Illustrative only. Load the interactive tool to enter your own values and review assumptions.
Watch the explanation
3:50 minThe player loads only after you press play. You can also watch on YouTube.
Read the complete transcript
The Rayleigh Distribution. Why can distance from a target have a most likely value above zero when each coordinate error is centered at zero? Take two independent centered normal coordinates with common spread sigma, then measure their vector length. That nonnegative length is Rayleigh. Sigma must be positive, and it is both the component spread and the magnitude mode. Its density is x over sigma squared times exponential negative x squared over two sigma squared. The cumulative probability is one minus that exponential, so the survival tail is the exponential term itself. Invert the cumulative function to get quantile p as sigma times square root of negative two log one minus p.
Expanding circles create more possible directions while normal decay removes distant points, producing one interior peak. The mode is sigma, the median is about one point one seven seven sigma, and the mean is about one point two five three sigma. Variance is four minus pi over two times sigma squared, so magnitude standard deviation is only about point six five five sigma. Every positive scale has the same mild right skew, about point six three one, and excess kurtosis about point two four five. Beyond k sigma, probability is exponential negative k squared over two: about point one three five beyond two sigma. Square the magnitude and the model becomes exponential with mean two sigma squared, a powerful calculation and diagnostic identity. Rayleigh is also Weibull shape two, but Weibull scale is sigma times square root of two, not sigma itself. Use it for no-line-of-sight signal envelopes, isotropic radial errors, or wind magnitude when the component assumptions are plausible. A nonzero mean vector produces Rice behavior, while unequal or correlated component spreads require a more general family.
Suppose north and east landing errors are independent centered normals, each with sigma ten meters. The median miss, also called circular error probable here, is ten square root two log two, or eleven point seven seven meters. Probability within fifteen meters is one minus exponential negative one point one two five, approximately point six seven five three. The ninety-fifth percentile radius is ten square root negative two log point zero five, approximately twenty-four point four eight meters. As an audit, squared miss distance has exponential mean two hundred square meters, giving the same thirty-two point five percent beyond fifteen meters. One component spread now yields a median radius, coverage probability, and operational ninety-five percent radius with consistent units.
With data, square the observed magnitudes and check whether the transformed values look exponential. Also verify that the density peak occurs at x equal sigma and that no observations are negative. Reject nonpositive sigma, nonfinite inputs, and quantile probabilities outside the open unit interval. Do not use a magnitude model for signed one-dimensional measurements or infer it from a right-skewed histogram alone. A visible deterministic signal or directional offset is evidence for Rice rather than Rayleigh. Report sigma, the two-component assumptions, event boundary, units, population, and whether results describe radius or squared radius. Explore Rayleigh probabilities, quantiles, vector geometry, and squared-magnitude checks free at Distri Scope dot com.
How to read the result
The mode sits at σ, below the mean 1.253σ and median σ√(2 ln 2) ≈ 1.177σ—the mild right skew in numbers.
Tail statements are one-liners: P(X > kσ) = e^{−k²/2}, so magnitudes beyond 2σ occur with probability e^{−2} ≈ 0.135 and beyond 3σ with e^{−4.5} ≈ 0.011.
Because squared magnitude is exponential, power (in the signal sense) is exponentially distributed whenever amplitude is Rayleigh—two views of one model.
Inputs and parameter meaning
One parameter: the component spread σ, which is also exactly the mode of the magnitude; the mean is σ√(π/2) ≈ 1.253σ.
Support is x ≥ 0 and the plotted range runs to the 99.5th percentile.
All shape numbers are parameter-free: skewness ≈ 0.631 and excess kurtosis ≈ 0.245 at every σ, because the family is a pure scale family.
Formula and available parameters
Density or probability mass
Cumulative distribution
Mean
Variance
- Scale (σ): interactive range 0.1 to 5; default 1.
What the method is doing
The CDF is closed-form, 1 − e^{−x²/(2σ²)}, and the quantile function inverts it exactly as σ√(−2·ln(1−p)); no numerical root-finding is involved.
Moments come from the normal-component construction: mean σ√(π/2), variance (2 − π/2)σ², with the fixed shape statistics reported on the summary panel.
The identity X² ~ Exponential(mean 2σ²) links this page to the exponential family and provides a one-line simulation and validation route.
Worked example: miss distance around a target
Horizontal landing errors have independent north and east components, each Normal(0, σ = 10 m). The miss distance from the aim point is then Rayleigh(σ = 10). Find the median miss, the probability of landing within 15 m, the 95th-percentile miss, and the circular error probable (CEP).
- 1Median (= CEP): σ√(2 ln 2) ≈ 10 × 1.1774 ≈ 11.77 m—half of all landings fall inside this circle.
- 2Within 15 m: F(15) = 1 − e^{−15²/200} = 1 − e^{−1.125} ≈ 0.675, about two thirds of landings.
- 3The 95th percentile: Q(0.95) = 10·√(−2 ln 0.05) ≈ 10 × 2.448 ≈ 24.5 m.
- 4Sanity check by squares: miss² is exponential with mean 2σ² = 200 m², so P(miss² > 225) = e^{−225/200} matches step 2’s complement exactly.
Interpretation
One component spread σ = 10 m propagates into every operational number: a CEP just under 12 m and a 95% radius near 25 m. The exponential-square identity doubles as a built-in audit: any Rayleigh statement can be re-derived through squared magnitudes, and disagreement between the two routes signals an arithmetic slip rather than a modeling subtlety.
Common mistakes
- Do not fit Rayleigh to magnitudes with a visible deterministic offset; the Rice family exists precisely for that case, and the Rayleigh is its zero-offset limit.
- Do not confuse the parameter σ (component spread, also the mode) with the magnitude’s own standard deviation, which is σ√(2 − π/2) ≈ 0.655σ.
- Do not treat wind directions and magnitudes as separable without checking; Rayleigh magnitude reasoning assumes isotropic components.
Limits and independent validation
The page covers the one-parameter magnitude family only; Rice, Hoyt, and three-dimensional (Maxwell) generalizations are out of scope.
It describes the theoretical model; testing whether real envelope data are Rayleigh belongs to the fitting tool via the Weibull family at shape ≈ 2.
All shape statistics are fixed by construction—if data show variable skewness across conditions, the family cannot represent it.
Before using the result
- Verify one tail with the closed form P(X > kσ) = e^{−k²/2} against the interval calculator.
- Check the mode visually: the plotted density must peak at exactly x = σ.
- If data are available, square them and test exponentiality—the sharpest practical check of the Rayleigh assumption.
Related modules and resources
Explore Other Probability Distributions
- Normal Distribution Calculator
- Binomial Distribution Calculator
- Poisson Distribution Calculator
- Exponential Distribution Calculator
- Gamma Distribution Calculator
- Beta Distribution Calculator
- Weibull Distribution Calculator
- Lognormal Distribution Calculator
- Continuous Uniform Distribution
- Student’s t Distribution
- Chi-Square Distribution
- F Distribution
- Bernoulli Distribution
- Geometric Distribution
- Negative Binomial Distribution
- Hypergeometric Distribution
- Cauchy Distribution
- Pareto Distribution
- Laplace Distribution
- Logistic Distribution
- Rayleigh Distribution
- Triangular Distribution
- Discrete Uniform Distribution
See every option in the Probability Distribution Explorer or review the DistriScope methodology. Educational information; last reviewed 2026-08-09. Verify consequential calculations independently.