Statistical Power Calculator

Statistical Power Calculator: run statistical power calculations online. Formula, assumptions, and interpretation guide.

Hypothesis testing is a formal statistical procedure for deciding whether sample data provides enough evidence to reject a null hypothesis (H₀) in favour of an alternative hypothesis (H₁). The process produces a p-value — the probability of observing results as extreme as the data, assuming H₀ is true. A small p-value (typically <0.05) is taken as evidence against H₀.

Hypothesis tests are used to evaluate new drug treatments, test marketing campaigns, assess manufacturing quality, and validate scientific claims across every empirical field.

  1. State your null hypothesis (H₀: no effect / no difference) and alternative hypothesis (H₁: effect exists).
  2. Choose your significance level (α) — 0.05 is standard; use 0.01 for higher-stakes decisions.
  3. Enter your sample data: mean (or proportion), standard deviation, and sample size.
  4. Select the test type: one-sample, two-sample, or paired; one-tailed or two-tailed.
  5. Compare the p-value to α: if p < α, reject H₀; if p ≥ α, fail to reject H₀.

Common test statistics

One-sample t-test: t = (x̄ − μ₀) / (s / √n), degrees of freedom = n−1

Two-sample t-test: t = (x̄₁ − x̄₂) / √(s₁²/n₁ + s₂²/n₂)

One-proportion z-test: z = (p̂ − p₀) / √(p₀(1−p₀)/n)

Decision rule: reject H₀ if |t| or |z| exceeds the critical value for chosen α and degrees of freedom.

Interpreting the p-value and test result

Statistical vs practical significance

A p-value of 0.03 means there is a 3% chance of seeing data this extreme if H₀ were true — below the 0.05 threshold, so reject H₀. However, statistical significance does not equal practical importance: a drug might show a statistically significant but clinically trivial improvement. Always report the effect size (Cohen's d, odds ratio, etc.) alongside the p-value to convey the magnitude of the effect.

Statistics tips and best practices

Common mistakes to avoid

Hypothesis test results are probabilistic and depend on assumptions of random sampling, independence, and approximate normality. Results should be interpreted by a qualified statistician for regulatory, clinical, or legal applications.

Related Calculators