Hypothesis Test Calculator

Run one-sample z, t, or proportion hypothesis tests with statistic, p-value, critical value, and decision.

Scratchpad (not saved)

What This Calculator Does

This calculator runs common one-sample hypothesis tests and reports the test statistic, p-value, critical value, and a plain accept-reject decision against the chosen significance level.

It combines Test Type, Sample Mean / Proportion, Hypothesized Value, Population Std Dev (z-test) to estimate z-Statistic, p-Value, Critical Value.

Formula & Method

Common statistics are z=xˉμ0σ/nz=\frac{\bar{x}-\mu_0}{\sigma/\sqrt{n}}, t=xˉμ0s/nt=\frac{\bar{x}-\mu_0}{s/\sqrt{n}}, and for a one-sample proportion z=p^p0p0(1p0)/nz=\frac{\hat{p}-p_0}{\sqrt{p_0(1-p_0)/n}}.

Notation used in the formulas: RR = z-Statistic; x1x_{1} = Test Type; x2x_{2} = Sample Mean / Proportion; x3x_{3} = Hypothesized Value; x4x_{4} = Population Std Dev (z-test); x5x_{5} = Sample Std Dev (t-test); x6x_{6} = Sample Size.

Method summary: inputs are normalized to consistent units, core equations are evaluated, then secondary values are derived and rounded for display.

Use it when you need a quick decision test from summary statistics rather than raw data.

Reference Book

Introduction to Mathematical Statistics

Global Edition

Robert V. Hogg, Joseph McKean, and Allen T. Craig · Pearson

A standard reference for probability distributions, estimation, hypothesis testing, regression, and ANOVA.

View Book

Inputs Used

  • Test Type: Used directly in the calculation.
  • Sample Mean / Proportion: Used directly in the calculation.
  • Hypothesized Value: Used directly in the calculation.
  • Population Std Dev (z-test): Used directly in the calculation.
  • Sample Std Dev (t-test): Used directly in the calculation.
  • Sample Size: Used directly in the calculation.
  • Significance Level α: Used directly in the calculation.
  • Alternative Hypothesis: Used directly in the calculation.

Related Calculators

  • ANOVA Calculator - Run a one-way ANOVA across two or more groups with F-statistic, p-value, variance breakdown, and eta-squared.
  • Confidence Interval Calculator - Compute confidence interval for a sample mean.
  • Regression Calculator - Fit linear, polynomial, exponential, or logarithmic regression models to x-y data with prediction and residual output.
  • Percentage Calculator - Perform common percentage operations: find a percentage of a value, calculate what percentage one number is of another, and find percentage change.
  • Fraction Calculator - Add, subtract, multiply, or divide two fractions and simplify the result.
  • Ratio Calculator - Simplify a ratio and compute equivalent forms.
  • Proportion Calculator - Solve proportions of the form a / b = c / x.
  • Average Calculator - Compute mean, median, and mode from up to five values.