StatGardenREF. DESK
Calculators/Statistics/Rayleigh distribution
Statistics

Rayleigh distribution calculator

Computes the PDF, CDF, mean and variance of a Rayleigh distribution from its scale parameter.

What this calculator does

Rayleigh distribution works out computes the PDF, CDF, mean and variance of a Rayleigh distribution from its scale parameter. Enter your own figures above and the answer updates as you type: nothing is fixed in the code, so the result reflects exactly the numbers you supply.

The formula this calculator evaluates is printed under the tool and explained below, so you can check the working by hand or reuse it in a spreadsheet.

The formula

Formulaf(x)=(x/σ²)e^(−x²/2σ²), F(x)=1−e^(−x²/2σ²), mean=σ√(π/2), variance=σ²(4−π)/2

The inputs explained

FieldWhat to enter
x valueA number. Starts at 3.
Scale (σ)A number. Starts at 2.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How the answer changes with x value

Every other input is held at the calculator’s starting values while x value varies. Select any row to load that scenario into the calculator.

How the answer changes with x value
x valuePDF at xCDF, P(X ≤ x)Mean
1.50.2830650.2451602.507
2.250.2987410.4689042.507
30.2434890.6753482.507
4.50.0895040.9204402.507
60.0166630.9888912.507
90.000090150.9999602.507