Ultra Calculator
    Statistics

    Z-Score Calculator

    A z-score says how many standard deviations a value sits above or below the mean: z = (x − μ) ÷ σ. A test score of 85 where the mean is 78 and the standard deviation 8 gives z = 7 ÷ 8 = 0.875, about the 81st percentile. Enter the three numbers to get the same.

    Last updated by Ultra Calculator

    Z-Score

    How to calculate it

    z = (x − μ) ÷ σ
    z
    the z-score (standard score)
    x
    the value you are standardising
    μ
    the mean of the group
    σ
    the standard deviation of the group

    The percentile is Φ(z) × 100, where Φ is the standard normal cumulative distribution: the figure a z table gives. In Excel, =NORM.S.DIST(z,TRUE) returns Φ(z).

    In Excel or Google Sheets: =STANDARDIZE(B1,B2,B3)

    Worked example

    Test score above the mean

    A score of 85 in a test with mean 78 and standard deviation 8 gives z = 0.875. On a normal curve that is the 80.92nd percentile, and the score is within one standard deviation of the mean.

    You enter
    Value (x)85
    Mean (μ)78
    Standard Deviation (σ)8
    The calculator returns
    Z-Score0.875
    Percentile80.92%
    Cumulative Probability P(X < x)0.8092
    Distance from Mean7
    How UnusualWithin 1 standard deviation (typical)

    How to use this calculator

    1. Enter the score or measurement in Value (x).
    2. Enter the Mean (μ) and Standard Deviation (σ) of the group you are comparing with.
    3. Read the Z-Score: positive means above the mean, negative means below.
    4. Read the Percentile: the share of a normal distribution that lies below your value.
    5. Use How Unusual as a quick normal-curve guide: within 1, 2 or 3 standard deviations, or beyond.

    Frequently asked questions

    How do you calculate a z-score?

    Subtract the mean from the value, then divide by the standard deviation. For a value of 130 where the mean is 100 and the standard deviation 15, z = (130 − 100) ÷ 15 = 2.

    How do I convert a z-score to a percentile?

    Look up the z-score in a standard normal (z) table, or use =NORM.S.DIST(z,TRUE) in Excel, and multiply by 100. A z-score of 1 is about the 84th percentile, 0 is the 50th, and -1 is about the 16th. The calculator does this for you.

    What is a good z-score?

    It depends on what is being measured. A z-score of 0 is exactly average. For a test score, a z-score of 2 puts you above about 97.7% of a normally distributed group, while for a blood test or a production measurement a large z-score in either direction usually calls for a closer look.

    Can a z-score be negative?

    Yes. A negative z-score means the value is below the mean: z = -1.5 is one and a half standard deviations below. The size of the number shows the distance, and the sign shows the direction.

    What if my data are not normally distributed?

    The z-score itself is still correct: it is just the distance from the mean in standard deviations. The percentile, however, assumes a normal distribution, so for skewed data it can be well off the true share of values below yours.

    Learn more

    Standardising puts different scales side by side

    Converting values to z-scores removes the units. A maths mark of 70 (mean 60, standard deviation 5) has z = 2 and an English mark of 80 (mean 75, standard deviation 10) has z = 0.5, so the maths result stands further out from its group despite the lower mark.

    From z-score to percentile

    On a normal curve every z-score matches one cumulative probability, Φ(z). Multiplying by 100 gives the percentile: the share of the group below the value. A cumulative standard normal (z) table gives the same probabilities.

    The 68-95-99.7 rule

    For normal data about 68% of values have z between -1 and 1, about 95% between -2 and 2, and about 99.7% between -3 and 3. The calculator's How Unusual label uses those same boundaries.

    • Comparing results from two exams that were marked on different scales
    • Checking whether a measurement on a production line is unusually far from target
    • Converting a raw test score into a percentile when a normal model fits
    • Flagging possible outliers in a data set for a closer look
    • Ranking candidates or athletes across several measures that use different units

    Using the standard error instead of the standard deviation

    For a single value, divide by the standard deviation of individual values. The standard error (σ ÷ √n) is for comparing a sample mean with a population mean.

    Entering the variance as the standard deviation

    If you have the variance, take its square root first. Using a variance of 64 instead of a standard deviation of 8 shrinks the z-score eightfold.

    Comparing against the wrong group

    The mean and standard deviation must describe the group the value belongs to, for example the same age band or the same test paper.

    Trusting the percentile for skewed data

    Incomes, waiting times and many biological measures are skewed. For those, a percentile from the actual data is more reliable than one from the normal curve.

    • Work backwards with x = μ + z × σ: a z-score of 1.5 with mean 100 and standard deviation 15 is a value of 122.5.
    • For probabilities between two values, or the value at a given percentile, use the normal distribution calculator.
    • If you only have raw data, work out the mean and standard deviation first with the standard deviation calculator.

    Methodology and sources

    The calculator computes z = (x − μ) ÷ σ and rounds it to 4 decimal places. The cumulative probability Φ(z) comes from the complementary error function, Φ(z) = ½ × erfc(−z ÷ √2), worked out with W. J. Cody's rational approximations, which are accurate to at least 15 decimal places. It is rounded to 4 decimal places, and the percentile is that probability times 100, rounded to 2 decimal places. The probability and percentile assume a normal distribution, while the z-score itself does not. The How Unusual label is typical for |z| ≤ 1, uncommon up to 2, rare up to 3 and very rare beyond 3, judged on the rounded z-score shown.