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 the probability from a z-table, and how z-scores are used in finance, education, and statistics.

Updated 2026-06-26

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 are 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 standardised 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. To compute this instantly, use the Z-Score Calculator.

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

This means 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, which is 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 to find 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. You can verify this using the Mean, Median, Mode Calculator to confirm the dataset's central values before applying the formula.

Step 5 — Compare Scores Across Different Groups

This is where z-scores become indispensable. Raw scores cannot 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 is 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.

Use the Standard Deviation Calculator to find σ for your dataset before calculating 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

This ratio is interpreted 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 is generally considered 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.
  • Use a z-table to convert 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 standardise measurements, making it valid to compare a science exam result with an English exam result — or a portfolio return with a benchmark.
  • 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

There is 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 are typically flagged as unusual.
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%.
A z-score requires you to know the true population mean and standard deviation. A t-score is used instead when the population standard deviation is unknown and you are 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.
A negative z-score means the data point lies below the population mean. For example, z = −1.5 means the value is 1.5 standard deviations below average. Roughly 6.7% of values in a normal distribution fall below z = −1.5. Negative z-scores are not bad by default — context determines whether being below the mean matters.
Z-scores appear 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 is standardised by portfolio standard deviation to compare risk-adjusted performance across investments.
The standard rule is to flag 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. For stricter detection, some analysts use |z| > 2.5. This method is sensitive to the mean and standard deviation themselves being skewed by extreme values, so it works best on roughly symmetric datasets.
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. If you are working with a full population rather than a sample, use STDEVP instead of STDEV.
Yes — this is one of the most powerful uses of z-scores. If 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. Converting to z-scores gives Student A a z of 1.3 and Student B a z of 2.6, making it clear that Student B outperformed their peers by a larger margin.
The 95th percentile corresponds to z = 1.645 in a standard normal distribution. This means a value at the 95th percentile is 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 is 72 + 16.45 = 88.45.
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 are considered safe, 1.81–2.99 is a grey zone, and below 1.81 indicates high distress probability.
Z-scores can be calculated for any dataset, but the probability interpretations (such as "top 84%" for z = +1) rely on the assumption of a normal distribution. For highly skewed data, the z-score formula still standardises the value, but mapping it to a percentile using a standard normal table will be inaccurate. In those cases, use empirical percentile ranks or transform the data before applying z-scores.
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 indicate data entry errors, measurement anomalies, or genuinely exceptional events. Financial models that assumed extreme events were impossibly rare — based on z-score logic — 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