What the Z value is and why you need it in Excel

A z value (also called a z-score) tells you how many standard deviations a data point sits away from the average. In Excel, you calculate it in two ways: you can find the z-score of a number you already have, or you can find the z value that corresponds to a probability you're working with. Most people need the second one — they have a probability (like 0.95 for a 95% confidence level) and need the z value that goes with it.

The function that does this is NORM.S.INV, which takes a probability and returns the z value. If you're working backward from a z-score you already have to find a probability, you use NORM.S.DIST instead. This guide covers both, so you can move in either direction depending on what you're solving for.

Key Takeaways

  • Use NORM.S.INV to convert a probability (like 0.95) into a z value — this is what most people need for confidence intervals and hypothesis testing.
  • Use NORM.S.DIST to convert a z value you already have into a probability or cumulative percentage.
  • NORM.S.INV syntax is =NORM.S.INV(probability), where probability must be a decimal between 0 and 1.
  • For a two-tailed test at 95% confidence, use 0.975 as your probability, not 0.95, because the function splits the remaining 5% between both tails.
  • Both functions assume a standard normal distribution (mean of 0, standard deviation of 1).

Using NORM.S.INV to find the z value from a probability

Open your spreadsheet and click on an empty cell where you want the result to appear. Type the formula =NORM.S.INV(0.95) and press Enter. Excel returns 1.645, which is the z value that corresponds to a 95% probability in a one-tailed test. This means 95% of the data in a standard normal distribution falls below a z-score of 1.645.

If you're working with a two-tailed test — where you need to split your probability between both ends of the distribution — the math changes. For a 95% confidence level in a two-tailed test, you actually use 0.975 as your input, not 0.95. Type =NORM.S.INV(0.975) and you get 1.96. This is the z value you see in most statistics textbooks for 95% confidence intervals, because it accounts for 2.5% in each tail.

The probability you enter must be a decimal between 0 and 1. If you have a percentage, divide it by 100 first. So 90% becomes 0.90, and 99% becomes 0.99. If you enter a number outside this range, Excel returns an error.

Using NORM.S.DIST to find the probability from a z value

If you already have a z-score and need to find what probability or percentile it represents, use NORM.S.DIST instead. Click an empty cell and type =NORM.S.DIST(1.96, TRUE) and press Enter. Excel returns 0.975, which means a z-score of 1.96 corresponds to the 97.5th percentile — or that 97.5% of the data falls below that point.

The second part of the formula, the TRUE or FALSE, matters. Use TRUE (or 1) for the cumulative distribution, which is what you almost always want — it gives you the percentage of data below that z-score. Use FALSE (or 0) only if you need the probability density at that exact point, which is rarely what you're solving for.

You can also reference a cell instead of typing the number directly. If your z-score is in cell A1, type =NORM.S.DIST(A1, TRUE) and the formula will use whatever value is in A1.

Building a z value lookup table in Excel

If you calculate z values often, create a small reference table so you don't have to type the formula each time. In column A, list the probabilities you use most: 0.90, 0.95, 0.975, 0.99, 0.995. In column B next to each one, type the formula =NORM.S.INV(A1) for the first row, then copy it down. Excel automatically adjusts the cell reference for each row.

Label the columns clearly — "Probability" in A1 and "Z Value" in B1 — so you can glance at it later and remember what each number means. You can also add a third column with the confidence level in percentage form (90%, 95%, etc.) to make it even easier to read. Save this sheet as a template if you use it regularly across multiple projects.

Common mistakes when finding z values

The most frequent error is forgetting to convert a percentage to a decimal. If you need the z value for 95% confidence and you type =NORM.S.INV(95), Excel returns an error because 95 is outside the 0-to-1 range. Always divide percentages by 100 first, or enter them as 0.95 directly.

The second mistake is using 0.95 when you meant a two-tailed test. In statistics, when someone says "95% confidence," they usually mean a two-tailed interval, which requires you to use 0.975 in NORM.S.INV. If you use 0.95 instead, your confidence interval will be narrower than it should be. Check your textbook or assignment to confirm whether you're working with one tail or two.

A third mistake is mixing up NORM.S.INV and NORM.INV. NORM.S.INV is for the standard normal distribution (mean 0, standard deviation 1). NORM.INV lets you specify a different mean and standard deviation, which you need only if you're working with a non-standard distribution. For most statistics work, NORM.S.INV is correct.

When to use z values versus t values

Z values apply when you know the population standard deviation or when your sample size is very large (usually 30 or more). If your sample is smaller and you don't know the population standard deviation, use a t-value instead. In Excel, the equivalent function is T.INV for one-tailed tests or T.INV.2T for two-tailed tests.

The difference matters most with small samples. A z-value of 1.96 for 95% confidence becomes a t-value of 2.045 (or higher, depending on sample size) when you switch to a t-distribution. If you're building a confidence interval and you use z when you should use t, your margin of error will be too small. Check your data and your assignment instructions to know which one applies.

Frequently Asked Questions

What does NORM.S.INV stand for?

NORM.S.INV is short for "normal standard inverse." It takes a probability and returns the z-value that corresponds to it in a standard normal distribution. The "inverse" part means it works backward from what NORM.S.DIST does.

Why do I get an error when I use NORM.S.INV?

The most common cause is entering a probability outside the range 0 to 1. Make sure you've converted percentages to decimals (95% becomes 0.95). Also check that you haven't accidentally typed a number greater than 1 or less than 0, including negative numbers.

Is NORM.S.INV the same in Google Sheets?

Google Sheets uses the same function name and syntax, so =NORM.S.INV(0.95) works identically. The results are the same because both use the standard normal distribution. If you switch between Excel and Sheets, the formulas transfer without changes.

Can I use NORM.S.INV for non-normal data?

No. NORM.S.INV assumes your data follows a normal (bell-curve) distribution. If your data is skewed or has a different shape, the z-value won't be meaningful. Check whether your data is normally distributed before using this function.

What's the difference between a one-tailed and two-tailed z value?

A one-tailed test looks at one end of the distribution, so you use the probability as-is (0.95 for 95%). A two-tailed test splits the probability between both ends, so you add half the remaining percentage to your target (0.975 for a 95% two-tailed test). Your assignment or textbook will specify which one you need.