Z-test Calculator

Calculate a z statistic and p-value for a mean with known standard deviation or for one or two proportions.

Result
—

How to calculate

Subtract the null mean or proportion from the estimate and divide by its standard error. For two proportions, use a pooled proportion to calculate the null standard error.

Worked example

Use Test One mean with known population standard deviation · Sample mean 12 · Known population standard deviation 4 · Sample size A 16 · Null mean 10 · Alternative hypothesis Two sided · Significance level 5%. The result is ≈ 0.0455002639.

Input and result notes

Enter numbers using the same units. Rounded results are marked with ≈.

NIST normal distribution

Related calculators