HomeArticlesHow ToHow to Calculate Z-Score
HOW TO

How to Calculate Z-Score

Calculate z-score step by step — the formula, what it means, how to find probability from a z-table, and how it's used in finance and statistics.

Reviewed by the thecalcu.com team · Last updated August 4, 2026

Free calculators used in this guide

Z-Score CalculatorStandard Deviation Calculator

A z-score tells you exactly how far a single data point sits from the mean of its group, measured in standard deviations. A z-score of 0 means you're exactly at the average. A z-score of +1 means one standard deviation above the mean. A z-score of −2 means two standard deviations below. The value converts any raw measurement into a standardized unit, making it possible to compare results across entirely different scales and datasets.

Step 1: Apply the Z-Score Formula

The formula for a z-score is:

z = (x − μ) / σ

Where:

  • x is the individual data point
  • μ (mu) is the population mean
  • σ (sigma) is the population standard deviation

Worked example: A student scores 85 in an exam. The class mean is 72 and the standard deviation is 10.

z = (85 − 72) / 10 = 13 / 10 = 1.3

The student scored 1.3 standard deviations above the class average. The Z-Score Calculator computes this instantly.

Step 2: Interpret What the Z-Score Means

Once you have a z-score, you can read what it says about relative position:

Z-Score Meaning
0 Exactly at the mean
+1.0 Top 15.9% (better than 84.1% of the group)
+2.0 Top 2.3% (better than 97.7%)
+3.0 Top 0.13%, extremely rare
−1.0 Bottom 15.9%
−2.0 Bottom 2.3%

These percentages come from the normal distribution and hold whenever your data is roughly bell-shaped. For the student in the example, z = 1.3 places them in the top 19.7% of the class.

Step 3: Find the Probability Using a Z-Table

A standard z-table gives the cumulative probability P(Z < z), the share of the distribution that falls below your z-score.

For z = 1.3, look up 1.3 in the table: P(Z < 1.3) = 0.9032

The student scored better than 90.32% of the class. To find the probability of scoring above this level: 1 − 0.9032 = 0.0968, or about 9.7% of students scored higher.

To find the probability between two z-scores, say between z = −1 and z = +1, subtract: P(−1 < Z < 1) = 0.8413 − 0.1587 = 0.6827, the well-known 68% rule.

Step 4: Reverse the Formula to Find a Value from a Z-Score

Sometimes you know the percentile you want and need the corresponding raw value. Rearrange the formula:

x = μ + z × σ

Example: What score marks the 95th percentile in the same exam (mean 72, SD 10)?

The z-score for the 95th percentile is 1.645.

x = 72 + 1.645 × 10 = 72 + 16.45 = 88.45

A student needs to score approximately 88.5 to reach the 95th percentile. The Statistics Calculator can confirm the dataset's central values before you apply the formula.

Step 5: Compare Scores Across Different Groups

This is where z-scores earn their keep. Raw scores can't be compared across different exams or units. Z-scores can.

Example:

  • Student A: 85 in Science (class mean 72, SD 10) → z = (85 − 72) / 10 = 1.3
  • Student B: 78 in English (class mean 65, SD 5) → z = (78 − 65) / 5 = 2.6

Student B's raw score is lower, but their z-score runs twice as high. Relative to their respective classmates, Student B outperformed Student A by a considerable margin. Z-scores make this comparison valid and precise.

The Standard Deviation Calculator finds σ for your dataset before you calculate z-scores.

Step 6: Apply Z-Scores in Finance

Z-scores appear throughout quantitative finance. The most direct application is the Sharpe ratio, which measures risk-adjusted return:

Sharpe Ratio = (Portfolio Return − Risk-Free Rate) / Portfolio Standard Deviation

Example: A fund returns 12% annually. The risk-free rate is 5%. Portfolio standard deviation is 8%.

Sharpe = (12% − 5%) / 8% = 7 / 8 = 0.875

Read this ratio exactly like a z-score: it shows how many standard deviations above the risk-free baseline the portfolio's return sits. A Sharpe ratio above 1.0 counts as good; above 2.0 is excellent.

The Altman Z-Score is a separate formula used in credit analysis to predict bankruptcy risk. It combines five financial ratios, including working capital, retained earnings, and EBIT relative to total assets, into a single composite score. Scores above 2.99 suggest financial health; below 1.81 signals significant distress.

Key Takeaways

  • The z-score formula is z = (x − μ) / σ: subtract the mean, divide by standard deviation.
  • A z-score of +1.3 means the value is 1.3 SDs above average, placing it at approximately the 90th percentile.
  • A z-table converts any z-score into a cumulative probability or percentile rank.
  • To reverse the process and find a value for a target percentile, use x = μ + z × σ.
  • Z-scores standardize measurements, so comparing a science exam result with an English exam result, or a portfolio return with a benchmark, becomes valid.
  • In finance, the same logic powers the Sharpe ratio and Altman Z-Score for risk assessment.

For quick calculations without a table, the Z-Score Calculator handles all steps automatically: formula, probability lookup, and reverse calculation.

Frequently Asked Questions

What is a good z-score?
There's no universally good z-score; it depends entirely on context. In academic testing, a z-score above +1.0 means you scored better than roughly 84% of the group, and above +2.0 puts you in the top 2.3%. In quality control or outlier detection, scores beyond ±3.0 typically get flagged as unusual.
How do I find probability from a z-score table?
A standard z-table gives you P(Z < z), the cumulative probability to the left of your z-score. For z = 1.3, look up 1.3 in the table to get 0.9032, meaning 90.32% of values fall below that point. To find the probability above the score, subtract from 1: P(Z > 1.3) = 1 − 0.9032 = 0.0968, or about 9.68%.
What is the difference between a z-score and a t-score?
A z-score requires knowing the true population mean and standard deviation. A t-score steps in when the population standard deviation is unknown and you're working with a small sample; it uses the sample standard deviation and accounts for extra uncertainty through degrees of freedom. As sample size grows beyond 30, t-scores converge toward z-scores.
What does a negative z-score mean?
A negative z-score means the data point sits below the population mean. Z = −1.5, for instance, means the value is 1.5 standard deviations below average, and roughly 6.7% of values in a normal distribution fall below that point. Negative z-scores aren't bad by default; context decides whether being below the mean actually matters.
How are z-scores used in finance?
Z-scores show up in finance most prominently in the Altman Z-Score, a formula that predicts the probability of corporate bankruptcy using five financial ratios. A score above 2.99 suggests financial health, while below 1.81 signals distress. Z-scores also underpin the Sharpe ratio, where excess return gets standardized by portfolio standard deviation to compare risk-adjusted performance across investments.
How do I use z-scores to detect outliers?
The standard rule flags any data point with |z| > 3 as a potential outlier, since only about 0.27% of values in a normal distribution fall beyond ±3 standard deviations. Some analysts use a stricter |z| > 2.5 threshold. This method is sensitive to the mean and standard deviation themselves being skewed by extreme values, so it works best on roughly symmetric datasets.
How do I calculate a z-score in Excel?
Use the formula =(A2-AVERAGE($A$2:$A$100))/STDEV($A$2:$A$100), where A2 is the individual value and $A$2:$A$100 is your data range. AVERAGE gives the mean and STDEV gives the sample standard deviation. Working with a full population rather than a sample? Use STDEVP instead of STDEV.
Can I compare scores from different datasets using z-scores?
You can, and it's one of the more powerful uses of z-scores. Student A scores 85 in a Science exam (mean 72, SD 10) and Student B scores 78 in an English exam (mean 65, SD 5); their raw scores are incomparable on their own. Converting to z-scores gives Student A a z of 1.3 and Student B a z of 2.6, making it clear Student B outperformed their peers by a larger margin.
What z-score corresponds to the 95th percentile?
The 95th percentile corresponds to z = 1.645 in a standard normal distribution, meaning a value at the 95th percentile sits 1.645 standard deviations above the mean. To find the actual value, use the reverse formula: x = μ + 1.645 × σ. For a dataset with mean 72 and SD 10, the 95th percentile value works out to 72 + 16.45 = 88.45.
How are z-scores used in credit risk assessment?
The Altman Z-Score model, developed in 1968, uses five financial ratios, working capital/total assets, retained earnings/total assets, EBIT/total assets, market value of equity/total liabilities, and sales/total assets, to produce a composite score. Banks and analysts use this score to estimate default risk: scores above 2.99 count as safe, 1.81-2.99 sits in a grey zone, and below 1.81 signals high distress probability.
Do z-scores only work for normally distributed data?
You can calculate a z-score for any dataset, but the probability interpretations (like "top 84%" for z = +1) rely on the data being roughly normal. For highly skewed data, the z-score formula still standardizes the value, but mapping it to a percentile using a standard normal table won't be accurate. In those cases, use empirical percentile ranks or transform the data before applying z-scores.
What happens at extreme z-scores like ±4 or ±5?
Extreme z-scores represent very rare events. Z = 4 corresponds to roughly 1 in 31,574 occurrences; z = 5 is about 1 in 3.5 million. In practice, values this far from the mean often signal data entry errors, measurement anomalies, or genuinely exceptional events. Financial models built on the assumption that such extreme events were nearly impossible famously underestimated tail risk during the 2008 financial crisis.

Related Articles

HOW TO

How to Calculate Standard Deviation

HOW TO

How to Run an A/B Test Significance Test

BEST OF

Best Free Calculators for Students 2026

HOW TO

How to Calculate Probability

HOW TO

How to Calculate Burn Rate and Runway