At a Glance
- Category
- Statistics
- Best For
- Students testing whether a sample mean differs from a claimed value
- Privacy
- 100% in your browser: nothing you enter is uploaded
- Time Required
- Under a minute
- Cost
- Free
- Updated
- November 2026
Quick Overview
Standardizes the difference between the sample mean and the hypothesized mean and converts it to a p-value.
Statistics students, quality analysts and researchers.
Testing a claim about a mean with a known or well-estimated standard deviation.
It tells you whether the observed difference is larger than chance would explain.
Key Features & Capabilities
z statistic
The standardized difference.
Two-tailed p-value
The probability of a result at least this extreme.
Decision at 0.05
Reject or fail to reject H₀.
How to Use This Tool
Enter the sample mean and hypothesized mean
Type what you observed and the value being tested. Tip: Use the same units.
Enter the standard deviation and n
Type the standard deviation and sample size. Tip: Both must be positive.
Read the z statistic
Larger absolute values mean stronger evidence. Tip: The sign shows the direction.
Read the decision
A p-value below 0.05 rejects the null hypothesis. Tip: Consider practical significance too.
Worked Real-World Example
A test of 104 against 100
A sample of 36 has a mean of 104 and a standard deviation of 15. Test H₀: μ = 100.
How It Works (Math & Calculation Logic)
Standard error = s ÷ √n. z = (sample mean − hypothesized mean) ÷ standard error. The two-tailed p-value = 2 × (1 − Φ(|z|)) using the Abramowitz and Stegun normal approximation. If p < 0.05, reject H₀.
How to Interpret Your Results
|z| above 1.96 corresponds to p below 0.05.
Failing to reject is not proof that H₀ is true.
Pre-define alpha before looking at the data.
Frequently Asked Questions
What is a hypothesis test?
What is the null hypothesis?
What is a p-value?
What does fail to reject mean?
Should I use a t-test instead?
Complementary QuickForma Utilities
Z-Score Calculator
Calculate standard score Z = (X - mu) / sigma and percentile rank under standard normal curve.
Confidence Interval Calculator
Calculate margin of error E = Z * (sigma / sqrt(n)) and lower/upper bounds for confidence intervals.
Molar Mass & Composition Calculator
Parse chemical formulas (e.g. H2SO4, Ca(NO3)2) to compute total molecular weight and element mass %.
Moles & Molarity Calculator
Calculate moles n = m / M and molar concentration M = n / V in mol/L.
Prime Factorization Calculator
Breaks a whole number into its prime factors in exponent form and lists all of its divisors.
Simple Linear Regression & R² Line of Best Fit
Calculates regression line equation ŷ = β₀ + β₁ x, correlation r, and coefficient of determination R².
Sample & Population Standard Deviation Solver
Solves sample (s) and population (σ) standard deviation with variance steps.
Margin of Error & Survey Sample Size Solver
Calculates minimum required survey sample size based on confidence level (95%, 99%) and margin of error.
Altman Z-Score Business Bankruptcy Predictor
Uses 5 financial ratios to predict public and private business insolvency risk.
Raw Quiz / Exam Test Score Percentage Solver
Converts raw exam points (e.g. 47 out of 58) into percentage, letter grade, and grade points.
Paired & Unpaired Two-Sample Student's t-Test
Calculates 1-sample, 2-sample independent, and paired t-test statistics and p-values.
p-Value Calculator from Z, t, F & Chi-Square Statistics
Converts test statistics (Z, t, F, chi²) into one-tailed and two-tailed p-values.