Quick answer: A z-score says how many standard deviations a value sits from the mean: z = (x − μ) / σ. A score of 85 with a mean of 70 and a standard deviation of 10 gives z = 1.50, which converts to the 93.32nd percentile, with P(Z < 1.50) = 0.9332, P(Z > 1.50) = 0.0668 and a two-tailed p of 0.1336. Enter your own value, mean and standard deviation above and this z score calculator returns all of those figures, and also runs the conversion backwards — percentile to z score, and value from z.

How to use this z score calculator

Step 1 — Pick the mode that matches your question. The calculator works in three directions. The first mode finds a z-score from a value: you supply x, the mean μ and the standard deviation σ. The second mode finds a value from a z-score: you supply z, μ and σ, and it returns the raw value x = μ + zσ — the mode you need for questions such as what score marks the top 5 percent. The third mode converts a percentile to a z score: you supply the percentile, and it returns z, together with the matching raw value when you also give a mean and standard deviation.

Step 2 — Enter the mean and standard deviation of the right distribution. These two numbers must describe the same population or test as your value. A score of 85 means one thing against a class mean of 70 with a standard deviation of 10, and something entirely different against a national mean of 100 with a standard deviation of 15. If you only have raw data and need its mean and standard deviation first, compute them with the Standard Deviation Calculator, then bring the two summary numbers back here.

Step 3 — Read the figure that matches your wording. The headline is the answer to the mode you picked. Around it sit the percentile, the two tails P(Z < z) and P(Z > z), and the two-tailed p value from the z score. Below them, a z-table shows the standard reference values from −3.5 to +3.5 so you can cross-check the calculator against the printed table your course uses. Save, copy or email the summary when you need the numbers elsewhere; everything is computed on your device and nothing is uploaded.

What a z-score is — and what it is not

In short: a z-score, also called a standard score, is a distance measured in standard deviations. It takes a value measured in marks, millimetres, dollars or seconds and re-expresses it on a unit-free scale where the mean is 0 and each step of 1 is one standard deviation. That shared scale is the whole point: it is what lets you compare a result from one test with a result from a completely different test.

Suppose a student scores 85 on a maths test with a mean of 70 and a standard deviation of 10, and 78 on an English test with a mean of 65 and a standard deviation of 8. The raw marks say the maths result is higher, but the tests have different centres and spreads. The z-scores settle the comparison properly: maths gives (85 − 70) / 10 = 1.50, English gives (78 − 65) / 8 = 1.625. Relative to each class, the English performance is actually the stronger of the two, because it sits further above its own mean in standard-deviation units. Admissions tutors, exam boards and researchers make exactly this move whenever scores from different instruments have to be placed side by side.

Two properties follow directly from the definition. Z-scores keep the shape of the original distribution: standardising stretches or squeezes the scale and shifts its centre, but a skewed distribution stays skewed — it does not become normal, a point the limits section returns to. And z-scores preserve order perfectly: the largest value always gets the largest z-score. What changes is only the ruler, never the ranking within the same dataset.

The z-score formula, step by step

The formula: z = (x − μ) / σ. Each part does one job. Subtracting the mean, x − μ, measures how far the value is from the centre, in the original units, and gives the sign: positive above the mean, negative below it, zero exactly on it. Dividing by the standard deviation, σ, then converts that distance into standard-deviation units, which removes the original units entirely. A z-score has no units — it is a pure count of standard deviations — and that is precisely why z-scores from different measurements can be compared.

The symbols matter. μ (the Greek letter mu) is the mean of the whole population or reference distribution, and σ (sigma) is its standard deviation. When your mean and standard deviation come from a sample rather than the full population, textbooks write x̄ and s instead, and the same calculation is often called a standardised score rather than a strict z-score. The arithmetic on this page is identical either way; the distinction affects how much trust the resulting percentile deserves, because a small sample's mean and standard deviation are themselves estimates.

The formula also runs backwards, and the reverse direction is a first-class mode of this calculator rather than an afterthought. Starting from z = (x − μ) / σ, multiply both sides by σ and add μ, and you get x = μ + zσ. That rearrangement answers design questions — the value needed to reach a given z-score or percentile — and it is checked by symmetry: feeding x = 85, μ = 70 and σ = 10 forwards gives z = 1.50, and feeding z = 1.50 backwards gives x = 70 + 1.50 × 10 = 85 again.

Worked example: a score of 85, mean 70, standard deviation 10

Take a test score of 85 where the mean is 70 and the standard deviation is 10 — the pre-filled values in the calculator above, chosen because every figure can be verified against a printed z-table. First the z-score itself: z = (85 − 70) / 10 = 15 / 10 = 1.50. The score sits one and a half standard deviations above the mean. Now read the standard normal curve at z = 1.50. The area to the left, P(Z < 1.50), is 0.9332, so the percentile is 93.32%: under a normal model, about 93 percent of scores fall below 85. The area to the right, P(Z > 1.50), is 1 − 0.9332 = 0.0668. And because a two-tailed test counts both extremes, the two-tailed p for |z| = 1.50 is 2 × 0.0668 = 0.1336.

Two companion examples pin down the rest of the scale. A score one standard deviation below the mean — x = 60 with the same μ = 70 and σ = 10 — gives z = −1, a percentile of 15.87% and P(Z < −1) = 0.1587. A score exactly on the mean, x = 70, gives z = 0 and a percentile of exactly 50.00%, because the normal curve is symmetric around its centre. Run all three in the calculator and every figure in this paragraph is reproduced, digit for digit, which is the honest way to decide whether to trust a tool with your real numbers.

Notice what the percentile does and does not claim. It says where 85 would fall if scores followed the normal model with that mean and standard deviation. If the real class had 30 students and 85 was the second-highest mark, its actual rank in that class is a fact about those 30 scripts, not about the curve — the honesty section below explains when the model percentile and the real rank part company.

Z score to percentile: reading the normal curve

In short: the percentile for a z-score is the area under the standard normal curve to the left of that z-score, multiplied by 100. Mathematicians write that area as Φ(z), the cumulative distribution function of the standard normal distribution, and this calculator evaluates it with a high-accuracy approximation to the error function — the same quantity printed, rounded to four decimal places, in every standard normal table.

The landmarks are worth memorising, because they recur constantly. Between z = −1 and z = +1 lies about 68.27 percent of the distribution; between −2 and +2, about 95.45 percent; between −3 and +3, about 99.73 percent. This is the empirical rule, and it gives every z-score an immediate reading: a z of 1.50 sits between the 1σ and 2σ landmarks, so its percentile must lie between 84.13 and 97.72 — and indeed it is 93.32. A z of 2.50, with a percentile of 99.38, is already out in the top one percent. A z beyond ±3.5 is rarer than about 1 in 2,000 on its tail.

The conversion is symmetric, which provides a free check on any figure. Because the curve mirrors around zero, the percentile for −z is 100 minus the percentile for +z: z = −1 gives 15.87, and 100 − 84.13 = 15.87. If a table, a spreadsheet or a website ever gives you a pair that fails that check, one of the two numbers is wrong. This page's z-table below is built to satisfy it exactly, row by row.

Percentile to z score — and value from z

Running the curve backwards is just as common as reading it forwards. A percentile to z score conversion asks: which z has this much of the distribution below it? The answer comes from the inverse cumulative distribution function, Φ⁻¹, which this calculator evaluates with Acklam's rational approximation, accurate to about four decimal places across the range that matters. The 95th percentile converts to z = 1.645 (1.6449 to four places), the famous one-tailed 5 percent cutoff. The 97.5th percentile converts to z = 1.96, the two-tailed cutoff. The 50th percentile converts to z = 0 exactly, and the 15.87th percentile converts back to z = −1, closing the loop with the forward examples.

Chain the inverse conversion to the rearranged formula and you can answer the practical question behind most percentile queries: what raw value sits at a given percentile? For the 95th percentile of a distribution with μ = 70 and σ = 10, z is 1.6449, so x = 70 + 1.6449 × 10 = 86.45 — a score of about 86.5 marks the top 5 percent. Exam boards setting grade boundaries, clinicians defining reference ranges and growth charts, and engineers setting specification limits all perform exactly this two-step: percentile to z, then z to value. The second and third modes of the calculator above perform the two steps separately so you can inspect the intermediate z, or you can enter a percentile with a mean and standard deviation and read the raw value straight from the results panel.

One warning belongs here. Percentiles extremely close to 0 or 100 convert to very large z-scores, and small rounding in the percentile explodes into large movements in z: the 99.99th percentile is z ≈ 3.72, the 99.999th is z ≈ 4.26. Enter percentiles to as many decimal places as you have, and treat extreme-tail conversions as approximations, because the underlying data rarely justify more precision than that anyway.

The p value from a z score: one tail or two?

In hypothesis testing, a z-score becomes a p-value by asking how extreme it is under the null hypothesis — and the honest answer depends on the direction of the test, which is why this calculator shows all three figures rather than guessing. For a right-tailed test, the p-value is the upper tail, P(Z > z). For a left-tailed test, it is the lower tail, P(Z < z). For a two-tailed test, it is both extremes together: p = 2 × P(Z > |z|), the probability of a result at least as far from zero in either direction.

Worked through for the running example: z = 1.50 gives a right-tailed p of 0.0668, a left-tailed p of 0.9332, and a two-tailed p of 0.1336. Against the conventional 0.05 significance level, none of the three reaches significance — a result one and a half standard deviations from the mean is unremarkable, however large the raw gap of 15 marks might look. Contrast z = 1.96, whose two-tailed p is 0.0500 almost exactly, and z = 2.576, the two-tailed 1 percent cutoff with p = 0.0100. Those three cutoffs — 1.645 one-tailed at 5 percent, 1.96 two-tailed at 5 percent, 2.576 two-tailed at 1 percent — cover the great majority of textbook and published work, and each one can be reproduced in the percentile to z score mode by entering 95, 97.5 and 99.5 respectively.

A p-value is not the probability that the null hypothesis is true, and a z-score cannot rescue a badly designed test. What the conversion gives you is an exact, standardised measure of extremeness under a stated model — no more, but also no less, and it is the same conversion performed by every statistics package.

How to read a z-table

A printed z-table (standard normal table) lists Φ(z): the area to the left of z. Most tables split z into a row for the first decimal place and a column for the second, so z = 1.50 is read at row 1.5, column 0.00, giving 0.9332. The curated table below collects the values this page's readers need most — the whole and half standard deviations from −3.5 to +3.5 — and every row agrees with the calculator above, so the two can be used to check each other.

zP(Z < z)PercentileP(Z > z)
−3.50.00020.02%0.9998
−3.00.00130.13%0.9987
−2.50.00620.62%0.9938
−2.00.02282.28%0.9772
−1.50.06686.68%0.9332
−1.00.158715.87%0.8413
−0.50.308530.85%0.6915
0.00.500050.00%0.5000
0.50.691569.15%0.3085
1.00.841384.13%0.1587
1.50.933293.32%0.0668
2.00.977297.72%0.0228
2.50.993899.38%0.0062
3.00.998799.87%0.0013
3.50.999899.98%0.0002

Read the symmetry straight off the rows: the percentile at −1.5 is 6.68, and the upper tail at +1.5 is also 6.68 percent. Printed tables in some textbooks tabulate the area between the mean and z instead of the area to the left; for z = 1.50 that version shows 0.4332, which is 0.9332 − 0.5000. Knowing which of the two table styles you are holding explains almost every apparent disagreement between a textbook answer and this calculator.

Spreadsheets and code: NORM.S.DIST, STANDARDIZE and scipy

Every serious tool implements the same three functions. In Excel and Google Sheets, STANDARDIZE(x, mean, standard_dev) returns the z-score; NORM.S.DIST(z, TRUE) returns P(Z < z), the z score to percentile conversion as a proportion; NORM.S.INV(p) runs the percentile to z score conversion, taking p as a proportion rather than a percentage; and the two-tailed p value from a z score is 2 × (1 − NORM.S.DIST(ABS(z), TRUE)). In R, pnorm and qnorm are the forward and inverse functions. In Python, scipy.stats.norm.cdf and scipy.stats.norm.ppf match them, and statistics.NormalDist in the standard library does both with no installation at all.

Cross-checking is good practice, and small last-decimal differences between tools are normal rounding, not error: this page shows four decimal places for probabilities and two for the z-score headline, spreadsheets show more, and both are rounding the same underlying value. A difference in the second decimal place, by contrast, almost always means a different quantity was computed — most often a one-tailed figure where a two-tailed one was wanted, or a percentile entered as 95 where the function expected 0.95. Match the function to the wording first, then compare digits. For probabilities of counts rather than measurements — successes in a run of trials — the companion tool is the Binomial Distribution Calculator.

Common mistakes

Dividing by the variance instead of the standard deviation. The denominator of the z-score formula is σ, not σ². With a variance of 100, the standard deviation is 10, and dividing by 100 shrinks every z-score tenfold. If your z-scores all look suspiciously small, this is the first suspect.

Using the wrong mean and standard deviation. A z-score is only meaningful against the distribution the value actually belongs to. Standardising a child's height against adult statistics, or one exam's marks against another exam's mean, produces a precise number that answers a question nobody asked.

Reading the percentile as a percentage score. The 93.32nd percentile does not mean 93.32 percent marks, or 93.32 percent correct. It means the model places about 93.32 percent of values below this one. Percentile and percentage share syllables and nothing else.

Mixing up one-tailed and two-tailed p-values. The two-tailed p is exactly double the one-tailed p for a symmetric distribution. Reporting 0.0668 where the test was two-tailed understates the p-value by half — in the worked example, the difference between 0.0668 and the correct 0.1336. Decide the direction from the research question before looking at the data, not after.

Treating a standardised skewed distribution as normal. Computing z-scores does not normalise anything. The percentile read from the normal curve for a strongly skewed variable, such as income or reaction time, can be far from the share of real observations below the value — the next section states this limit in full.

Honest limits: what this calculator does not do

The central limit deserves plain words: z-scores assume a normal distribution for everything beyond the z-score itself. The number z = (x − μ) / σ is a pure rescaling and is defined for any data with a mean and a standard deviation. But the percentile, P(Z < z), P(Z > z) and every p value from a z score on this page are read from the standard normal curve. They are model values — where your value would fall if the distribution were normal with your mean and standard deviation — not your data's actual rank. If the real distribution is skewed, bimodal or heavy-tailed, the model percentile and the real share of observations below your value can differ substantially, and no calculator can close that gap without seeing the data itself.

This calculator also works from summary statistics only. It does not accept a list of raw observations, does not compute the mean or standard deviation for you — the Standard Deviation Calculator does that job — and does not test whether your data are normal. It does not handle t-scores or other rescaled standard scores directly, though any such scale is a linear rescaling of z (a t-score in the educational-testing sense, for example, is 50 + 10z). And while the inverse conversion is accurate to about four decimal places across the practical range, percentiles within a hair of 0 or 100 land in territory where the true z depends on decimals nobody measured.

What it does promise: the textbook z-score formula and the standard normal conversions, computed at full precision by well-tested approximations, in all three directions, with worked examples on the page whose every figure you can verify by hand — in your browser, free, with nothing uploaded.

Sources and References