Hypothesis Test (t-test, p-value)

Math

Runs a one-sample t-test, Welch's t-test for two samples, and converts a z-score to a p-value. It helps you judge whether a difference could be down to chance.

One sample: t = (x̄ - μ₀) ÷ (s ÷ √n)

The p-value is the probability of a result at least this extreme if the null hypothesis is true. A difference is usually called statistically significant when p < 0.05.

TailWhen
Two-tailed (≠)The difference could go either way
Left (<) / right (>)You only expect a difference in one direction

A sample of 25 with mean 52 and standard deviation 5, against an expected 50: t = 2 ÷ 1 = 2.0, df = 24, two-tailed p ≈ 0.057. Not significant at 5%.

Statistical significance doesn't mean the difference matters in practice. With large samples, even tiny differences can be significant.

Results are for information only. For tax, salary, loan or health decisions, check official sources or ask a professional.

All Math tools