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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Scale σ: enter 0 or more.
- Value x (0 or more): enter 0 or more.
- 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
| Symbol | Meaning |
|---|---|
| Scale σ | |
| Value x (0 or more) | |
| P(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 − π)σ²/2 | 1.7168 |
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.