BedrockCalculator
Figures cited to primary sourcesWritten by Aapt Dubey, MBA (Marketing & Banking), ISB 4 primary sourcesLast updated

Z-Score Calculator with P-Values and Critical Values

The Z-Score Calculator with P-Values and Critical Values turns a raw score into a z-score, find left, right and two-tailed p-values from the standard normal distribution, or get the critical z for a confidence level.

Quick Answer: A score of 85 from a distribution with mean 70 and standard deviation 10 has a z-score of 1.5. In a normal distribution 93.32% of values fall below it, and its two-tailed p-value is 0.1336.

Assumptions

Computed

Preset scenarios

z-score
1.5
P(Z < z), area to the left
0.9331927987
P(Z > z), area to the right
0.06680720127
Two-tailed p-value
0.1336144025
Area between -|z| and |z|
0.8663855975
Percentile
93.31927987%
One-sided critical z
Choose confidence level mode

Standard normal probabilities for common z-scores

Download CSV
Each row is this calculator run in z-score mode. Probabilities are computed from the error function to 50 digits and shown to 10 significant figures.
zArea to the leftArea to the rightTwo-tailed p
-30.0013498980320.9986501020.002699796063
-2.580.0049400157580.99505998420.009880031516
-20.022750131950.97724986810.0455002639
-1.960.024997895150.97500210490.0499957903
-1.6450.049984905540.95001509450.09996981108
-10.15865525390.84134474610.3173105079
-0.50.30853753870.69146246130.6170750775
00.50.51
0.50.69146246130.30853753870.6170750775
10.84134474610.15865525390.3173105079
1.280.8997274320.1002725680.2005451359
1.6450.95001509450.049984905540.09996981108
1.960.97500210490.024997895150.0499957903
20.97724986810.022750131950.0455002639
2.330.99009692440.0099030755590.01980615112
2.580.99505998420.0049400157580.009880031516
30.9986501020.0013498980320.002699796063
3.50.99976737090.0002326290790.0004652581581
40.99996832880.000031671241830.00006334248367

This table and its CSV are free to reuse with a link to this page, CC BY 4.0.

Critical z-values by confidence level

Download CSV
Each row is this calculator run in confidence level mode. Critical values are found by Newton iteration on the normal CDF and shown to 12 significant figures.
Confidence (%)Two-sided critical zOne-sided critical z
801.281551565540.841621233573
851.439531470941.03643338949
901.644853626951.28155156554
951.959963984541.64485362695
982.326347874042.05374891063
992.575829303552.32634787404
99.52.807033768342.57582930355
99.93.290526731493.09023230617

This table and its CSV are free to reuse with a link to this page, CC BY 4.0.

Z-Score Calculator with P-Values and Critical Values: z-score 1.5 (I have: A raw score, mean and standard deviation; Raw score (x): 85; Mean (μ): 70; Standard deviation (σ): 10).

Save or share this result

A one-page summary of this calculator's default example, drawn from the same calculation as the result above.

The infographic is free to reuse with a link to this page, CC BY 4.0.

Illustration of a smooth sand dune under a pale sky with a small flag planted on its crest
Quick Answer: A score of 85 from a distribution with mean 70 and standard deviation 10 has a z-score of 1.5. In a normal distribution 93.32% of values fall below it, and its two-tailed p-value is 0.1336.

What does this calculator do?

This z-score calculator does three related jobs. It standardises a raw score, turning "85 when the average is 70 and the standard deviation is 10" into "1.5 standard deviations above the mean". It turns a z-score into probabilities: the area to the left, the area to the right, and the two-tailed p-value.

And it runs the other way, giving the critical z for a confidence level such as 95% or 99%.

A z-score on its own is just a distance measured in standard deviations, and it is meaningful for any data. The probabilities are a further step: they assume the values follow a normal distribution, the familiar bell curve. When that assumption holds, a z-score tells you how unusual a value is, and a z statistic from a test tells you its p-value.

The probabilities are computed from the error function to 50 significant digits, not looked up in a printed table, and they agree with the standard normal table in the NIST/SEMATECH e-Handbook of Statistical Methods at every entry checked.

Using the Z-Score Calculator

  1. Choose what you have: a raw score with the mean and standard deviation, a z-score, or a confidence level.
  2. Fill in the boxes that mode uses. The others are hidden and keep their values if you switch back.
  3. Read the z-score (or the critical z in confidence mode) at the top. The cards give the left and right areas, the two-tailed p-value, the area between -|z| and |z|, and the percentile.

The presets load z = 1.96, a raw score one standard deviation below its mean, and the critical values for 99% and 90% confidence.

How is this calculated?

  1. Standardise the score. In raw score mode the mean is subtracted from the score and the difference is divided by the standard deviation. A standard deviation of zero or less is rejected, since it would make the division meaningless. In z-score mode, z is taken as typed.

z = (x − μ)/σ

  1. Area to the left. The standard normal cumulative probability Φ(z) is computed from the complementary error function, erfc. Below an argument of 4, erf comes from its all-positive power series (DLMF 7.6.2); above 4, erfc comes from its continued fraction (DLMF 7.9), which stays accurate deep into the tail where 1 minus a number close to 1 would lose every digit.

Φ(z) = 1/2 erfc(−z/√2)

  1. Area to the right. Computed directly as half of erfc(z/√2), not as 1 minus the left area, so a tiny right tail keeps its precision.

P(Z > z) = 1/2 erfc(z/√2)

  1. Two-tailed p-value and central area. The two-tailed p-value is twice the area beyond |z|. The area between -|z| and |z| is 1 minus that.

p_two = 2 P(Z > |z|)

  1. Critical z for a confidence level. In confidence mode, α is 1 minus the confidence level. The two-sided critical value is the z with Φ(z) = 1 - α/2, and the one-sided value has Φ(z) = 1 - α. Each is found by starting from a rational approximation accurate to about nine digits and taking Newton steps on the 50-digit Φ until the change is far below the digits shown.
  1. Show the results. z-scores are rounded half up to 12 significant figures and probabilities to 10, with trailing zeros dropped.

Worked Example

The default inputs are a score of 85, a mean of 70 and a standard deviation of 10.

  1. z = (85 - 70) ÷ 10 = 1.5.
  2. Area to the left: Φ(1.5) = 0.9331927987, so the score sits at the 93.31927987% percentile.
  3. Area to the right: 0.06680720127. That is the right-tailed p-value.
  4. Two-tailed p-value: twice the area beyond 1.5, 0.1336144025.

The Score of 62 (mean 70, SD 8) preset gives z = -1. The area to its left is 0.1586552539 and the area between -1 and 1 is 0.6826894921, the "about 68%" that people quote for one standard deviation.

How Do I Find a P-Value from a Z-Score?

Pick the tail that matches your test. For a right-tailed test, the p-value is the area to the right of z. For a left-tailed test, it is the area to the left. For a two-tailed test, it is twice the area beyond |z|.

For z = 1.96, the z = 1.96 preset gives a right-tail area of 0.02499789515 and a two-tailed p-value of 0.0499957903, just under 0.05. That is why 1.96 is the famous cut-off for a two-sided test at the 5% level. The NIST/SEMATECH table lists the area from 0 to 1.96 as 0.47500, which matches the calculator's left area of 0.9750021049 minus one half.

What Is the Critical Value for 95% Confidence?

The two-sided critical z for 95% confidence is 1.95996398454, usually rounded to 1.96. For 99% it is 2.57582930355 and for 90% it is 1.64485362695. The one-sided values are smaller because the whole α sits in one tail: 1.64485362695 for 95% and 2.32634787404 for 99%. The second reference table lists both for common levels.

Standard Normal Probabilities for Common Z-Scores

The first reference table gives the left area, right area and two-tailed p-value for z-scores people use most, from -3 to 4. Each row is a run of this calculator, so the figures match what the tool shows for the same z.

What does this calculator not account for?

  • Non-normal data. The z-score itself is valid for any data, but the probabilities assume a normal distribution. For skewed data or data with heavy tails, they can be far off.
  • Small samples with an estimated standard deviation. When σ is estimated from a small sample, a test statistic follows Student's t distribution, not the normal. Use the t-test calculator in that case.
  • Sample means. To standardise a sample mean rather than a single value, divide by the standard error, σ divided by the square root of n, not by σ. Enter that standard error as the standard deviation.
  • Discrete data. Counts such as the number of heads in 20 tosses are only approximately normal. No continuity correction is applied.

What mistakes do people make with this?

  • Using the wrong tail. A two-tailed p-value is twice a one-tailed one. Decide which test you are doing before looking at the numbers.
  • Mixing up the area to the left with the p-value. For a positive z the left area is large, near 1. The right area is the small p-value.
  • Rounding z early. Rounding 1.645 to 1.6 changes a right-tail area of 0.04998490554 into something noticeably larger. Keep the full z.
  • Dividing by the variance instead of the standard deviation. The denominator of a z-score is σ, not σ².
  • Calling the percentile a probability of being correct. The percentile is the share of the distribution below z, nothing more.

Frequently Asked Questions

What does a z-score tell you?

How many standard deviations a value lies from the mean, and on which side. A z of 1.5 is one and a half standard deviations above; a z of -1 is one below.

What is a good z-score?

That depends on the context. In a normal distribution, a z beyond about ±2 is unusual, since the two-tailed p-value for 2 is 0.0455002639. Whether "unusual" is good or bad depends on what is being measured.

Can a z-score be negative?

Yes. A negative z means the value is below the mean. The probabilities are symmetric: the area to the left of -1 equals the area to the right of 1.

How do I convert a z-score to a percentile?

The percentile is the area to the left of z, times 100. The calculator shows it on the Percentile card; a z of 1.5 is the 93.32nd percentile (93.31927987 on the card).

What is the z statistic in a hypothesis test?

It is the sample mean minus the hypothesised mean, divided by the standard error. Enter the sample mean as the raw score, the hypothesised mean as the mean, and the standard error as the standard deviation, then read the p-value for your tail.

Why do critical values differ between one-sided and two-sided tests?

A two-sided test splits α between two tails, so each tail holds α/2 and the cut-off is further out. A one-sided test puts all of α in one tail.

Sources

Did this calculator answer your question?

How this calculator is tested

This calculator is checked by 8 automated test cases: specific inputs whose correct result is known in advance, and rules the output must always obey. They run on every change to the site. See the testing and corrections policy.

Show the test cases
  • Default: 85 with mean 70 and SD 10 is z = 1.5
  • agrees with the NIST/SEMATECH table: area from 0 to 1.96 is 0.47500, to 1.00 is 0.34134
  • z = 1.96 gives a two-tailed p just under 0.05
  • a score below the mean: 62 with mean 70, SD 8 is z = -1
  • critical values: 95% is 1.95996398454, 99% is 2.57582930355, 90% is 1.64485362695
  • keeps precision deep in the tail
  • rejects impossible inputs
  • builds both reference tables from compute()

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews