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= rac{ar{x}-mu_0}{sigma/sqrt{n}}, t= rac{ar{x}-mu_0}{s/sqrt{n}}, and for a one-sample proportion z= rac{hat{p}-p_0}{sqrt{p_0(1-p_0)/n}}.

Notation used in the formulas: R = z-Statistic; x_{1} = Test Type; x_{2} = Sample Mean / Proportion; x_{3} = Hypothesized Value; x_{4} = Population Std Dev (z-test); x_{5} = Sample Std Dev (t-test); x_{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.

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 CalculatorRun a one-way ANOVA across two or more groups with F-statistic, p-value, variance breakdown, and eta-squared.
  • Confidence Interval CalculatorCompute confidence interval for a sample mean.
  • Regression CalculatorFit linear, polynomial, exponential, or logarithmic regression models to x-y data with prediction and residual output.
  • Percentage CalculatorPerform common percentage operations: find a percentage of a value, calculate what percentage one number is of another, and find percentage change.
  • Fraction CalculatorAdd, subtract, multiply, or divide two fractions and simplify the result.
  • Ratio CalculatorSimplify a ratio and compute equivalent forms.
  • Proportion CalculatorSolve proportions of the form a / b = c / x.
  • Average CalculatorCompute mean, median, and mode from up to five values.