FreeStatisticalTools.com
Compare means

Independent Samples T-Test Calculator

Compare two independent groups on a continuous outcome. You get Student’s and Welch’s tests side by side, Levene’s test to choose between them, and effect sizes.

Free · No sign-upReplaces SPSS · PrismWorks with your data
Updated · By Bibin Xavier

Data 90 × 12

Paste from Excel, or drop a CSV, TSV or Excel file here.
Example data 90 rows, 12 variables. Data stays in this browser tab.
IDtext · 90 levelsGrouptext · 3 levelsGendertext · 2 levelsAgenumericHours_StudynumericAnxietynumericMotivationnumericPre_ScorenumericPost_ScorenumericExam_ScorenumericPassednumeric · codedSatisfactionnumeric · coded
S001ControlMale2311.2294.660626712
S002WorkshopFemale233.9283.554705402
S003OnlineFemale1810.132455576603
S004ControlMale2613.6413.552555903
S005WorkshopFemale229.7273.656636504
S006OnlineFemale207.9323.865826502
S007ControlFemale206.328372836103
S008WorkshopMale228293.164726213

Variables and options

Results update automatically when you change an option.

Results

90 rows · example data
Table 1

Group statistics

GroupnMSDSE95% CI
Female5866.1010.381.36[63.37, 68.83]
Male3263.2512.132.14[58.88, 67.62]
Table 2

Independent samples t-test

Levene’s FptdfpMean differenceSE95% CI
Equal variances assumed (Student)0.95.3311.1888.2432.852.43[-1.97, 7.68]
Equal variances not assumed (Welch)1.1256.11.2662.852.54[-2.24, 7.94]

Note. Levene’s test is not significant, so either row is acceptable; many journals now recommend Welch by default. Effect sizes: Cohen’s d = 0.26, Hedges’ g = 0.26.

Group means with 95% CI

Mean difference2.85
Cohen’s d0.26small effect
Welch p.266

Interpretation

Female (M = 66.10) and Male (M = 63.25) did not differ significantly on Post_Score. The difference of 2.85 points is a small effect.

Female (M = 66.10, SD = 10.38) and Male (M = 63.25, SD = 12.13); t(88) = 1.18, p = .243, d = 0.26.

How to cite this tool

Using these results in a thesis, journal article, report or class assignment? Please cite this free tool so others can find it. It keeps the site free.

APA 7

Xavier, B. (2026). Independent Samples T-Test Calculator [Web application]. FreeStatisticalTools.com. https://freestatisticaltools.com/independent-t-test-calculator/

BibTeX

@software{xavier_independentttest_2026,
  author = {Xavier, Bibin},
  title = {Independent Samples T-Test Calculator},
  publisher = {FreeStatisticalTools.com},
  year = {2026},
  url = {https://freestatisticaltools.com/independent-t-test-calculator/},
  note = {Web application}
}

Suggested sentence for your methods section: “The analysis was carried out with the free Independent Samples T-Test Calculator tool on FreeStatisticalTools.com (Xavier, 2026).”

What is an independent samples t-test?

The independent samples t-test compares the means of two unrelated groups, such as a treatment and a control group. This calculator shows Student’s and Welch’s versions side by side, with Levene’s test for equal variances and standardized effect sizes.

When to use an independent samples t-test

Use it when one continuous outcome is measured in two separate groups, such as treatment and control.

Assumptions

  • Independent observations in two unrelated groups.
  • An approximately normal outcome in each group, or around 30+ per group.
  • Equal variances for Student’s version. Welch’s version does not need this.

How to set up your data

Long format: one column for the outcome and one for the group label. If the grouping variable has more than two levels, choose the two to compare.

How to use this tool

  1. Enter your data. Paste columns from Excel, Google Sheets or SPSS with variable names in the first row, or upload a CSV or Excel file. The example data shows the expected layout.
  2. Choose the variables. Select the dependent variable, grouping variable, group 1 and group 2.
  3. Read the results. Results update automatically. Read the plain-English interpretation, then use Copy table to paste APA-style tables into Word and Copy for the results sentence.

How to report an independent samples t-test in APA style

“Women (M = 66.1, SD = 10.2) scored higher than men (M = 61.8, SD = 11.0), t(88) = 1.92, p = .058, d = 0.41.”

Frequently asked questions

Should I report Student’s or Welch’s t-test?

Welch’s test does not assume equal variances and loses almost nothing when variances are equal, so many methodologists recommend reporting it by default. If Levene’s test is significant, Welch’s test is required.

How do I interpret Cohen’s d?

By Cohen’s conventions, d = 0.2 is small, 0.5 medium and 0.8 large. Hedges’ g applies a small-sample correction and is preferred when groups are small.

How should my data be arranged?

Use long format: one column with the outcome scores and one column with the group label. If the group column has more than two categories, choose the two you want to compare.

Related tools

Browse all categories