How to Calculate Z Score in Excel

If you just need to calculate z score in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: use =STANDARDIZE(x, mean, standard_dev) — it returns the z-score, the number of standard deviations a value sits from the mean.

On this page8

Syntax

=STANDARDIZE(x, mean, standard_dev)

Arguments

Argumentrequired / optionalDescription
xrequiredThe value to convert to a z-score.
meanrequiredThe mean of the distribution.
standard_devrequiredThe standard deviation. Must be greater than zero.

Related functions

STDEVAVERAGEPERCENTRANK
▤Annotated stepsExcel
1

Compute the mean and standard deviation of the range, or nest AVERAGE and STDEV.S directly.

2

Select the result cell and type =STANDARDIZE(.

3

Enter the value, then the mean, then the standard deviation, separated by commas.

4

Anchor the AVERAGE and STDEV ranges with $ before filling down.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

STANDARDIZE converts a raw value into a z-score: how many standard deviations it lies above or below the mean. That single number makes otherwise incomparable measures comparable — a test score and a response time can be ranked against each other once both are standardised. It is also the basis of the usual outlier rule, where anything beyond roughly ±3 warrants a look. The standard deviation argument must be positive; zero returns #NUM!, which happens when every value in the range is identical. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “calculate z score in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the outcome you expected before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

A value of 88 in a distribution with a mean of 72 and standard deviation of 9: =STANDARDIZE(88, 72, 9) returns 1.78, meaning it sits 1.78 deviations above average. Applied down a column, =STANDARDIZE(B2, AVERAGE($B$2:$B$200), STDEV.S($B$2:$B$200)) standardises the whole series and makes outliers visible at a glance. STANDARDIZE puts different measures on one scale, which is the prerequisite for comparing or combining them at all. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. For “calculate z score in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

Common mistakes

  • Forgetting to anchor the mean and standard-deviation ranges when filling down, so each row standardises against a different distribution.
  • A standard deviation of zero, which returns #NUM! — every value in the range is identical.
  • Reading z-scores as probabilities; converting them needs NORM.S.DIST.

Frequently asked questions

What is a z-score?

The number of standard deviations a value lies from the mean. Zero is exactly average, +2 is two deviations above.

What counts as an outlier?

A common rule of thumb is beyond ±3, though the right threshold depends on the data and how much of it you have.

Why does STANDARDIZE return #NUM!?

The standard deviation argument is zero or negative — usually because every value in the source range is the same.

Other ways people ask this

This is also commonly searched as “how to calculate the z score in excel”, “how to calculate a z score in excel”, “calculate z score in excel” and “how to calculate z-score in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.

Why do people search for this in so many different ways?

Because the same task has many names. “how to calculate the z score in excel”, “how to calculate a z score in excel”, “calculate z score in excel” all point at the one operation explained on this page, which is why they all lead here.