Skip to content
LoveToCalc

Definition — what does that mean?

Z test statistic for a mean

How far a sample mean is from a hypothesised value, counted in standard errors, when the population standard deviation is known.

In Swedish: Teststatistika för ett medelvärde (z)

Z test statistic for a mean

The relation

z=x̄−μ₀σn

How many standard errors a sample mean sits from a hypothesised mean when the population standard deviation is known: the difference divided by σ over the square root of n.

Solve for

z=1

z equals (52 minus 50) divided by (10 divided by the square root of (25)), equals 2 divided by (10 divided by 5), equals 2 divided by 2, equals 1

Working4 steps

Practice questions

You are given

  • z=0.6
  • x̄=15.6
  • σ=3
  • n=9

The formula

z = (x̄ − μ₀) / (σ / √n)

Holds when σ is known and the sample mean is normally distributed: the population is roughly normal, or n is large.

x̄ is the sample mean, μ₀ the value tested against, σ the population standard deviation and n the sample size. The denominator is the standard deviation of the mean, σ/√n.

A reading test with μ₀ = 100 and σ = 12; 55 students average 96 (the example on Wikipedia’s page on the Z-test): σ/√n = 12/√55 ≈ 1.618, so z = (96 − 100)/1.618 ≈ −2.47.

Reading z

For a two-sided test at the 5% level, compare |z| with 1.96, read from the normal table. |−2.47| > 1.96, so the hypothesis μ = 100 is rejected at 5%. At 1% the limit is 2.576 and −2.47 does not reach it.

One value or a mean

Standardising Divisor Formula
One observation σ z = (x − μ)/σ
A sample mean σ/√n z = (x̄ − μ₀)/(σ/√n)

Using σ alone for a mean gives a z that is √n times too small, and a test that rarely rejects.

Common mistakes

The z-score page covers a single observation.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
zx̄−μ₀σn52−5010251
x̄μ₀+z·σn50+1·102552
μ₀x̄−z·σn52−1·102550
σ(x̄−μ₀)nz(52−50)25110
n(zσx̄−μ₀)²(1·1052−50)²25

Last reviewed October 11, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.