Compare the means of two independent groups and determine whether the difference is statistically meaningful — in seconds.
The Independent Samples t-Test is the most widely used inferential test in behavioral and social science research. It compares the means of two unrelated groups to determine whether any observed difference is larger than would be expected by chance. From clinical trials comparing a treatment to a placebo, to psychology experiments contrasting two conditions, to business analytics comparing conversion rates — the t-test is the workhorse of group comparison.
The test produces a t-statistic that measures how many standard errors the two group means are apart. This statistic is evaluated against the t-distribution with degrees of freedom that depend on your sample sizes and variances. Modern practice requires also reporting Cohen's d as an effect size, because statistical significance alone does not convey practical importance.
StatRyx performs the full independent t-test pipeline automatically: Shapiro-Wilk normality checks on both groups, Levene's test for equality of variances (automatically switching to Welch's t-Test when variances differ significantly), the t-statistic, p-value, Cohen's d, and 95% confidence intervals — all formatted in APA 7 style.
| Group | n | M | SD | t | df | p | d |
|---|---|---|---|---|---|---|---|
| Therapy | 60 | 38.4 | 7.2 | −4.63 | 118 | < .001 | 0.83 |
| Control | 60 | 45.1 | 8.9 |
An independent samples t-test was conducted to compare anxiety scores between therapy and control groups. There was a significant difference in anxiety scores for therapy (M = 38.4, SD = 7.2) and control (M = 45.1, SD = 8.9) conditions; t(118) = −4.63, p < .001, d = 0.83, 95% CI [−9.68, −3.72].
Yes. You can run it without an account (3 free analyses), and a free account adds 10 more — a one-time allowance, no payment needed. Every result includes the APA 7 write-up. Paid plans (Student from $9/month) add more analyses and Word, PDF and Excel export.
No. You describe your research question in plain English — for example, 'Compare salary between men and women' — and StatRyx handles the entire statistical process automatically, including choosing between Student's and Welch's t-Test based on variance equality.
With around 30 participants per group, the Central Limit Theorem generally ensures robustness to mild non-normality. For detecting a medium effect (d = 0.5) at 80% power and α = .05, you need roughly 52 participants per group. StatRyx can perform power analysis on request.
Student's t-test assumes equal variances in both groups; Welch's t-test does not. Because Welch's performs well even when variances are equal (only slightly less power), many methodologists recommend always using Welch's version. StatRyx applies Levene's test and automatically selects the appropriate version.
Cohen's d expresses the difference between two group means in standard deviation units. Values around 0.2 are considered small, 0.5 medium, and 0.8 large. It is essential for interpreting the practical significance of a result and is required by most journals for publication.
Run a Independent Samples t-Test on your data →