Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Normal Distribution Table (f)
101
points generated · first value at x = -5: 0.00000149
x f(x)
-5 0.00000149
-4.9 0.00000244
-4.8 0.00000396
-4.7 0.00000637
-4.6 0.00001014
-4.5 0.00001598
-4.4 0.00002494
-4.3 0.00003854
-4.2 0.00005894
-4.1 0.00008926
-4 0.00013383
-3.9 0.00019866
-3.8 0.00029195
-3.7 0.00042478
-3.6 0.0006119
-3.5 0.00087268
-3.4 0.00123222
-3.3 0.00172257
-3.2 0.00238409
-3.1 0.00326682
-3 0.00443185
-2.9 0.00595253
-2.8 0.00791545
-2.7 0.01042093
-2.6 0.01358297
-2.5 0.0175283
-2.4 0.02239453
-2.3 0.02832704
-2.2 0.03547459
-2.1 0.0439836
-2 0.05399097
-1.9 0.06561581
-1.8 0.07895016
-1.7 0.09404908
-1.6 0.11092083
-1.5 0.1295176
-1.4 0.14972747
-1.3 0.17136859
-1.2 0.19418605
-1.1 0.21785218
-1 0.24197072
-0.9 0.26608525
-0.8 0.28969155
-0.7 0.31225393
-0.6 0.3332246
-0.5 0.35206533
-0.4 0.36827014
-0.3 0.38138782
-0.2 0.39104269
-0.1 0.39695255
0 0.39894228
0.1 0.39695255
0.2 0.39104269
0.3 0.38138782
0.4 0.36827014
0.5 0.35206533
0.6 0.3332246
0.7 0.31225393
0.8 0.28969155
0.9 0.26608525
1 0.24197072
1.1 0.21785218
1.2 0.19418605
1.3 0.17136859
1.4 0.14972747
1.5 0.1295176
1.6 0.11092083
1.7 0.09404908
1.8 0.07895016
1.9 0.06561581
2 0.05399097
2.1 0.0439836
2.2 0.03547459
2.3 0.02832704
2.4 0.02239453
2.5 0.0175283
2.6 0.01358297
2.7 0.01042093
2.8 0.00791545
2.9 0.00595253
3 0.00443185
3.1 0.00326682
3.2 0.00238409
3.3 0.00172257
3.4 0.00123222
3.5 0.00087268
3.6 0.0006119
3.7 0.00042478
3.8 0.00029195
3.9 0.00019866
4 0.00013383
4.1 0.00008926
4.2 0.00005894
4.3 0.00003854
4.4 0.00002494
4.5 0.00001598
4.6 0.00001014
4.7 0.00000637
4.8 0.00000396
4.9 0.00000244
5 0.00000149

What this calculator does

The Normal Distribution Graph Calculator builds a table of (x, value) pairs for the normal (Gaussian) distribution. You choose one of three functions to tabulate: the probability density \(f(x)\), the lower cumulative probability \(P(x)\) (the cumulative distribution function, or CDF), or the upper cumulative probability \(Q(x)\) (the survival function). The series of x values is defined by an initial value, a step (increment), and the number of points to generate. With mean \(\mu = 0\) and standard deviation \(\sigma = 1\) you get the standard normal distribution.

Two bell curves showing left-shaded lower cumulative area P(x) and right-shaded upper cumulative area Q(x)
Lower cumulative P(x) is the shaded area to the left of x; upper cumulative Q(x) is the area to the right.

How to use it

Pick a function. Enter the mean \(\mu\) and the standard deviation \(\sigma\) (which must be greater than 0). Set the initial value of x, the increment between consecutive x values, and the number of repetitions (points). The calculator outputs a table where each row i gives \(x = \text{initialX} + i \cdot \text{step}\) and the chosen function evaluated at that x. The default settings (\(\mu=0\), \(\sigma=1\), start = -5, step = 0.1, 101 points) sweep x from -5 to +5 and trace the familiar bell curve for f or the S-shaped curve for P.

The formula explained

The density is $$f(x,\mu,\sigma) = \frac{1}{\sigma\sqrt{2\pi}}\, e^{-\frac{1}{2}\left(\frac{x - \mu}{\sigma}\right)^{2}}.$$ The cumulative probabilities use the error function: with \(z = \frac{x-\mu}{\sigma\sqrt{2}}\), the lower cumulative is $$P = \frac{1}{2}\left(1 + \operatorname{erf} z\right)$$ and the upper cumulative is \(Q = 1 - P\). Because Java/Groovy has no built-in erf, this tool uses the Abramowitz & Stegun 7.1.26 polynomial approximation, accurate to about \(1.5\times10^{-7}\).

Advertisement
Bell-shaped normal distribution curve with mean mu at center and standard deviation sigma marked
The normal probability density f(x) forms a symmetric bell curve centered on the mean μ with spread set by σ.

Worked example

Standard normal (\(\mu=0\), \(\sigma=1\)) at x = 1: $$f(1) = 0.3989423 \cdot e^{-0.5} = 0.241971.$$ For P, \(z = \frac{1}{\sqrt{2}} = 0.70711\), \(\operatorname{erf}(z) \approx 0.68269\), so $$P = \frac{1}{2}(1 + 0.68269) = 0.84134$$ (the well-known \(\Phi(1) \approx 0.8413\)). Then \(Q = 1 - 0.84134 = 0.15866\), and \(P + Q = 1\). ✓

FAQ

Why must \(\sigma\) be positive? A zero or negative standard deviation has no meaning and would divide by zero in the formulas, so the tool rejects it.

Can the step be negative? Yes. A negative step counts x downward; a zero step gives a constant column of identical x values.

How accurate are P and Q? They use a polynomial erf approximation with maximum error around \(1.5\times10^{-7}\), more than enough for graphing and most statistical work.

Last updated: