NormalDistribution
✖
NormalDistribution
represents a normal (Gaussian) distribution with mean μ and standard deviation σ.
Details

- The probability density for value
in a normal distribution is proportional to
. »
- NormalDistribution allows μ to be any real number and σ to be any positive real number.
- NormalDistribution allows μ and σ to be any quantities of the same unit dimensions. »
- NormalDistribution can be used with such functions as Mean, CDF, and RandomVariate. »
Background & Context
- NormalDistribution[μ,σ] represents the so-called "normal" statistical distribution that is defined over the real numbers. The distribution is parametrized by a real number μ and a positive real number σ, where μ is the mean of the distribution, σ is known as the standard deviation, and σ2 is known as the variance. The probability density function (PDF) of a normal distribution is unimodal, with the peak occurring at the mean
, and the parameter σ determines both the height of the PDF and the "thickness" of its tails. The PDF of a normal distribution is symmetric about its maximum, and the tails of its PDF are "thin" in the sense that the PDF decreases exponentially for large values of
. (This behavior can be made quantitatively precise by analyzing the SurvivalFunction of the distribution.) The zero-argument form NormalDistribution[] is equivalent to NormalDistribution[0,1] and is sometimes called the standard normal distribution.
- Due to the presence of the Gaussian function
in its PDF, a normal distribution is sometimes referred to as a Gaussian distribution. Informally, a normal distribution may also be referred to as a "bell curve" as a result of the bell-like shape of its PDF. However, it should be noted that other distributions such as CauchyDistribution, StudentTDistribution, and LogisticDistribution also display qualitatively similar "bell" shapes.
- Random variables that are normally distributed are sometimes called normal variates, and the standard normal distribution may also be referred to as the unit normal distribution.
- Normal distributions are among the most widely occurring probability distributions and thus have many applications. For example, normally distributed values are of fundamental importance in applications of the Monte Carlo method. In addition, the normal distribution is also fundamental in defining the so-called Wiener process, a continuous-time stochastic process
consisting of independent increments
, each of which is independent and identically normally distributed with
and
for
. Moreover, a number of probabilistic and statistical values including percentile ranks and
- and
-scores are derived from normal distributions. Furthermore, because of the central limit theorem, the mean of a sufficiently large number of independent random variables will be approximately normally distributed provided certain hypotheses are satisfied, regardless of the original distributions describing the variables. The normal distribution also arises naturally when modeling a number of physical phenomena, such as the velocity of ideal gas molecules, the positions of particles experiencing diffusion, and the long-timescale behavior of thermal light. In addition, a large number of biological phenomena, including sizes of living tissue and quantities such as fasting blood glucose level and blood pressure, yield variables whose logarithms tend to be normally distributed.
- RandomVariate can be used to give one or more machine- or arbitrary-precision (the latter via the WorkingPrecision option) pseudorandom variates from a normal distribution. Distributed[x,NormalDistribution[μ,σ]], written more concisely as xNormalDistribution[μ,σ], can be used to assert that a random variable x is distributed according to a normal distribution. Such an assertion can then be used in functions such as Probability, NProbability, Expectation, and NExpectation.
- The probability density and cumulative distribution functions may be given using PDF[NormalDistribution[μ,σ],x] and CDF[NormalDistribution[μ,σ],x]. The mean, median, variance, raw moments, and central moments may be computed using Mean, Median, Variance, Moment, and CentralMoment, respectively.
- DistributionFitTest can be used to test if a given dataset is consistent with a normal distribution, EstimatedDistribution to estimate a normal parametric distribution from given data, and FindDistributionParameters to fit data to a normal distribution. ProbabilityPlot can be used to generate a plot of the CDF of given data against the CDF of a symbolic normal distribution, and QuantilePlot to generate a plot of the quantiles of given data against the quantiles of a symbolic normal distribution.
- TransformedDistribution can be used to represent a transformed normal distribution, CensoredDistribution to represent the distribution of values censored between upper and lower values, and TruncatedDistribution to represent the distribution of values truncated between upper and lower values. CopulaDistribution can be used to build higher-dimensional distributions that contain a normal distribution, and ProductDistribution can be used to compute a joint distribution with independent component distributions involving normal distributions.
- NormalDistribution is closely related to a number of other distributions. A number of distributions, including LogNormalDistribution, HalfNormalDistribution, NoncentralChiSquareDistribution, and LevyDistribution, can be viewed as transformed versions of NormalDistribution, while NormalDistribution can also be considered a limiting case of a number of distributions, including HyperbolicDistribution, StudentTDistribution, PoissonDistribution, and BinomialDistribution. In addition, NormalDistribution is a special case of ExponentialPowerDistribution (PDF[NormalDistribution[μ,σ],x] is the same as PDF[ExponentialPowerDistribution[2,μ,σ],x]), SkewNormalDistribution (PDF[NormalDistribution[μ,σ],x] is the same as PDF[SkewNormalDistribution[μ,σ,0],x]), and PearsonDistribution (PDF[NormalDistribution[μ,σ],x] is the same as PDF[PearsonDistribution[3,σ-2,-μ σ-2,0,0,1],x] when σ>0) and is the marginal distribution of BinormalDistribution and MultinormalDistribution. NormalDistribution is also closely related to StableDistribution, RiceDistribution, RayleighDistribution, MaxwellDistribution, LevyDistribution, LaplaceDistribution, JohnsonDistribution, ChiDistribution, and ChiSquareDistribution.
Examples
open allclose allBasic Examples (4)Summary of the most common use cases

https://wolfram.com/xid/0gfuuto891sq-7els8w


https://wolfram.com/xid/0gfuuto891sq-miefl7


https://wolfram.com/xid/0gfuuto891sq-0i7ild

Cumulative distribution function:

https://wolfram.com/xid/0gfuuto891sq-rcrn4t


https://wolfram.com/xid/0gfuuto891sq-675i6j


https://wolfram.com/xid/0gfuuto891sq-7ojn4s


https://wolfram.com/xid/0gfuuto891sq-sxr


https://wolfram.com/xid/0gfuuto891sq-g5k


https://wolfram.com/xid/0gfuuto891sq-skc5b

Scope (7)Survey of the scope of standard use cases
Generate a sample of pseudorandom numbers from a normal distribution:

https://wolfram.com/xid/0gfuuto891sq-qhtk5j
Compare its histogram to the PDF:

https://wolfram.com/xid/0gfuuto891sq-03mwaz

Distribution parameters estimation:

https://wolfram.com/xid/0gfuuto891sq-45b7g2
Estimate the distribution parameters from sample data:

https://wolfram.com/xid/0gfuuto891sq-epi747

Compare the density histogram of the sample with the PDF of the estimated distribution:

https://wolfram.com/xid/0gfuuto891sq-f8ui5o

Skewness and kurtosis are constant:

https://wolfram.com/xid/0gfuuto891sq-ezm


https://wolfram.com/xid/0gfuuto891sq-fme

Different moments with closed forms as functions of parameters:

https://wolfram.com/xid/0gfuuto891sq-js043h

https://wolfram.com/xid/0gfuuto891sq-rx074o

Closed form for symbolic order:

https://wolfram.com/xid/0gfuuto891sq-4bz2go


https://wolfram.com/xid/0gfuuto891sq-pknsqa

Closed form for symbolic order:

https://wolfram.com/xid/0gfuuto891sq-ut0n6s


https://wolfram.com/xid/0gfuuto891sq-zg9ct4


https://wolfram.com/xid/0gfuuto891sq-9gzmth

Closed form for symbolic order:

https://wolfram.com/xid/0gfuuto891sq-7bvskj

Hazard function of a normal distribution is increasing:

https://wolfram.com/xid/0gfuuto891sq-fafby6


https://wolfram.com/xid/0gfuuto891sq-h6jaaf


https://wolfram.com/xid/0gfuuto891sq-d6k2f


https://wolfram.com/xid/0gfuuto891sq-yp5dg6


https://wolfram.com/xid/0gfuuto891sq-w11np


https://wolfram.com/xid/0gfuuto891sq-vq6wt5

Consistent use of Quantity in parameters yields QuantityDistribution:

https://wolfram.com/xid/0gfuuto891sq-bf9qsq


https://wolfram.com/xid/0gfuuto891sq-0vdsl

Applications (11)Sample problems that can be solved with this function
Find the percentage of values that lie between and
:

https://wolfram.com/xid/0gfuuto891sq-gl1aql


https://wolfram.com/xid/0gfuuto891sq-w905w5


https://wolfram.com/xid/0gfuuto891sq-p511ms


https://wolfram.com/xid/0gfuuto891sq-mzk8rj

https://wolfram.com/xid/0gfuuto891sq-7t1ez0

Compute ‐values for a
‐test under the null hypothesis
and the alternative
:

https://wolfram.com/xid/0gfuuto891sq-fv1gym


https://wolfram.com/xid/0gfuuto891sq-pwgdil


https://wolfram.com/xid/0gfuuto891sq-o1rm7n

A battery has a lifetime that is approximately normally distributed with a mean of 1000 hours and a standard deviation of 50 hours. Find the fraction with a lifetime between 800 and 1000 hours:

https://wolfram.com/xid/0gfuuto891sq-mqx4j

Out of 100 batteries, compute how many have a lifetime between 800 and 1000 hours:

https://wolfram.com/xid/0gfuuto891sq-pxpvdx


https://wolfram.com/xid/0gfuuto891sq-3ig8k

Coffee beans are sold in 5 lb sacks that have true weight normally distributed with a mean of 5 lbs and a variance of 0.01 lb. Find the probability that a given sack weighs at least 4 lbs, 15 oz:

https://wolfram.com/xid/0gfuuto891sq-ceh9dk

This can be directly computed from the SurvivalFunction:

https://wolfram.com/xid/0gfuuto891sq-iry0zc

A company manufactures nails with length normally distributed, mean 0.497 inches, and standard deviation 0.002 inches. Find the fraction that satisfies the specification of length equal to 0.5 inches plus/minus 0.004 inches:

https://wolfram.com/xid/0gfuuto891sq-mx5o44


https://wolfram.com/xid/0gfuuto891sq-hgy6it

https://wolfram.com/xid/0gfuuto891sq-ctgl1d

Direct computation with CDF:

https://wolfram.com/xid/0gfuuto891sq-djp2vg

A company manufactures nails with length normally distributed and a mean of 0.5 inches. If 50% of the produced nails have lengths between 0.495 and 0.505, find the standard deviation:

https://wolfram.com/xid/0gfuuto891sq-eykifl


https://wolfram.com/xid/0gfuuto891sq-gmmiaw

A sample is selected from a distribution with mean 5 and standard deviation 1.5. Find the minimum size of the sample so that with probability 0.97 the sample mean is within 0.8 of the distribution mean:

https://wolfram.com/xid/0gfuuto891sq-dxiws3

The probability as a function of sample size:

https://wolfram.com/xid/0gfuuto891sq-iozf0

Find the minimum sample size :

https://wolfram.com/xid/0gfuuto891sq-bhijjr

The weight of a person, including luggage, has normal distribution with mean 225 lbs and standard deviation 50 lbs. A plane's load limit is 10000 lbs and it can take 44 passengers. With the maximum number of passengers on board, find the probability of the plane being overloaded:

https://wolfram.com/xid/0gfuuto891sq-d3nkva


https://wolfram.com/xid/0gfuuto891sq-dlqw1f


https://wolfram.com/xid/0gfuuto891sq-cekcxe

Normally distributed points in the plane:

https://wolfram.com/xid/0gfuuto891sq-m2yr2n

Normally distributed points in 3D:

https://wolfram.com/xid/0gfuuto891sq-hxvgk0

Normal distribution was traditionally used to analyze the fractional stock price changes from the previous closing price. Find the estimated distribution for the daily fractional price changes of the S&P 500 index from January 1, 2000, to January 1, 2009:

https://wolfram.com/xid/0gfuuto891sq-dmlawq

The range of fractional prices falls within the range of the normal distribution:

https://wolfram.com/xid/0gfuuto891sq-qka0gn


https://wolfram.com/xid/0gfuuto891sq-vmzp0a

Compare the histogram of the data with the PDF of the estimated distribution:

https://wolfram.com/xid/0gfuuto891sq-dmgmv6

Find the probability of the fractional price change being greater than 0.5%:

https://wolfram.com/xid/0gfuuto891sq-nwvp7k

Find the mean fractional price change:

https://wolfram.com/xid/0gfuuto891sq-kp7n55

Simulate fractional price changes for 30 days:

https://wolfram.com/xid/0gfuuto891sq-exrtb

Show that using LogisticDistribution provides better fit than using normal distribution:

https://wolfram.com/xid/0gfuuto891sq-iz4hry


https://wolfram.com/xid/0gfuuto891sq-sbgb9v

Generate Gaussian white noise:

https://wolfram.com/xid/0gfuuto891sq-gfeazz


https://wolfram.com/xid/0gfuuto891sq-d6oki

https://wolfram.com/xid/0gfuuto891sq-d1z61k

Properties & Relations (36)Properties of the function, and connections to other functions
Normal distribution is closed under translation and scaling:

https://wolfram.com/xid/0gfuuto891sq-lvbv97

In general, affine transformations of independent normals are normal:

https://wolfram.com/xid/0gfuuto891sq-cmgj2l

Normal distribution is closed under addition:

https://wolfram.com/xid/0gfuuto891sq-pbziph

The normal distribution is symmetric about its mean:

https://wolfram.com/xid/0gfuuto891sq-iv7ddw


https://wolfram.com/xid/0gfuuto891sq-3z34n1


https://wolfram.com/xid/0gfuuto891sq-nea2ei

Parameter mixture of a normal distribution with a normal distribution is again a normal distribution:

https://wolfram.com/xid/0gfuuto891sq-5lloa7

Relationships to other distributions:

Normal (SN) JohnsonDistribution is a normal distribution:

https://wolfram.com/xid/0gfuuto891sq-vo26um


https://wolfram.com/xid/0gfuuto891sq-3nfssv


https://wolfram.com/xid/0gfuuto891sq-zi6gr9

StudentTDistribution goes to a normal distribution as goes to
:

https://wolfram.com/xid/0gfuuto891sq-kkestu


https://wolfram.com/xid/0gfuuto891sq-pq23o1


https://wolfram.com/xid/0gfuuto891sq-otyrn7

Normal distribution is a transformation of LogNormalDistribution:

https://wolfram.com/xid/0gfuuto891sq-s7w87a

The inverse transformation of normal distribution yields LogNormalDistribution:

https://wolfram.com/xid/0gfuuto891sq-qgrnvb

HalfNormalDistribution is a truncated normal distribution:

https://wolfram.com/xid/0gfuuto891sq-vi0


https://wolfram.com/xid/0gfuuto891sq-tsy


https://wolfram.com/xid/0gfuuto891sq-91cjn

The normal and half-normal distributions:

https://wolfram.com/xid/0gfuuto891sq-c8nxb

HalfNormalDistribution is a transformation of normal distribution:

https://wolfram.com/xid/0gfuuto891sq-wkkkpw

HalfNormalDistribution is a transformation of normal distribution:

https://wolfram.com/xid/0gfuuto891sq-hh7vqv

NormalDistribution is a special case of ExponentialPowerDistribution:

https://wolfram.com/xid/0gfuuto891sq-ko2nr5


https://wolfram.com/xid/0gfuuto891sq-vk55n2


https://wolfram.com/xid/0gfuuto891sq-ryqqd9

Normal distribution is a special case of SkewNormalDistribution with shape parameter :

https://wolfram.com/xid/0gfuuto891sq-mufnhu


https://wolfram.com/xid/0gfuuto891sq-wrpjmx


https://wolfram.com/xid/0gfuuto891sq-wd84a4

SkewNormalDistribution is a transformation of normal distribution:

https://wolfram.com/xid/0gfuuto891sq-gqmtvb

Sum of squares of standard normally distributed variables follows ChiSquareDistribution:

https://wolfram.com/xid/0gfuuto891sq-0xs75z

Sum of squares of normally distributed variables has NoncentralChiSquareDistribution:

https://wolfram.com/xid/0gfuuto891sq-9rxmu4

The norm of standard normally distributed variables follows ChiDistribution:

https://wolfram.com/xid/0gfuuto891sq-f9ow9o

The norm of three standard normal variables has MaxwellDistribution, a case of ChiDistribution:

https://wolfram.com/xid/0gfuuto891sq-i8678x


https://wolfram.com/xid/0gfuuto891sq-bw00ec


https://wolfram.com/xid/0gfuuto891sq-x5hpe6


https://wolfram.com/xid/0gfuuto891sq-z80cqt

The norm of two standard normally distributed variables follows RayleighDistribution:

https://wolfram.com/xid/0gfuuto891sq-zxvaib

The norm of two normally distributed variables follows RiceDistribution:

https://wolfram.com/xid/0gfuuto891sq-kx2r91

https://wolfram.com/xid/0gfuuto891sq-8i0ud9

NormalDistribution is the limiting case of HyperbolicDistribution of for
and
:

https://wolfram.com/xid/0gfuuto891sq-b1jazy


https://wolfram.com/xid/0gfuuto891sq-mu1v5w


https://wolfram.com/xid/0gfuuto891sq-opm24h

If ,
,
, and
are independent and normal, then
has LaplaceDistribution:

https://wolfram.com/xid/0gfuuto891sq-pnylb3

https://wolfram.com/xid/0gfuuto891sq-lzm43l

Confirm via equality of CharacteristicFunction:

https://wolfram.com/xid/0gfuuto891sq-l5ns7n

If ,
,
, and
are independent and normal, then
has LaplaceDistribution:

https://wolfram.com/xid/0gfuuto891sq-s8qvl9

https://wolfram.com/xid/0gfuuto891sq-flzpbq

Confirm via equality of CharacteristicFunction:

https://wolfram.com/xid/0gfuuto891sq-bsdm8x

Ratio of two normally distributed variables has CauchyDistribution:

https://wolfram.com/xid/0gfuuto891sq-161eqt

Square of a normally distributed variable is a special case of GammaDistribution, and also of ChiSquareDistribution:

https://wolfram.com/xid/0gfuuto891sq-5maj9x


https://wolfram.com/xid/0gfuuto891sq-42avq


https://wolfram.com/xid/0gfuuto891sq-vta6qr


https://wolfram.com/xid/0gfuuto891sq-xh28fy

LaplaceDistribution is a parameter mixture of a normal distribution with RayleighDistribution:

https://wolfram.com/xid/0gfuuto891sq-js1h2z

StudentTDistribution is a parameter mixture of a normal distribution with GammaDistribution:

https://wolfram.com/xid/0gfuuto891sq-r3i4sw

LevyDistribution is a transformation of a normal distribution:

https://wolfram.com/xid/0gfuuto891sq-k9mpt


https://wolfram.com/xid/0gfuuto891sq-eunp24

Normal distribution is a special case of type 3 PearsonDistribution:

https://wolfram.com/xid/0gfuuto891sq-xnrrmj


https://wolfram.com/xid/0gfuuto891sq-j864on


https://wolfram.com/xid/0gfuuto891sq-et4g0n

Normal distribution is a StableDistribution:

https://wolfram.com/xid/0gfuuto891sq-xkrde7


https://wolfram.com/xid/0gfuuto891sq-49eymo


https://wolfram.com/xid/0gfuuto891sq-nuxytu

Normal distribution is the marginal distribution of BinormalDistribution:

https://wolfram.com/xid/0gfuuto891sq-3vqu8o


https://wolfram.com/xid/0gfuuto891sq-u5we3x

Normal distribution is the marginal distribution of MultinormalDistribution:

https://wolfram.com/xid/0gfuuto891sq-48ghft

https://wolfram.com/xid/0gfuuto891sq-9ebrh8


https://wolfram.com/xid/0gfuuto891sq-j7w5h7


https://wolfram.com/xid/0gfuuto891sq-laf19b

NormalDistribution can be obtained from MultinormalDistribution:

https://wolfram.com/xid/0gfuuto891sq-e76tlq

StudentTDistribution can be obtained from NormalDistribution and ChiSquareDistribution:

https://wolfram.com/xid/0gfuuto891sq-uzjzzd

https://wolfram.com/xid/0gfuuto891sq-ftmbps


https://wolfram.com/xid/0gfuuto891sq-7izxbh


https://wolfram.com/xid/0gfuuto891sq-vlmzkx

NoncentralStudentTDistribution can be obtained from NormalDistribution and ChiSquareDistribution:

https://wolfram.com/xid/0gfuuto891sq-6ianfa

https://wolfram.com/xid/0gfuuto891sq-x9yblq

VarianceGammaDistribution can be obtained from GammaDistribution and normal distribution:

https://wolfram.com/xid/0gfuuto891sq-oceirn

https://wolfram.com/xid/0gfuuto891sq-cmjxr6


https://wolfram.com/xid/0gfuuto891sq-csdybi


https://wolfram.com/xid/0gfuuto891sq-z6wqfl


https://wolfram.com/xid/0gfuuto891sq-hrbojx

Possible Issues (2)Common pitfalls and unexpected behavior
NormalDistribution is not defined when μ is not a real number:

https://wolfram.com/xid/0gfuuto891sq-n2l


NormalDistribution is not defined when σ is not a positive real number:

https://wolfram.com/xid/0gfuuto891sq-ef2


Substitution of invalid parameters into symbolic outputs gives results that are not meaningful:

https://wolfram.com/xid/0gfuuto891sq-cbt

Wolfram Research (2007), NormalDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/NormalDistribution.html (updated 2016).
Text
Wolfram Research (2007), NormalDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/NormalDistribution.html (updated 2016).
Wolfram Research (2007), NormalDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/NormalDistribution.html (updated 2016).
CMS
Wolfram Language. 2007. "NormalDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/NormalDistribution.html.
Wolfram Language. 2007. "NormalDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/NormalDistribution.html.
APA
Wolfram Language. (2007). NormalDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NormalDistribution.html
Wolfram Language. (2007). NormalDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NormalDistribution.html
BibTeX
@misc{reference.wolfram_2025_normaldistribution, author="Wolfram Research", title="{NormalDistribution}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/NormalDistribution.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_normaldistribution, organization={Wolfram Research}, title={NormalDistribution}, year={2016}, url={https://reference.wolfram.com/language/ref/NormalDistribution.html}, note=[Accessed: 29-March-2025
]}