Skip to content
FiftyCalc Free calculators for all 50 states

Normal Distribution Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the mean and standard deviation of a normal distribution and two values to get the areas under the bell curve.

Result

Sample figures

P(a < X < b)—

z-score of a —

  • z-score of b—
  • P(X < a)—
  • P(X > b)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Normal Distribution Calculator

Mean (μ): enter a number. Prefilled example: 100.

Standard deviation (σ): enter 0 or more. Prefilled example: 15.

Lower value (a): enter a number. Prefilled example: 85.

Upper value (b): enter a number. Prefilled example: 115.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Mean (μ): enter a number.
  2. Standard deviation (σ): enter 0 or more.
  3. Lower value (a): enter a number.
  4. Upper value (b): enter a number.
  5. Read the result: P(a < X < b); the panel also shows z-score of a, z-score of b, P(X < a) and P(X > b).

How this calculator works

Each value is standardized with z = (x − μ) ÷ σ. P(X < a) = Φ(z_a), P(X > b) = 1 − Φ(z_b) and P(a < X < b) = Φ(z_b) − Φ(z_a), where Φ is the standard normal cumulative distribution function.

Φ is computed from the error function, Φ(z) = ½(1 + erf(z/√2)), itself evaluated through the regularized incomplete gamma function (Numerical Recipes, Press et al.).

The formula

  1. Za=a−μσ
  2. Zb=b−μσ
  3. Be=normcdf⁡(Zb)−normcdf⁡(Za)
Symbols used in the formula
SymbolMeaning
μMean
σStandard deviation
aLower value
bUpper value
Zaz-score of a
Zbz-score of b
BeP(a < X < b)
normcdf(x, m, s)the probability that a Gaussian variable with mean m and standard deviation s is at most x (mean zero and standard deviation one without m and s).

Worked example

Mean (μ)100
Standard deviation (σ)15
Lower value (a)85
Upper value (b)115
z-score of a-1
z-score of b1
P(X < a)0.1587
P(X > b)0.1587
  1. Za=85−10015=−1
  2. Zb=115−10015=1
  3. Be=normcdf⁡(1)−normcdf⁡(−1)=0.682689

P(a < X < b) 0.6827

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What share of values is within one standard deviation of the mean?

About 68.27%: with μ = 100 and σ = 15, P(85 < X < 115) = 0.6827.

Is P(X < a) the same as P(X ≤ a)?

Yes for a continuous distribution such as the normal: the probability of exactly one value is zero.

Questions answered

Related calculators