Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Math & Numbers

Z Test Calculator

· Last updated:2026-05-05

Run one-sample Z tests for a mean with known population standard deviation or a single population proportion

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team
Math502
p-value21
Standard Deviation12

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Math & Numbers
Input types
select, number
Output type
json
Sample coverage
4
API ready
Yes

Overview

The Z Test Calculator is a statistical utility designed to perform one-sample Z tests for either a population mean or a population proportion. By inputting your sample statistics and known population parameters, the tool instantly calculates the Z-statistic, P-value, and determines whether to reject the null hypothesis based on your chosen significance level (alpha). It is ideal for researchers, analysts, and quality control professionals who need to evaluate sample data against established population metrics.

When to use

  • When you need to compare a sample mean to a known population mean and the population standard deviation is already known.
  • When evaluating whether a sample proportion significantly differs from a hypothesized population proportion.
  • When conducting hypothesis testing with large sample sizes where the normal distribution can be assumed.

How it works

  1. 1Select the test type: choose 'Mean' for continuous data or 'Proportion' for categorical success/failure data.
  2. 2Enter your sample statistics, such as the sample mean and size, along with the hypothesized population parameters.
  3. 3Set your alternative hypothesis (two-sided, greater, or less) and the desired alpha level (e.g., 0.05).
  4. 4The calculator computes the Z-statistic and P-value, outputting a clear JSON result indicating whether to reject the null hypothesis.

Use cases

  • Quality control managers testing if a new manufacturing batch's average weight differs from the historical population mean.
  • Marketers determining if the conversion rate of a new landing page is significantly higher than the industry standard proportion.
  • Researchers verifying if survey results from a specific demographic deviate from known national census proportions.

Examples

1. Evaluating Manufacturing Quality

Quality Assurance Engineer

Background

A factory produces cables with a known historical standard deviation of 15mm. A recent batch of 64 cables yielded an average length of 105mm.

Problem

Determine if the new batch's mean length significantly differs from the target length of 100mm.

How to use

Select 'Mean' as the test type. Enter 105 for Sample Mean, 100 for Hypothesized Mean, 15 for Population Standard Deviation, and 64 for Sample Size.

{
  "testType": "mean",
  "sampleMean": 105,
  "hypothesizedMean": 100,
  "populationStandardDeviation": 15,
  "sampleSize": 64,
  "alternative": "two-sided",
  "alpha": 0.05
}

Outcome

The calculator outputs a Z-statistic of 2.6667 and a P-value of 0.0077. Since the P-value is less than 0.05, 'rejectNull' is true, indicating the batch is significantly different from the target.

2. Analyzing Marketing Conversion Rates

Digital Marketer

Background

An e-commerce site historically converts at 50% (0.5). A new checkout flow was tested on 100 users, resulting in 60 successful purchases.

Problem

Test if the new checkout flow's conversion rate is significantly greater than the historical 50%.

FAQ

What is the difference between a Z-test and a T-test?

A Z-test is used when the population standard deviation is known or the sample size is very large. A T-test is used when the population standard deviation is unknown and must be estimated from the sample.

What does the alpha value represent?

Alpha is the significance level, representing the probability of rejecting the null hypothesis when it is actually true. A common default is 0.05 (5%).

Can I perform a one-sided Z-test?

Yes, you can select 'Greater Than' or 'Less Than' in the Alternative Hypothesis dropdown to run a one-sided test.

What inputs are required for a proportion Z-test?

You need the success count, total trial count, and the hypothesized population proportion.

What does 'rejectNull: true' mean in the output?

It means the calculated P-value is less than your specified alpha level, indicating statistically significant evidence against the null hypothesis.

Hub

A/B Experiment Design, Sample Size, and Statistical Power

Plan an A/B experiment, size its evidence, select the right test, and review effect size and uncertainty before treating a result as actionable.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Rust

Web Image Processing Rust Samples

Web Rust image processing examples including image read/save, scaling, and format conversion

Math & Numbers

Average Calculator

Compare arithmetic, geometric, and harmonic averages for a numeric dataset in one place

Math & Numbers

Confidence Interval Calculator

Calculate confidence intervals for a sample mean or proportion using either raw data or summary statistics

Math & Numbers

Heat Exchanger LMTD Calculator (Log Mean Temperature Difference)

Compute the Log Mean Temperature Difference (LMTD) of a heat exchanger for parallel or counter flow. Parallel flow: ΔT₁ = T_h,in - T_c,in and ΔT₂ = T_h,out - T_c,out; counter flow: ΔT₁ = T_h,in - T_c,out and ΔT₂ = T_h,out - T_c,in. LMTD = (ΔT₁ - ΔT₂)/ln(ΔT₁/ΔT₂), or ΔT₁ when ΔT₁ = ΔT₂. A non-positive terminal difference (temperature cross) is physically impossible and is rejected. Optionally, with the overall heat transfer coefficient U (W/(m²·K)) and the heat transfer area A (m²), the heat transfer rate Q = U·A·LMTD (W) is returned. Temperatures are used only as differences: Δ°C = ΔK and Δ°F ×5/9 = ΔK; the LMTD is reported in K.

Math & Numbers

Normal Distribution Calculator

Calculate z-scores, cumulative probability, tail probability, and interval probability for a normal distribution

How to use

Select 'Proportion' as the test type. Enter 60 for Success Count, 100 for Trial Count, and 0.5 for Hypothesized Proportion. Set the Alternative Hypothesis to 'Greater Than'.

{
  "testType": "proportion",
  "successCount": 60,
  "trialCount": 100,
  "hypothesizedProportion": 0.5,
  "alternative": "greater",
  "alpha": 0.05
}

Outcome

The tool calculates the Z-statistic and P-value for the proportion test, revealing whether the 60% success rate is a statistically significant improvement over the 50% baseline.