One-Sample T-Test Calculator
Test a sample mean against a hypothesised value — from raw data or summary statistics — with t, df, p-value and confidence interval.
Test a sample mean against a hypothesised value — from raw data or summary statistics — with t, df, p-value and confidence interval.
Results
Enter your details and click Calculate to see your results.
About This Calculator
t = (x̄ − μ₀)/(s/√n) with n − 1 df.
Example
Example: x̄ = 52, s = 6, n = 25 vs μ₀ = 50 → t = 1.666666667, p = 0.108580123.
Assumptions
Roughly normal data or n ≥ 30.
Frequently Asked Questions
Data or summary?
Paste raw data to have the mean and SD computed; leave it blank to use the summary fields.
Related Calculators
About the Author

Imran Hossain
Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile