Rayleigh Distribution Calculator

Rayleigh Distribution Calculator

Find the chance a Rayleigh-distributed value, such as wind speed at a site, is above, below or between given levels, starting from either the average or σ.

P(X > x) = e^(−x² ÷ 2σ²)

For wind, the average is the site's mean wind speed; σ is then the average ÷ 1.2533.

Enter the average and a value

What is the Rayleigh Distribution?

The Rayleigh distribution describes the size of something built from two independent, equally variable components at right angles. Wind is the classic case: north–south and east–west gusts combine into a speed that can't be negative and has a long upper tail.

Wind energy studies use it as a quick model of a site's wind speeds when only the average is known. The same shape appears for wave heights at sea, radio signal strength in cities, and the distance of a shot from the centre of a target.

It's a special case of the Weibull distribution with shape 2, so one number, either the mean or the scale σ, fixes the whole curve.

Rayleigh Distribution Formula

As the Weibull distribution with shape 2, given in the NIST/SEMATECH e-Handbook, section 1.3.6.6.8. See Sources.

1. Scale from the average

σ = mean ÷ √(π/2) ≈ mean ÷ 1.2533

2. Chance of exceeding a level

P(X > x) = e^(−x² ÷ 2σ²)
P(X < x) = 1 − e^(−x² ÷ 2σ²)

3. Summaries

mode = σ · median = σ√(2 ln 2) · SD = σ√((4 − π) ÷ 2)

Worked Example: Wind Above 10 m/s

Given:
A site with an average wind speed of 6 m/s. For what share of the time does the wind exceed 10 m/s?
Step 1:
Scale:
σ = 6 ÷ 1.2533 = 4.787 m/s
Step 2:
Exponent:
10² ÷ (2 × 4.787²) = 100 ÷ 45.84 = 2.182
Step 3:
Exceedance:
e^(−2.182) = 0.1129
Result:
Above 10 m/s about 11.3% of the time

Roughly 990 hours a year. Because a turbine's power rises steeply with wind speed, those hours matter far more than their share of the time suggests.

Time Above Each Wind Speed at a 6 m/s Site

Assuming Rayleigh-distributed wind with a 6 m/s average.

Share of time above each wind speed
Wind aboveShare of timeHours a year
3 m/s82.17%7,198.3
5 m/s57.96%5,077.3
8 m/s24.75%2,168.3
10 m/s11.29%988.6
15 m/s0.74%64.7
20 m/s0.02%1.4
25 m/s1.20e-61.049e-2

Common Rayleigh Distribution Mistakes

  • Entering the mean as σ. σ is about 80% of the mean. Using the mean as σ overstates high values considerably.
  • Assuming every site is Rayleigh. It's a Weibull with shape fixed at 2. Many real sites fit a shape between 1.5 and 3 better; use measured data when you have it.
  • Mixing heights. Wind speed grows with height. An average measured at 10 m doesn't apply at an 80 m hub.
  • Estimating energy from the average speed. Power depends on speed cubed, so the average of the cubes is much bigger than the cube of the average.

Rayleigh Distribution FAQs

Why is wind speed modelled as Rayleigh?

If the two horizontal wind components are independent and normally distributed around zero with equal spread, the overall speed is exactly Rayleigh.

How does it relate to the Weibull distribution?

Rayleigh is Weibull with shape k = 2 and scale σ√2. The Weibull calculator handles other shapes.

What is the most likely value?

σ itself. It’s lower than the median and the mean because of the long upper tail.

Can a Rayleigh value be negative?

No. It measures a size or speed, so it starts at zero.

Where else does it appear?

Ocean wave heights, the strength of radio signals bouncing around buildings, and the miss distance of shots aimed at a target.

What is the energy pattern factor?

The mean of the cubed speed divided by the cube of the mean speed. For a Rayleigh distribution it’s 6/π ≈ 1.91.

How accurate is the Rayleigh assumption for wind?

Often within 10 to 20% for annual energy at inland sites with moderate winds, but less good for very steady or very gusty sites.

How do I calculate it in Excel?

Excel has no Rayleigh function, but =WEIBULL.DIST(x, 2, σ*SQRT(2), TRUE) gives P(X < x).

Sources

Related Tools