One sample Z hypothesis test is one of the basic tests of inferential statistics. One sample Z test is a parametric procedure for hypothesis testing. It tests whether the sample mean is significantly different (greater than, less than or not equal) than a population mean when the population’s standard deviation is known. Since we use standard normal distribution to compute the critical values, we often call it a one sample Z test.
When to use one sample Z test
With a large sample, the one sample Z test on a mean holds up well even when the data are not normal, because of the central limit theorem. Z test is similar to student t-test, z test is used when the population standard deviation is known. Whereas, student t-test is used when the population standard deviation is unknown, at any sample size. The t-test uses the sample standard deviation instead.
Assumptions of one sample Z hypothesis test
- Population data is continuous
- The population follows a normal distribution, or the sample is large enough for the central limit theorem to apply
- The mean and standard deviation of the population is known
- Observations in the sample are independent of each other
- The sample should be randomly selected from the population
One sample Z-test Formula

- x̅ = sample mean
- µ= population mean
- σ= population standard deviation
- n= sample size
Steps to Calculate One Sample Z hypothesis test
This page uses a cumulative z table: each value is the area to the left of z, which is why we look up 0.95 to get 1.645 and 0.975 to get 1.96. If your handbook’s table shows the area from the mean (0 to z), look up 0.45 or 0.475 instead; if it shows the upper tail, look up 0.05 or 0.025.
- Select appropriate statistic- one-tailed or two-tailed?
- Determine the null hypothesis and alternative hypothesis
- Determine the level of significance
- Find the critical value
- Calculate the test statistics

- Where
- x̅ is observed sample mean
- μ is population mean
- σ is population standard deviation
- n is sample size
- Then make a decision, reject the null hypothesis; If the test statistic falls in the critical region.
- Finally, interpret the decision in the context of the original claim.
Hypothesis Testing
A hypothesis is a claim about a population parameter. The claim may or may not be true. In a tailed hypothesis test, the tail is where the rejection region sits. One-tailed hypothesis is a test of hypothesis where the area of rejection is only in one direction. Whereas two-tailed, the area of rejection is in two directions. The selection of one or two-tailed tests depends upon the problem.
One Sample z test mostly performed in Analyze phase of DMAIC to check the sample mean is significantly different than a population mean when the population’s standard deviation is known.

Example of right-tailed test
Example: A coaching institute claims that the students’ mean scores in their institute are greater than the 82 marks with a standard deviation of 20. A sample of 81 students is selected, and the mean score is 90 marks. At 95% confidence level, is there enough evidence to support the claim?
- State the null and alternative hypothesis
- Null hypothesis H0: µ ≤ 82
- Alternative hypothesis H1 : µ>82
- Select appropriate statistic- Since the claim is student marks are greater than 82 marks; it is a right-tailed test.
- Level of significance: α= 0.05
- Find the critical value: 1-α= 1-0.05=0.95
- Look at the 0.95 in z table= 1.645

- Calculate the test statistics
- x̅ =90
- μ=82
- σ =20
- n =81


Interpret the results: Compare Z calc to Z critical . In hypothesis testing, a critical value is a point on the test distribution compares to the test statistic to determine whether to reject the null hypothesis. Since zcal value is greater than z critical value and it is in the rejection region. Hence we can reject the null hypothesis.
There is enough evidence to support the students’ scores in their institute is greater than the 82 marks.
One Sample Z Excel Right Tail template
Example of left-tailed test
Example: An online grocery shop claims that the mean delivery time is less than 120 minutes with a standard deviation of 30 minutes. A random sample of 49 orders is delivered with a mean of 100 minutes. At 95% confidence level, is there enough evidence to support the claim?
- State the null and alternative hypothesis
- Null hypothesis H0: µ ≥ 120
- Alternative hypothesis H1 : µ<120
- Select appropriate statistic- Since the claim indicates delivery time is less than 120 minutes, it is a left-tailed test.
- Level of significance: α= 0.05
- Find the critical value: 1-α= 1-0.05=0.95
- Look up 0.05 in the z table = -1.645. (Or look up 0.95 to get 1.645 and make it negative for a left-tailed test.)

- Calculate the test statistics
- x̅ =100
- μ=120
- σ =30
- n =49


Interpret the results: Compare Z calc to Z critical . In hypothesis testing, a critical value is a point on the test distribution compares to the test statistic to determine whether to reject the null hypothesis. Since zcal value is less than z critical value and it is in the rejection region. Hence we can reject the null hypothesis.
There is enough evidence to support the claim the mean delivery time is less than 120 minutes.
One Sample Z Excel Left Tail template
Example of two-tailed test
Example: The mean weight of the rubber gasket is 60 grams with a standard deviation of 48. Furthermore, A researcher thinks that material X will have a significant impact on the weight of a gasket. A random sample of 64 gaskets collected and the mean weight is 68 grams. At 95% confidence level test the material X had an effect.
- State the null and alternative hypothesis
- Null hypothesis H0: µ = 60
- Alternative hypothesis H1 : µ≠60
- Since it is a two tailed test α/2= 0.05/2=0.025
- Find the critical value: 1-α/2= 1-0.025=0.975
- Then, look at the 0.975 in z table= ±1.96

- Calculate the test statistics
- x̅ =68
- μ =60
- σ =48
- n =64


Interpret the results: Compare Z calc to Z critical . In hypothesis testing, a critical value is a point on the test distribution compares to the test statistic to determine whether to reject the null hypothesis. Since zcal value is not in the rejection region. Hence, we fail to reject the null hypothesis. We do not have enough evidence to say material X changed the mean weight of the gasket.
One Sample Z Excel Two Tail template
Helpful Videos
https://www.youtube.com/watch?v=FU9UR9XVZwc
https://www.youtube.com/watch?v=aiRVUkM92os
When you’re ready, there are a few ways I can help:
First, join 12,000+ other Six Sigma professionals by subscribing to my email newsletter. A short read every Monday to start your work week off correctly. Always free.
* * *
If you’re looking to pass your Six Sigma Yellow Belt, Green Belt or Black Belt exam, I’d recommend starting with my affordable study guide:
1)→ 🟡Pass Your Six Sigma Yellow Belt: built for ASQ, IASSC and ILSSI, 1,700+ practice questions with explanations, and six full-length mock exams for your exam
2)→ 🟢Pass Your Six Sigma Green Belt: a study guide organized by the exam Body of Knowledge, 1,300+ practice questions with detailed answer explanations, and 20 full-length mock exams
3)→ ⚫Pass Your Six Sigma Black Belt: the full Black Belt Body of Knowledge, 2,200+ practice questions with detailed answer explanations, and 20 full-length mock exams
You’ve spent so much effort learning Lean Six Sigma. Why leave passing your certification exam up to chance? This comprehensive study guide offers 1,700+ exam-like questions for Yellow Belts, 1,300+ for Green Belts and 2,200+ for Black Belts with full answer walkthroughs, access to instructors, detailed study material, and more.
Thousands have used this system to prepare. Join them here.
