One-Sample & Two-Sample Z-Test Calculator

Computes standard Z-statistics, critical cutoff thresholds, two-tailed and one-tailed exact p-values, and Gaussian confidence interval bounds for population means and proportions.

Your data

Results

Reject H0H_0 at α=0.05\alpha = 0.05.

The test statistic Z=1.980Z = 1.980 falls in the rejection region (∣Z∣≥1.960|Z| \ge 1.960), with p = 0.0477. There is statistically significant evidence against H0H_0.

Test statistic ZZ1.9799
p-value0.0477
Standard error SE\text{SE}2.1213
Critical value ZcritZ_{crit}±1.960
95% confidence interval for the population mean[100.042, 108.358]
Z=xˉ−μ0σ/n=104.20−100.002.1213=1.9799Z = \frac{\bar{x} - \mu_0}{\sigma / \sqrt{n}} = \frac{104.20 - 100.00}{2.1213} = 1.9799

How this calculator works

Assists students and researchers in evaluating large-sample tests and comparing asymptotic normal approximations against exact distributions.

Inputs: Sample mean xˉ,\bar{x}\text{,} hypothesized population mean μ0,\mu_0\text{,} population standard deviation σ\sigma (or large-sample s),s\text{),} sample size n,n\text{,} and alpha level α.\alpha\text{.}

Outputs: Standard error (SE), ZZ-statistic, critical ZZ value, exact p-value, and decision verdict.

Formula:

Z=xˉ−μ0σ/nZ = \frac{\bar{x} - \mu_0}{\sigma / \sqrt{n}}

← All calculators