One Sample T Test Calculator
Work out one sample t test instantly with clear inputs, formula shown and shareable results.
About One Sample T Test Calculator
The one-sample t-test compares a sample mean to a hypothesised value, dividing the difference by the standard error s/√n. The result is compared against the t distribution on n − 1 degrees of freedom.
Formula
One-sample t
t = (x̄ − μ₀) / (s/√n), df = n − 1
Worked example
With the default values below, One Sample T Test Calculator returns t statistic of 2.39583333. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Sample mean
- 52.3
- Hypothesised mean
- 50
- Sample standard deviationminimum 0
- 4.8
- Sample sizeminimum 2
- 25
Results
- t statistic
- 2.39583333
- Two-tailed p value
- 0.02473441
- Degrees of freedom
- 24
- Decision at 5%
- Reject the null hypothesis at the 5% level
Step by step
- 1Values used
- 2One-sample t
- 3t statistic= 2.39583333
- 4Two-tailed p value= 0.02473441
- 5Degrees of freedom= 24
Assumptions and limits
- The result is derived only from the 4 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to 8 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
For x̄ = 52.3 against μ₀ = 50 with s = 4.8 and n = 25?
The standard error is 0.96, so t = 2.3958 on 24 df, giving p ≈ 0.0247 — significant at 5%.
What does the p value mean?
The probability of seeing a difference this large or larger if the null hypothesis were true.
Related Calculators
- Chi Square Test Of Independence Calculator
- Kruskal Wallis Test Calculator
- Levene Test Calculator
- Mann Whitney U Test Calculator
- Paired T Test Calculator
- Sample Size For Proportion Calculator
- Sample Standard Deviation Calculator
- Shapiro Wilk Test Calculator
- Stratified Sample Size Calculator
- Wilcoxon Signed Rank Test Calculator
You might also need
- Z Test CalculatorAlso in Statistics & Probability
- Levene Test CalculatorAlso in Statistics & Probability
- Paired T Test CalculatorAlso in Statistics & Probability
- Kruskal Wallis Test CalculatorAlso in Statistics & Probability
- Mann Whitney U Test CalculatorAlso in Statistics & Probability
- Sample Standard Deviation CalculatorAlso in Statistics & Probability
