One-Sample & Two-Sample t-Test Calculator
Run a one-sample t-test against a hypothesised mean, or Welch's two-sample t-test, with t statistic, degrees of freedom and p-value.
How to use the One-Sample & Two-Sample t-Test Calculator
- Enter or select: Sample A, Hypothesised mean ΞΌβ (one-sample).
- Fill in what you know of: Sample B (leave empty for one-sample test) β leave the unknown empty.
- The results (t statistic, Degrees of freedom, p-value (two-tailed), p-value (one-tailed), Conclusion at Ξ± = 0.05) are calculated instantly as you type.
- Use βCopy linkβ to share the calculation with the same input values.
Formula
- One-sample: t = (xΜ β ΞΌβ)/(s/βn)
- Welch: t = (xΜβ β xΜβ)/β(sβΒ²/nβ + sβΒ²/nβ)