Enter the required data to calculate with our 2 Sample Z Test Calculator that is both in basic mode and advanced calculator. Furthermore, read the formula and solved examples to get better understanding.

Formula:
Variables
Variable | Meaning |
---|---|
Z-score (difference in terms of standard deviations) | |
Mean of the first sample | |
Mean of the second sample | |
Variance of the first sample | |
Variance of the second sample | |
Size of the first sample | |
Size of the second sample |
Solved Examples:
Example 1:
Given:
- Mean of the first sample () = 50
- Mean of the second sample () = 45
- Variance of the first sample () = 16
- Variance of the second sample () = 25
- Size of the first sample () = 30
- Size of the second sample () = 30
Calculation | Instructions |
---|---|
Step 1: Substitute the values into the formula: | Start with the formula. |
Replace the variables with the given values. | |
Step 2: Calculate the components of the denominator: | Compute the variance ratios. |
Simplify the fractions inside the square root. | |
Step 3: Add the values inside the square root: | Sum the simplified fractions. |
Take the square root of the sum. | |
Step 4: Calculate the Z-score: | Divide the difference in means by the result from Step 3. |
Final Z-score calculation. |
Answer: The Z-score is approximately 4.28.
Example 2:
Given:
- Mean of the first sample () = 60
- Mean of the second sample () = 55
- Variance of the first sample () = 20
- Variance of the second sample () = 30
- Size of the first sample () = 40
- Size of the second sample () = 35
Calculation | Instructions |
---|---|
Step 1: Substitute the values into the formula: | Start with the formula. |
Replace the variables with the given values. | |
Step 2: Calculate the components of the denominator: | Compute the variance ratios. |
Simplify the fractions inside the square root. | |
Step 3: Add the values inside the square root: | Sum the simplified fractions. |
Take the square root of the sum. | |
Step 4: Calculate the Z-score: | Divide the difference in means by the result from Step 3. |
Final Z-score calculation. |
Answer: The Z-score is approximately 4.29.
What is 2 Sample Z Test Calculator ?
The 2 Sample Z Test Calculator is a statistical tool used to compare the means of two independent samples to determine if there is a significant difference between them. This test is particularly useful when you want to know if the difference in sample means is large enough to be considered statistically significant.
The Formula calculates the Z-score, which tells you how many standard deviations the difference between the two means is from the expected difference (usually zero). This calculator is commonly used in fields such as medicine, economics, and social sciences to make informed decisions based on sample data.