Z-Test Calculator

Real-time statistical hypothesis testing tool for determining significance

Statistical Tools

Test Parameters

units
units
units
items

How to Use

  1. Select One-Sample or Two-Sample Z-Test
  2. Enter your sample data parameters
  3. Choose hypothesis type (tailed)
  4. Select significance level (α)
  5. Click "Calculate Z-Test" for results
Tip: Change any value to see real-time calculation updates.

Test Results

Z-Score
0.00
Standard deviations from mean
P-Value
0.000
Probability value
Test Result
Not Significant
NS
The result is not statistically significant
Lower Critical
-1.96
Upper Critical
1.96
Calculation Steps

1 Z = (x̄ - μ) / (σ/√n)

2 Z = (105 - 100) / (15/√30)

3 Z = 5 / (15/5.477)

4 Z = 5 / 2.739 = 1.826

Data Summary

Parameter Sample 1
Mean 105.00
Std Dev 15.00
Size 30
Std Error 2.74

Understanding Z-Tests: A Comprehensive Guide

What is a Z-Test?

A Z-test is a statistical test used to determine whether two population means are different when the population variances are known and the sample size is large (typically n > 30). It's based on the standard normal distribution (Z-distribution).

When to Use a Z-Test
Key Z-Test Formulas

One-Sample Z-Test Formula:

Z = (x̄ - μ) / (σ/√n)

Where:
x̄ = Sample mean
μ = Population mean
σ = Population standard deviation
n = Sample size

Two-Sample Z-Test Formula:

Z = (x̄₁ - x̄₂) / √(σ₁²/n₁ + σ₂²/n₂)

Interpreting Results
Common Significance Levels
α Level Confidence Level Critical Z (Two-Tailed) When to Use
0.01 99% ±2.576 High-stakes research, medical trials
0.05 95% ±1.960 Most scientific research
0.10 90% ±1.645 Exploratory research, preliminary studies
Practical Example

A company claims their batteries last 100 hours. You test 30 batteries and find a mean of 105 hours with a known population standard deviation of 15 hours. Using α=0.05, the Z-test shows Z=1.826 with p=0.068. Since p > 0.05, you cannot reject the null hypothesis - there's not enough evidence to say the batteries last longer than claimed.

Limitations of Z-Tests

This Z-Test calculator provides accurate statistical testing for research, quality control, hypothesis testing, and data analysis applications. Always verify test assumptions before drawing conclusions from statistical tests.