One-Sample Z-Test Statistic
Enter your known values, leave one input blank, and solves for the missing one. Try different units for next level excitement!
Learning zone
A z-test asks whether a sample mean is further from a claimed value than sampling noise can comfortably explain. The numerator is the raw discrepancy; the denominator is the standard error, the typical size of that discrepancy under the claim. A machine supposed to fill to 100 ml with known σ = 15 produces 36 bottles averaging 104: z = 4/(15/6) = 1.6. That is inside the usual two-sided 5% cutoff of ±1.96, so the evidence is not strong enough to say the machine has drifted — which is not the same as saying it hasn't.
Use this only when σ is genuinely known from long production history or theory; if you estimated it from the same sample, you want the t-test instead. The deeper trap is confusing statistical and practical significance. With n large enough, the standard error shrinks until any difference at all becomes "significant": the same 4 ml drift measured on 3,600 bottles gives z = 16, an overwhelming result about a discrepancy that no customer would ever notice. Always read the size of x̄ − μ alongside the test statistic.
- = Test statistic
- = Sample mean
- = Hypothesised mean
- = Population standard deviation
- = Sample size
- Test statistic — One-Sample T-Test Statistic, Two-Sample Z-Test Statistic
- Sample mean — Confidence Interval Lower Limit, Confidence Interval Upper Limit
- Hypothesised mean — One-Sample T-Test Statistic, Z-Score (Standard Score)
- Population standard deviation — Z-Score (Standard Score), Variance and Standard Deviation
- Sample size — Standard Error of the Mean, Margin of Error for a Mean