One Sample T-Test Calculator
Run a one-sample Student t test from raw observations against a hypothesized mean, with a two-sided p-value, sample SD and degrees of freedom.
YOUR SHORTCUTS
Continue where you left off
Recently used
Your favorites
These shortcuts remember only calculator names on this device, not the values you enter.
One Sample T-Test Calculator
View complete schedule
ⓘ Calculated locally in your browser. Results depend on the values and units you enter.
Interactive mathematical graph
The axes, points and dimensions are recalculated from the values you enter.
Enter valid values to draw this graph.
Interpretation:
Graph data (accessible table)
| Reference | X | Y |
|---|
How this calculator works
A one-sample t test compares the mean of an independent sample with a hypothesized mean. Enter 3–1000 numerical observations and a hypothesized mean. This calculator computes sample standard deviation with n−1 in the denominator, t = (sample mean − hypothesized mean) / (sample SD/√n), df = n−1, and the two-sided Student t tail probability. A constant sample has undefined t statistic and produces an input error. The test assumes independent observations and approximately normal data at small n. A p-value is not the probability that the null hypothesis is true.
Worked example
Engine-checked example
This example uses the values shown below, not your current entries.
- Sample observations (comma or space separated)
- 2, 4, 5, 7, 9
- Hypothesized population mean (H₀)
- 5
Frequently asked questions
Which test does this calculator perform?
A two-sided, one-sample t test of an independent sample mean against a hypothesized population mean. It does not compare two groups.
Can I enter a sample of just two values?
No. This tool requires at least three numeric observations and calculates sample spread using n minus one degrees of freedom.
Does a small p-value prove the research claim?
No. A p-value describes a result under the test assumptions. It does not quantify the probability that the null hypothesis is true.
Results are informational and assume the stated inputs and formulas. Double-check critical financial or engineering decisions with a qualified professional.
Was this calculator helpful?
Your feedback helps you keep track of useful tools on this device.
Your selection stays in this browser. No public vote count is shown.
Prefer EverydayCalc on Google
Opens Google source preferences. Availability and placement are determined by Google; this does not guarantee higher rankings.