Z-Score Calculator

Last updated: 2026-09-01

Z-Score Calculator — Calculate z-score from raw score.
Inputs
Result
Enter values and press Calculate
Common Examples — Click to Fill
ValueSample meanStandard deviation
Muestra pequena 30284
Datos uniformes 52.5497
Datos dispersos 757010
Muestra grande 112.510515
Valores atipicos 187.517525

TL;DR: To calculate a z-score, subtract the population mean from your raw score and divide that difference by the standard deviation (z = (x – μ) / σ), giving you the number of standard deviations your value lies above (positive) or below (negative) the mean.

What Is the Z-Score Calculator?

A z-score calculator is a statistical tool that converts a single raw score into a standardized value. This standardized value, called a z-score, tells you exactly how far your data point is from the average (the mean) of the entire dataset, measured in units of standard deviation. Instead of looking at a raw number like 85 on a test or 170 cm in height, which is difficult to interpret in isolation, the z-score places that number into a universal context that can be compared across different datasets and distributions.

This calculator is indispensable for students taking introductory statistics, researchers analyzing experimental data, quality control engineers monitoring manufacturing processes, and anyone who needs to understand where a particular observation falls within a larger group. For example, a psychologist measuring anxiety levels, a teacher comparing test scores across different classes, or a financial analyst tracking stock price volatility all use z-scores to make sense of individual data points. The z-score calculation standardizes values so that you can compare a score of 80 on a history test with a score of 70 on a math test, even if the two tests have completely different means and standard deviations.

In practical terms, the z-score transforms raw data into a dimensionless number that follows a standard normal distribution (with a mean of 0 and a standard deviation of 1). This transformation allows you to apply probability tables and statistical inference techniques, making the z-score one of the foundational concepts in inferential statistics. The calculator simplifies this process dramatically: you input a raw score, the mean, and the standard deviation, and it instantly computes your z-score along with an interpretation of its sign.

How to Use the Calculator

Using the z-score calculator is a straightforward three-step process. Follow these steps carefully to ensure you get an accurate result:

  1. Enter the raw score (x): In the first input field, type the specific value you want to evaluate. This could be a test score, a measurement, a financial figure, or any observed data point from your dataset. Example: enter 75.
  2. Enter the mean (μ): In the second input field, type the average of your dataset. The mean is calculated by summing all values and dividing by the total number of observations. If you are working with a sample, ensure you have the correct sample mean. Example: enter 60.
  3. Enter the standard deviation (σ): In the third input field, provide the population standard deviation of your dataset. This measures the dispersion of your data around the mean. Important: the standard deviation must be greater than zero. Example: enter 10.
  4. Click Calculate: Press the calculate button. The calculator will subtract the mean from the raw score (75 – 60 = 15) and then divide that difference by the standard deviation (15 ÷ 10 = 1.5). Your z-score result will be displayed.

Once calculated, the tool will also interpret the sign of your z-score. A positive z-score (e.g., 1.5) means your raw score is above the mean. A negative z-score means your raw score is below the mean. A z-score of zero means your raw score is exactly equal to the mean.

Formula and Calculation Method

The z-score formula is one of the most fundamental equations in statistics. In plain language, you are measuring how many standard deviations a specific value deviates from the average. The calculation works by first finding the distance between your raw score and the mean (which gives you a directional difference), and then scaling that distance by the size of the standard deviation. This scaling makes the result comparable across all normal distributions.

The mathematical formula is written as:

z = (x – μ) / σ

  • z = the z-score (the standardized value)
  • x = the raw score you are evaluating
  • μ = the population mean
  • σ = the population standard deviation

Let’s walk through the exact example from the calculator description. Suppose you have a raw score of 75, a mean of 60, and a standard deviation of 10. First, subtract the mean from the raw score: 75 – 60 = 15. This positive difference of 15 tells you the value is above the mean. Next, divide that difference by the standard deviation: 15 ÷ 10 = 1.5. Your z-score is 1.5. This means the raw score of 75 is one and a half standard deviations above the average of 60. In a standard normal distribution, approximately 93.3% of all values fall below a z-score of 1.5, showing that this observation is relatively high within its distribution.

Another way to think about the formula is that it rescales your data from whatever original units (points, centimeters, dollars) to a unitless number. This unitless property is what allows you to compare observations from completely different datasets. The sign of the result always tells you direction, and the magnitude tells you how extreme the value is. A z-score of 2 is more extreme than a z-score of 1, and a z-score of –0.5 is closer to the mean than a z-score of –2.

Practical Examples

The z-score calculator is versatile and applies to many real-world situations. Below are three distinct scenarios showing how to use the calculator and what the results mean. Each example uses a different set of inputs to illustrate how the sign and magnitude of the z-score change.

Scenario Raw Score (x) Mean (μ) Standard Deviation (σ) Z-Score Interpretation
Exam Performance 85 70 10 1.5 1.5 standard deviations above the class average; well above typical performance.
Product Weight 480 grams 500 grams 20 grams -1.0 1 standard deviation below the target weight; potentially underfilled product.
Blood Pressure 130 mmHg 120 mmHg 15 mmHg 0.67 0.67 standard deviations above average; slightly elevated but within normal range.

In the first example, a student scoring 85 on an exam where the class averaged 70 with a standard deviation of 10 gets a z-score of 1.5. This tells the student they outperformed the vast majority of their peers, sitting noticeably high above the average. In the second example, a factory checking product weights finds a package weighing 480 grams when the target is 500 grams and the process standard deviation is 20 grams. The negative z-score of –1.0 immediately flags this product as being underweight, prompting a quality control check on the filling equipment. In the third example, a blood pressure reading of 130 mmHg against a population mean of 120 mmHg and standard deviation of 15 mmHg yields a z-score of 0.67. While above average, this is not statistically extreme, and it likely falls within a normal clinical range.

Tips for Accurate Results

[content continues]

Getting accurate z-scores requires care in how you enter your inputs. Here are the most important tips to prevent errors and misinterpretation:

  • Ensure standard deviation is positive: The standard deviation (σ) must always be greater than zero. If you enter zero or a negative value, the formula becomes undefined (division by zero) or meaningless. A standard deviation of zero means all data points are identical, making the z-score concept invalid. Double-check your variance calculation; the standard deviation is the square root of the variance and is always non-negative.
  • Use the correct mean for your raw score: The mean must come from the same population or group as your raw score. If you are testing an individual student’s score, use the class mean, not the school-wide mean. Mixing unrelated datasets produces a misleading z-score. For example, comparing a physics exam score to the combined mean of all science exams will give you a distorted picture.
  • Match units between inputs: The raw score, mean, and standard deviation must all be in the same units. If you are measuring salary in thousands of dollars, the mean and standard deviation must also be in thousands. Do not enter a raw score in grams and a mean in kilograms. This unit mismatch will produce a wildly incorrect z-score.
  • Interpret the sign correctly: A positive z-score always means your raw score is above the mean. A negative z-score always means it is below the mean. Zero means equality with the mean. Do not confuse a negative z-score with a "bad" result — for some variables, being below the mean is desirable (e.g., lower blood pressure or lower response time). Always contextualize the sign relative to what you are measuring.
  • Do not use with non-standard distributions blindly: The z-score calculation itself is arithmetic and will always produce a number, but interpreting that number using standard normal probability tables assumes your data follows a normal distribution. If your data is heavily skewed or has multiple modes, a z-score of 2 might not correspond to the 97.7th percentile. Use the z-score for general comparison, but verify normality before making strong probabilistic claims.
  • Distinguish between population and sample standard deviation: If you are working with a sample (a subset of the population), you might have to adjust the formula to use the sample standard deviation (s) instead of the population standard deviation (σ). The calculator typically assumes the population standard deviation is given. If you do not know the population standard deviation and must estimate it from a sample, your z-score is technically a t-statistic, which has a slightly different interpretation for small sample sizes.

By paying attention to these details, you will avoid the most common mistakes in z-score calculation and ensure that your standardized comparisons are rigorous and reliable.

Frequently Asked Questions

Question: What does a negative z-score mean and is it always bad?

A negative z-score means your raw score is below the mean of the dataset. The magnitude (absolute value) tells you how many standard deviations below the mean you are. For example, a z-score of –2.0 means the value is 2 standard deviations below the average. Whether this is "bad" depends entirely on context. If you are measuring error rates, blood pressure, or defect counts, a negative z-score is actually good because being below the average is desirable. Conversely, if you are measuring test scores, revenue, or height, a negative z-score might be unfavorable. The z-score calculator only tells you position relative to the mean; it does not assign a value judgment. Always interpret the sign with your specific variable in mind.

Question: How do I convert a z-score back to a raw score?

To convert a z-score back to the original raw score, you rearrange the formula to solve for x. The formula is x = μ + (z × σ). Multiply your z-score by the standard deviation, then add the mean. For example, if you have a z-score of 2.0, a mean of 50, and a standard deviation of 8, you calculate 2.0 × 8 = 16, then add 50 to get a raw score of 66. This reverse calculation is useful when you want to find the raw score threshold that corresponds to a specific percentile. For instance, to find the raw score that is 1.5 standard deviations above the mean, you would input z = 1.5 into the reverse formula. This is a common application in test scoring and performance benchmarks.

Question: What is the difference between a z-score and a t-score?

A z-score and a t-score are similar in purpose — both standardize a value by measuring the distance from the mean in units of standard deviation — but they differ in their application and calculation assumptions. A z-score uses the population standard deviation (σ) which is known, and a z-score is appropriate when you have the true population parameters. A t-score uses the sample standard deviation (s) when the population standard deviation is not known and you only have a sample. The t-score formula is t = (x – μ) / (s / √n) for hypothesis testing, which is different from the z-score formula presented here. More importantly, the t-score follows a t-distribution that has heavier tails than the normal distribution, especially with small sample sizes. If you use a z-score formula with a sample standard deviation, you are effectively computing a "t-like" approximation that becomes less accurate as sample size decreases. For accurate results with sample data, use a t-score calculator instead.

FAQ

What is a Z-Score Calculator and how does it work?

A Z-Score Calculator is a statistical tool that converts a raw data point into a standardized score, indicating how many standard deviations that point is from the mean of a dataset. It works by taking your input value, subtracting the population or sample mean, and then dividing that result by the standard deviation, thereby allowing you to compare values from different distributions on a common scale.

What inputs do I need to provide to use the Z-Score Calculator?

You need to enter the raw score (the data point you want to convert), the population mean (µ), and the standard deviation (σ) of the distribution. For sample data, you may also need to specify whether you are using the sample standard deviation (with n-1 in the denominator) versus the population standard deviation, as this affects the accuracy of the result.

How do I interpret the Z-Score result given by the calculator?

The resulting Z-Score tells you if your raw score is above or below the mean, and by how many standard deviations. A positive Z-Score indicates the value is above the mean, a negative score indicates it is below, and a score of 0 means it equals the mean. A Z-Score of 2.0, for example, means the raw score is two standard deviations above the average, which typically places it in the top 2.5% of a normal distribution.

Can I use the Z-Score Calculator for hypothesis testing or probability calculations?

Yes, you can use the Z-Score result to find the probability of obtaining a value at or below (or above) your raw score, assuming the data follows a normal distribution. This is done by looking up the Z-Score in a standard normal distribution table or using the calculator's built-in probability function, which gives you the area under the curve. This is useful for null hypothesis testing, determining confidence intervals, or checking if a data point is statistically unusual.