Free tool · no sign-up
Free t-test calculator (independent samples)
Compare the average of a measured variable between two groups, such as exam scores for students taught two different ways.
Copy your columns from Excel, Google Sheets or a CSV file. Put the column names in the first row, one row per person.
Your data is analysed on our server and not saved. Up to 5,000 rows and 40 columns.
What you need
Your data
- One column of numbers (the outcome), such as scores, ages or amounts.
- One column that says which of two groups each row belongs to.
When to use it
When to use the t-test
- You have two separate groups of people or things (not the same people measured twice).
- You want to know whether their averages differ by more than chance would explain.
- Examples: treated vs control, male vs female, two schools, two teaching methods.
Your results
How to read them
- p below .05 is the usual threshold for calling a difference statistically significant. It says the difference is unlikely to be chance alone, not that it matters in practice.
- The mean difference and its 95% confidence interval show how big the difference is, and how precisely it's estimated.
- Cohen's d is the effect size: about 0.2 is small, 0.5 medium and 0.8 large (Cohen's rough benchmarks), whatever its sign.
- A minus sign only means the first group (taken in alphabetical order, named in the table note) has the lower average. It changes the direction, not the size.
- The calculator checks whether the two groups have similar spread (Levene's test). If not, it uses Welch's t-test, which doesn't assume equal spread, and says so.
Write it up
How to report it (APA)
t(18) = -4.80, p < .001, d = -2.15
This is the result for the example data. Add the group means and standard deviations to describe the direction, e.g. “The lecture group (M = 73.2, SD = 5.3) scored higher than the discussion group (M = 63.1, SD = 4.0)”.
Questions
About this t-test calculator
What if I have more than two groups?
Do my data have to be normally distributed?
Is it a paired t-test?
Is it free, and is my data kept?
How many rows can I use?
More free tools: One-way ANOVA, Chi-square test, Correlation, Linear regression, Cronbach's alpha, Descriptive statistics, Frequency table and the sample size calculator.
Analyse your whole dataset with Cusfly
Keep your data, run every test, and get a plain-language explanation of each result to help you write up your findings.
