Home Back

2 Sample Z Test Calculator

Z-Test Formula:

\[ z = \frac{x_1 - x_2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}} \]

Unit Converter ▲

Unit Converter ▼

From: To:

1. What is the 2 Sample Z Test?

The 2 Sample Z Test is a statistical method used to determine whether the means of two populations are significantly different from each other when the population standard deviations are known. It's commonly used for large sample sizes (typically n > 30).

2. How Does the Calculator Work?

The calculator uses the 2 Sample Z Test formula:

\[ z = \frac{x_1 - x_2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}} \]

Where:

Explanation: The numerator measures the difference between sample means, while the denominator calculates the standard error of this difference.

3. Interpretation of Results

Details: The z-score indicates how many standard deviations the observed difference is from the expected difference (usually zero under the null hypothesis). Typically:

4. Using the Calculator

Tips: Enter the means, standard deviations, and sample sizes for both groups. All values must be valid (sample sizes > 0, standard deviations ≥ 0).

5. Frequently Asked Questions (FAQ)

Q1: When should I use a Z test vs a T test?
A: Use Z test when population standard deviations are known or sample sizes are large (n > 30). Use T test for small samples with unknown population standard deviations.

Q2: What does a negative z-score mean?
A: A negative z-score indicates that the first sample mean is lower than the second sample mean.

Q3: How is this different from a 1-sample Z test?
A: The 1-sample version compares a sample mean to a known population mean, while the 2-sample version compares two sample means.

Q4: What assumptions does this test make?
A: Assumes independent samples, normal distribution (or large samples), and known population standard deviations.

Q5: Can I use this for proportions?
A: For comparing proportions, you would use a slightly different formula specifically designed for proportion tests.

2 Sample Z Test Calculator© - All Rights Reserved 2025