Z-Test Calculator
Enter your sample results and the claim to test to get the z statistic and a decision.
The mean of your sample.
The mean claimed by the null hypothesis.
The standard deviation, which must be more than 0.
How many observations were in the sample.
Two-tailed counts both ends of the curve; left or right counts one end.
How unlikely a result must be, if the null hypothesis were true, before it is rejected.
Result
You entered
p-value
Significance level
Decision
Show the work
Null and alternative hypotheses
The null hypothesis says the population mean equals 100. The alternative hypothesis is what the test looks for, and it makes this a two-tailed test.
Test statistic
The test statistic measures how many standard errors the sample mean lies from the hypothesised mean . The standard deviation is known and .
p-value
The p-value is the probability, if were true, of a test statistic at least as extreme as the one observed. It is two-tailed, so count the area beyond the statistic in both tails, which by symmetry is twice one tail.
Decision
Compare the p-value with the significance level : if the result would be too unlikely under , so reject it. Here it is, so reject : there is enough evidence at the 5% level to say that the population mean differs from 100.
Result
So , , and the null hypothesis is rejected at the 5% level.