Normal distribution (Gaussian) Plotter

The normal or Gauss distribution (after Carl Friedrich Gauss) is an important type of continuous probability distribution in stochastics. Its probability density function is also called the Gaussian function, Gaussian normal distribution, Gaussian distribution curve, Gaussian curve, Gaussian bell curve, Gaussian bell function, Gaussian bell or simply bell curve.

The normal or Gauss distribution is defined as:

fx = 1σ2πe-12x-μ2σ2

The graph of this density function has a "bell-shaped" form and is symmetrical around parameter μ as centre of symmetry, which also represents the expected value, the median and the mode of the distribution.

Gaussian Distribution function plot

Using the sliders in the lower part of the graph, the parameters of the Gauss distribution can be varied. The adjustable parameter range can be specified in the numeric fields. The red points on the bell curve can be moved. The integral of the bell curve is calculated for the range between the points. As the total area of the Gauss distribution is normalized to one, the integral corresponds to the area fraction. This means, for example, if the points are set to ±σ, the area is 0.68 or 68% of the total area.

↹#.000
🔍↔
🔍↕

Parameter

μ =
σ =

Area

f(x)
f(x)
σ
Area:
Points:

Axes ranges

x-min=
x-max=
y-min=
y-max=

Parameter ranges

μ-min=
μ-max=
σ-min=
σ-max=

μ and σ are the parameters of the normal distribution. In μ is the center of the distribution and the bell curve takes its maximum there. The inflection points of the function are located at a distance ±σ from the center of symmetry.

For random variables that are normally distributed, the following applies:

Fitting of the Gaussian distribution to measured values

🔍↔
🔍↕
Gaussian curve parameter:

Axes ranges

x-min=
x-max=
y-min=
y-max=
Curve:
Points:
σ
50% Area
Number of points =
↹#.000

An alternative input is possible with load data from file. The values may be separated comma or space or semicolon. The values must be given pairwise x1,y1,x2,y2...

Load from file:

The curve fitting of the Gaussian distribution to the measured values is done by calculation of the weighted average of the measured values. The weighted average corresponds to the μ in the Gaussian distribution. The standard deviation of the measured values from the mean μ is the σ in the normal distribution formula.

μ= i = 1 n x i y i i = 1 n y i

σ = i = 1 n x i - μ 2 y i i = 1 n y i

The displayed bell curve is the fitted Gaussian distribution multiplied by the area A of the measured values.

fx = Aσ2πe-12x-μ2σ2

The area A is calculated by the trapeze formula.

A= i = 1 n-1 x i+1 - x i y i+1 + y i 2

Screenshot of the bell curve image

Print or save the image via right mouse click.

Releated sites

Here is a list of of further useful sites:

Index Circle Triangle Mean Value Calculator Trigonometry Curve fit calculator Parabola Plot Damped Vibration Plot Sine (sin) Plot Cosine (cos) Plot Tangent (tan) Plot Beat frequencies Plot Normal distribution at Wikipedia