Z-Test Calculator (Mean, Proportion, Two Means)

Run a one-sample z-test for a mean (σ known), a one-proportion z-test or a two-sample z-test — z, p-value and critical value.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Mean: z = (x̄ − μ₀)/(σ/√n). Proportion: z = (p̂ − p₀)/√(p₀(1 − p₀)/n). Two means: z = (x̄₁ − x̄₂)/√(σ₁²/n₁ + σ₂²/n₂).

Example

Example: x̄ = 52, μ₀ = 50, σ = 6, n = 36 → z = 2, p = 0.0455002639.

Assumptions

Use z when σ is known or n is large; otherwise use a t-test.

Frequently Asked Questions

Z-test or t-test?

If you estimate σ from the sample, use a t-test — with large n the two agree.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile