molecalculator

Moles & Molar Mass

Normal Distribution Calculator: Probabilities and Scores

Calculator No. 01-3667 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

A normal distribution calculator converts a value into a probability, percentile, or z-score using the distribution’s mean and standard deviation. Enter the value, mean, and standard deviation to calculate its cumulative probability and the probability of falling between two values.

Formula

The normal distribution is a continuous, symmetric probability distribution defined by its mean and standard deviation. Its probability density function is:

f(x) = [1 / (σ√(2π))] exp(−(x − μ)² / (2σ²))

Here, x is the value being assessed, μ is the mean, and σ is the standard deviation, in the same units as x. The density f(x) is a height, not the probability of one exact value. For a continuous distribution, the probability of any single exact value is zero; probabilities are areas across intervals.

The calculator’s first result is the cumulative probability, also called the cumulative distribution function (CDF):

P(X ≤ x) = Φ((x − μ) / σ) = ½[1 + erf((x − μ) / (σ√2))]

The standardized value z = (x − μ) / σ measures how many standard deviations x lies from the mean. The error function, erf, is a mathematical function used to evaluate the normal CDF. The percentile is 100 times the cumulative probability.

For bounds a and b, with a ≤ b, the probability between them is P(a ≤ X ≤ b) = Φ((b − μ)/σ) − Φ((a − μ)/σ). The probability within z standard deviations of the mean is P(μ − zσ ≤ X ≤ μ + zσ) = erf(z/√2).

Worked Example

With the defaults, x = 1, μ = 0, σ = 1, lower bound = −1, upper bound = 1, and z = 1.959964. The standard deviation is positive, as required.

  • Standardize x: zₓ = (1 − 0) / 1 = 1.
  • Cumulative probability: Φ(1) = 0.841344746…; rounded to six decimal places, the calculator returns 0.841345.
  • Percentile: 100 × 0.841344746… = 84.1344746…%; rounded to two decimal places, 84.13%.
  • Probability between −1 and 1: Φ(1) − Φ(−1) = 0.841344746… − 0.158655254… = 0.682689492…; rounded to six decimal places, 0.682689.
  • Central probability within ±1.959964 standard deviations: erf(1.959964 / √2) ≈ 0.950000; rounded to six decimal places, 0.950000.

Assumptions

  • The modeled variable follows a normal distribution with the supplied mean and standard deviation.
  • The standard deviation must be greater than zero. All bounds, values, and z-scores use consistent units or are unitless as appropriate.
  • The interval calculation requires the lower bound to be no greater than the upper bound.
  • Results are mathematical probabilities; whether a normal model fits real observations must be assessed separately.

How to Use the Results

The cumulative probability answers “What fraction of observations are at or below x?” For the default example, approximately 84.13% of values in the modeled distribution are no greater than one standard deviation above the mean. The fraction above x is the complement, 1 − Φ(zₓ), or about 15.87% in this example.

A percentile is a position in the distribution, not a percentage of the value itself. If a measurement is at the 84th percentile, that means roughly 84% of modeled observations fall at or below it. It does not mean the measurement is 84% of the mean.

The between-bounds output is useful for questions such as the share of measurements within an acceptable range. The central-probability output answers a related question in standard-deviation units: for z = 1.959964, the central area is approximately 95%. This is the source of the familiar two-sided 95% interval μ ± 1.96σ. It describes a range of values under a specified distribution; it is not automatically a confidence interval for an estimated mean.

Background and the 68–95–99.7 Rule

The normal curve is bell-shaped and symmetric around μ. Its mean, median, and mode coincide. The mean sets the center, while the standard deviation controls the spread: increasing σ makes the curve wider and lower, without changing its total area of 1.

For a normal distribution, approximately 68.27% of observations lie within one standard deviation of the mean, 95.45% within two, and 99.73% within three. These are approximations, not exact percentages. The central-probability calculator output makes it possible to evaluate other distances, such as 1.5 or 1.96 standard deviations.

Normal models occur in many statistical settings, but data are not automatically normal just because a bell curve is convenient. Some measured quantities are skewed, bounded, have outliers, or combine distinct groups. A probability computed from a normal model is only as suitable as the model and its parameter estimates.

Choosing Inputs and Avoiding Errors

  • Keep units consistent. If x and μ are in centimeters, σ must also be in centimeters. The z-score itself has no units.
  • Use the standard deviation, not the variance. If a source gives variance σ², take its square root before entering it.
  • Check which tail is requested. The calculator returns P(X ≤ x). For P(X ≥ x), subtract the result from 1; for a two-sided tail beyond ±z, calculate 1 minus the central probability.
  • Order interval endpoints. The lower bound must not exceed the upper bound. Reversing them would imply a negative difference in cumulative areas, not a valid interval probability.
  • Do not confuse probability with density. A density can exceed 1 when the measurement scale is narrow; a probability cannot. Probability is an area over an interval.

Rounding can create small differences when comparing a calculator with a printed z-table. Keep more digits during intermediate calculations and round the final answer to a sensible precision. A displayed probability such as 0.950000 is a proportion; multiply by 100 to express it as 95%.

Frequently Asked Questions

How do I calculate a z-score?
Subtract the mean from the value and divide by the standard deviation: z = (x − μ)/σ. A positive z-score is above the mean; a negative one is below it.

How do I find the probability above a value?
Find the cumulative probability P(X ≤ x), then subtract it from 1. For example, if the cumulative probability is 0.84, the probability above x is about 0.16.

What does a 95% normal range mean?
A central 95% range is approximately μ ± 1.96σ. Under the model, about 95% of observations fall in that interval, leaving about 2.5% in each tail.

Can I use this calculator for data that are not normal?
The formulas still return a value, but it may not describe the data accurately. Check the data’s shape and whether a normal model is justified before interpreting its probabilities.

Is a normal distribution the same as a standard normal distribution?
No. A standard normal distribution is the special case with mean 0 and standard deviation 1. Any normal variable can be converted to that scale with its z-score.

Why is the probability of one exact value zero?
A continuous distribution assigns probability to intervals as areas under a curve. A single point has no width, so its area—and therefore its probability—is zero, even though the density at that point may be positive.

Related

Formula used
in x | Value x | - | 1 | -
in mu | Mean μ | - | 0 | -
in sd | Standard deviation σ | - | 1 | 0.000001
in lo | Lower bound | - | -1 | -
in hi | Upper bound | - | 1 | -
in z | Z-score for tail probability | - | 1.959964 | -
out p | Cumulative probability at x | probability | 0.5 * (1 + erf((x - mu) / (sd * sqrt(2)))) | 6
out pct | Percentile at x | % | 100 * p | 2
out between | Probability between lower and upper bounds | probability | 0.5 * (erf((hi - mu) / (sd * sqrt(2))) - erf((lo - mu) / (sd * sqrt(2)))) | 6
out central | Central probability within ± z standard deviations | probability | erf(z / sqrt(2)) | 6

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →