Standardized value

Z-Score Calculator

Measure how many standard deviations an observed value lies above or below a population mean.

Statistical inputs

Enter value, mean, and deviation

z
Standard score

Calculated position

The z-score will appear here

The standard deviation must be greater than zero.

Bell curve with mean at zero and an observed z-score marked to the right
A normal-curve reference illustration: the calculator standardizes a value but does not fit a distribution or return a percentile.

What Is a Z-Score?

A z-score tells you how far an observed value lies from a reference mean in standard deviation units. The Z-Score Calculator takes one observation, a mean and a positive standard deviation, then returns the standardized score, the raw distance from the mean and the direction of the difference.

Use it to describe a value relative to a clearly defined reference group. A z-score of 1.5 means one and a half standard deviations above that group’s mean; −1.5 means the same distance below it. This form accepts summary values rather than a raw dataset and does not calculate a percentile, probability or hypothesis-test result.

How to Use the Z-Score Calculator

  1. Enter Observed value (x), the individual measurement or score you want to standardize.
  2. Enter Mean (μ) for the appropriate reference group. Choose a group relevant to the observation.
  3. Enter Standard deviation (σ) for that same group. It must be greater than zero, in the same measurement units as the observation and mean.
  4. Select Calculate z-score. Read the featured Z-score and the repeated Standard score card.
  5. Check Distance from mean and Direction. The distance is the absolute raw-unit difference; the sign of the z-score shows whether the observation is above or below the mean.

Negative observations and means are allowed. The form does not calculate a mean or standard deviation from a list, so obtain compatible reference summaries first. Keep the measurement scale consistent across all three entries.

Z-Score Formula and Raw Distance

z = (x − μ) ÷ σ

Distance from mean = |x − μ|

Subtract the mean from the observation, then divide the signed difference by the standard deviation. NIST’s standardization documentation describes this subtraction-and-division method. The units cancel in z, while the absolute difference keeps the original measurement unit.

The calculator rounds z to four decimal places and can omit trailing zeroes. The interface calculates raw distance separately and displays that to at most four decimal places. Very small standardized differences can round to zero; the Direction card then reads “At the mean” even if a small raw-unit difference remains.

This is the formula for standardizing an observation. It has no sample-size term and does not automatically substitute the standard error used in a test of a sample mean.

Observed Value, Mean and Standard Deviation

Observed value, x
The single measurement to compare. It may be positive, zero or negative.
Mean, μ
Reference-group average, entered in the same units and on the same scale as x.
Standard deviation, σ
Positive measure of reference-group spread in those same units. A variance is not interchangeable with this input.
Z-score / Standard score
The signed, unitless number of standard deviations between x and μ. The featured and repeated scores are the same result.
Distance from mean
The absolute difference |x − μ| in the original units. This card does not show |z|.
Direction
Above, below or at the mean, based on the rounded z-score returned by the calculation.
Unit
The fixed card “Standard deviations” describes the score’s scale. It is not a measurement-unit selector.

Z-Score Calculation Example

Illustrative example. A hypothetical measurement is 86, with a reference mean of 74 and standard deviation of 8. All three values use the same measurement scale.

The signed difference is 86 − 74 = 12. Divide by the standard deviation: z = 12 ÷ 8 = 1.5. The result means the observation is 1.5 standard deviations above the mean. Distance from mean shows 12 in the original units, and Direction shows Above the mean.

With the same mean and spread, an observation of 62 gives (62 − 74) ÷ 8 = −1.5. Its raw distance is also 12, but it lies below the mean. Equal distances can therefore have opposite signs.

Calculation check. Independent arithmetic and calculator results confirm these hypothetical cases. No assumption about percentiles is needed to perform the standardization.

Additional illustrative comparison. These hypothetical cases use the assumptions stated in the caption.

Hypothetical reference mean 74 and standard deviation 8; raw units remain consistent
Observed xSigned differenceZ-scoreRaw distance
62−12−1.512
74000
86121.512

Z-Scores, Percentiles and Test Statistics

Several statistical quantities use the letter z, but they answer different questions. This form calculates the standardized position of one observation. It does not choose a confidence cutoff or determine a tail area.

Keep the statistical quantity and its reference clear
QuantityQuestion it answersWhat else is needed
Observation z-scoreHow far is x from a mean in SD units?Compatible mean and positive SD
Normal percentileWhat share lies at or below a value?An appropriate normal model or empirical distribution
Critical z valueWhat cutoff gives chosen normal coverage?A confidence level and tail convention
Sample-mean test statisticHow far is a sample mean from a null value?Sample size, standard error and test assumptions

For example, a score of 1.5 gives a standardized distance. Reading an area from a normal table adds a normal-model assumption that the arithmetic alone cannot establish. The form has no probability or percentile result card.

When comparing observations from different groups, state which mean and spread each score uses. Equal z-scores describe equal relative positions on those chosen scales; they do not imply equal raw measurements or that the groups have identical distribution shapes.

How to Interpret a Standard Score

Read the sign and size together. A positive z-score lies above the reference mean, a negative score lies below it, and a magnitude of two means a distance of two standard deviations. “Above” describes position, not whether a result is good or bad.

A z-score does not make a skewed distribution normal. You can standardize a value without assuming a bell curve, but a normal-table percentile or tail probability needs an appropriate distributional model. OpenStax’s standard normal chapter explains the normal-distribution setting. The curve illustration on this page is a reference diagram, not a distribution fitted to your three inputs.

Check how the reference mean and spread were obtained before comparing groups. Population parameters and sample-based summaries have different roles in inference. Supplying a sample standard deviation can give a descriptive standardized value, but the calculator does not decide whether a z-test, t-test or another statistical procedure is justified. It also does not label an observation an outlier automatically.

Common Z-Score Calculation Mistakes

  • Reversing the numerator to μ − x and changing the score’s sign.
  • Entering variance instead of its square root, the standard deviation.
  • Mixing scales, such as an observed length in centimetres with a mean and spread in metres.
  • Reading Distance from mean as a number of standard deviations instead of a raw-unit gap.
  • Treating a negative z-score as an invalid input or a negative probability.
  • Using a normal-table percentile without checking whether the normal model is appropriate.
  • Interpreting a four-decimal displayed zero as proof that the original measurements were exactly equal.

Z-Score Questions

How do I calculate a z-score from a mean and standard deviation?

Subtract the reference mean from the observation, then divide by the positive standard deviation: z = (x − μ) ÷ σ. Enter all three values on the same measurement scale.

What does a negative z-score mean?

It means the observation is below the reference mean. The absolute size tells you the distance in standard deviations; for example, −1.5 means 1.5 standard deviations below.

Is a z-score the same as a percentile?

No. A z-score is a standardized position. A percentile describes the share of a distribution at or below a position. Converting between them needs a distributional model or empirical data; this form does not return percentiles.

Must my data be normally distributed to calculate a z-score?

No. Subtracting a mean and dividing by a positive standard deviation is an arithmetic standardization. A normal-distribution probability interpretation is a separate assumption.

Why is a zero standard deviation rejected?

Dividing by zero is undefined. A zero spread also leaves no positive standard deviation unit with which to express the observation’s distance from the mean.

What units does a z-score use?

The ratio is unitless because the numerator and standard deviation use matching units. We describe its size as a number of standard deviations; the Distance from mean card retains the original units.

Can I paste a list of observations here?

No. This form accepts one observed value, a mean and a standard deviation. Calculate appropriate summaries separately rather than pasting a dataset into a numeric field.

Does this calculator perform a z-test or calculate a p-value?

No. It standardizes one observation and does not accept a null hypothesis, sample size or test direction. A test statistic for a sample mean uses its appropriate standard error and additional assumptions.

Sources and References