Z-Score Calculator
Enter a value, a mean and a standard deviation to get the z-score z = (x − μ) / σ, or enter a z-score to recover the value, or ask for a standard-normal p-value from z (two-tailed, upper, or lower). The p-value uses the standard normal CDF, with Φ built from the Abramowitz and Stegun 7.1.26 approximation to the error function. This is not a Student-t, chi-squared or medical “significance” decision. Use the confidence-interval and sample-size calculators when you want an interval or a planned n, and the standard-deviation calculator when you still need s.
Z-score calculator
On this calculator: Ctrl+Enter copies the result, Shift+Alt+L copies a link to the current inputs, Shift+Alt+R resets, Shift+Alt+P opens Print / Save PDF. These shortcuts do not run while you type in a field, except Ctrl+Enter.
Saved results on this device
Stored only in this browser, not on our servers.
How to use the z-score calculator – standard score and normal p-value
- Choose a mode. Z from a value, a value from z, or a p-value from z under a standard normal.
- Enter the mean and standard deviation when you need them. The standard deviation must be positive. p-value mode needs only z and a tail choice.
- Read z or p as a normal-model figure. A two-tailed p is 2(1 − Φ(|z|)). It is not a t-test and not a decision about a person or a product.
Formulas on this page
The z-score, or standard score, of a value x in a distribution with mean μ and standard deviation σ > 0 is
z = (x − μ) / σ.
Rearranged, x = μ + zσ. Under a standard normal model, the left-tail probability is Φ(z) = P(Z ≤ z), the right-tail is 1 − Φ(z), and the two-tailed p-value is 2(1 − Φ(|z|)). Φ is obtained from the error function,
Φ(z) = 1/2 (1 + erf(z / √2)),
with erf evaluated by the Abramowitz and Stegun rational approximation 7.1.26. That approximation is accurate enough for ordinary reporting; it is not a formal statistical package.
A two-tailed p near 0.05 for |z| = 1.96 is the familiar normal rule of thumb. This page will show the number. It will not tell you to “reject a hypothesis”, and it will not treat a school mark, a lab result or a medical reading as a diagnosis.
Related tools
If you still need the standard deviation of a list, start with the standard-deviation calculator. If you want a z interval for a mean or a proportion, use the confidence-interval calculator. If you are planning a sample size for a chosen margin of error, use the sample-size calculator. A standalone p-value URL is not needed for the common “p from z” query; that mode lives here.
Worked figures
- x = 80, μ = 70, σ = 5: z = 2.
- x = 70, μ = 70, σ = 5: z = 0, two-tailed p = 1.
- z = 1.96, two-tailed p ≈ 0.05.
- z = 0, Φ(0) = 0.5.
Those identities are unit-tested against the same TypeScript functions the browser runs. Copy result, Copy link and Reset work as on the other GenericCalc tools. Report a mistake from the about box if a figure disagrees with a hand check.
Frequently asked questions
What is the z-score of 80 when the mean is 70 and the SD is 5?
z = (80 − 70)/5 = 2. The value sits two standard deviations above the mean. That is the default example. The two-tailed standard-normal p-value is about 0.0455.
How do I go from z back to x?
x = μ + zσ. With μ = 70, σ = 5 and z = 2 you recover 80.
What p-value is used?
A standard normal only. Two-tailed, right-tailed or left-tailed. Φ is computed from Abramowitz and Stegun 7.1.26, not from a live look-up table.
Is this a t-test?
No. A t p-value needs degrees of freedom and a t distribution. This page does not compute that.
What if the standard deviation is zero?
z is undefined. The page asks for a positive standard deviation.
Can z be negative?
Yes. A value below the mean has a negative z. The two-tailed p-value depends on |z|, so z = −2 and z = 2 share the same two-tailed p.
Where do I get the mean and SD?
From your data, or from a stated population. The average and standard-deviation calculators can compute those from a list if you have one.
Related calculators
Standard Deviation Calculator – Sample and Population
Sample and population standard deviation, variance, mean and standard error.
Average Calculator – Mean, Median, Mode and Range
Mean, median, mode, range and more for any list of numbers.
Confidence Interval Calculator – Mean and Proportion (z)
Normal (z) confidence interval for a mean or a Wald interval for a proportion.
Sample Size Calculator – Mean or Proportion, z Approximation
Planning sample size for a mean or a proportion, using a z approximation and a target margin.
Probability Calculator – Complement, Independent Events, nPr and nCr
Complement and odds, independent and/or, at least one in n trials, and nPr / nCr.
Sources and references
About this calculator
Written and maintained by Rashid Mehmood, founder of CalcTen. The formulas are unit-tested against hand-worked examples, and the content is reviewed whenever product sizes or guidance change. Last updated and reviewed 15 November 2026. See our editorial policy. If you spot a mistake, report it.
Results are calculated from the numbers you enter and shown with the working. Rounding is applied only when displaying results. Grade and GPA scales, and weighting rules, vary by school, so confirm with your institution. Read the disclaimer.