Skip to content
FiftyCalc Free calculators for all 50 states

Rayleigh Distribution Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the scale parameter σ and a value x to get Rayleigh probabilities and the distribution's summary values.

Result

Sample figures

P(X ≤ x)—

P(X > x) —

  • Density f(x)—
  • Mean, σ√(π/2)—
  • Median, σ√(2 ln 2)—
  • Mode, σ—
  • Variance, (4 − π)σ²/2—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Rayleigh Distribution Calculator

Scale σ: enter 0 or more. Prefilled example: 2.

Value x (0 or more): enter 0 or more. Prefilled example: 3.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Scale σ: enter 0 or more.
  2. Value x (0 or more): enter 0 or more.
  3. Read the result: P(X ≤ x); the panel also shows P(X > x), Density f(x), Mean, σ√(π/2), Median, σ√(2 ln 2), Mode, σ and Variance, (4 − π)σ²/2.

How this calculator works

Rayleigh distribution with scale σ > 0, for x ≥ 0: density f(x) = (x ÷ σ²) e^(−x² ÷ (2σ²)) and P(X ≤ x) = 1 − e^(−x² ÷ (2σ²)).

Mean = σ√(π/2), median = σ√(2 ln 2), mode = σ, variance = (4 − π)σ² ÷ 2. It is the distribution of the length of a two-dimensional vector whose components are independent normal variables with mean 0 and standard deviation σ, used for wind speeds and signal amplitudes.

The formula

  1. Cdf=1−exp⁡(−x22×σ2)
Symbols used in the formula
SymbolMeaning
σScale σ
xValue x (0 or more)
CdfP(X ≤ x)

Worked example

Scale σ2
Value x (0 or more)3
P(X > x)0.3247
Density f(x)0.2435
Mean, σ√(π/2)2.5066
Median, σ√(2 ln 2)2.3548
Mode, σ2
Variance, (4 − π)σ²/21.7168
  1. Cdf=1−exp⁡(−322×22)=0.675348

P(X ≤ x) 0.6753

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is P(X ≤ 3) when σ = 2?

1 − e^(−9 ÷ 8) ≈ 0.6753.

How is σ related to the mean?

The mean is σ√(π/2) ≈ 1.2533σ, so σ = mean ÷ 1.2533 when you know the mean.

Questions answered

Related calculators