Statistics
T-Test Calculator
Perform one-sample or two-sample t-tests. Calculate the t-statistic, degrees of freedom, and p-value to determine statistical significance between sample means.
Dataset Input
Valid formats: 12, 15.5, 20 or newline separated lists. Non-numeric values are automatically excluded.
Summary Metrics
Sample Size (n)10
Min / Max Range[12, 30]
Summation (Σx)212
Arithmetic Mean
21.2
Median Value
21.5
Modal Value
22
Std. Deviation
5.2688
Population Variance
27.76
Total Range Spread
18
Frequency Distribution
Dataset visualization across unique values
Share & Embed
Share your exact result or embed this tool.
Solution Methodology
01
Select Test Type
Choose one-sample, independent two-sample, or paired t-test.
02
Enter Sample Data
Input the means, standard deviations, and sample sizes for your groups.
03
Calculate T-Statistic & P-Value
Determine the t-value and degrees of freedom, then compute the p-value to test the null hypothesis.
Common Questions
When should I use a t-test?
A t-test is used to compare the means of one or two groups when the population standard deviation is unknown and the sample size is relatively small (typically n < 30). It helps determine if observed differences are statistically significant.
What is the difference between a paired and independent t-test?
An independent (unpaired) t-test compares the means of two different, unrelated groups. A paired t-test compares the means from the same group at different times, or from two matched groups (e.g., before and after measurements).