A one-way ANOVA (analysis of variance) tests whether the means of three or more independent groups differ on a continuous outcome, using one independent variable (the factor). It produces a single F test: if p < .05, at least one group mean differs from the others, and post hoc tests such as Tukey's HSD show which ones. In SPSS, run it from Analyze > Compare Means > One-Way ANOVA, tick Tukey under Post Hoc and Descriptive under Options, then report it in APA style as F(df between, df within) = value, p = value, with an effect size such as η² and the mean and standard deviation of every group, for example: F(2, 21) = 4.71, p = .020, η² = .31.
Working on a psychology methods assignment or lab report? Get one-to-one support from a specialist. Get a free quote →
What is a one-way ANOVA?
A one-way analysis of variance compares the average score of several groups that differ on one independent variable. "One-way" refers to that single factor; the factor can have three, four or more levels (conditions), but there is still only one of them. Typical psychology examples include comparing anxiety scores across three therapy types, reaction times across four levels of sleep deprivation, or exam scores across three teaching methods (Field, 2024).
The test works by comparing two sources of variability in the data:
- Between-groups variance: how far the group means are from the overall mean. If the conditions have an effect, this will be large.
- Within-groups variance: how much individual scores vary around their own group mean. This is the background noise, or error.
The F ratio is the between-groups variance divided by the within-groups variance. When the groups do not really differ, F is close to 1; the larger F is, the less likely it is that differences this big arose by chance. Because the F test looks at all the groups at once, it is called an omnibus test: a significant result tells you that the means are not all equal, but not which ones differ. That is the job of post hoc tests.
One-way ANOVA vs t-test vs two-way ANOVA
A common question is why you cannot simply run several t-tests. With three groups, you would need three t-tests (A vs B, A vs C, B vs C), and each one carries a 5% risk of a false positive. Across three tests, the chance of at least one false positive rises to about 14% (1 − .95³ = .14), and it keeps climbing as you add groups. The ANOVA tests all the groups in one analysis at α = .05, and post hoc tests then make the pairwise comparisons while controlling this inflated Type I error rate.
| Test | Independent variables | Groups or conditions | Use when |
|---|---|---|---|
| Independent-samples t-test | One | Exactly two | Comparing two separate groups |
| One-way ANOVA | One | Three or more | Comparing three or more separate groups |
| Two-way (factorial) ANOVA | Two | Every combination of levels, e.g. 2 × 2 = 4 | Testing two factors and their interaction |
| Repeated-measures ANOVA | One (within subjects) | Three or more measurements | The same people are measured in every condition |
| Welch's ANOVA | One | Three or more | Group variances are unequal |
| Kruskal-Wallis test | One | Three or more | The outcome is ordinal or strongly non-normal |
If your design has two independent variables, see our guide to main effects and interactions in a 2 × 2 factorial ANOVA. For a wider decision guide covering chi-square, correlation and regression, see which statistical test I should use.
One-way ANOVA assumptions (and what to do if they are violated)
| Assumption | How to check it | If it is violated |
|---|---|---|
| The dependent variable is continuous (interval or ratio) | Look at how it was measured: a rating scale, a time, a test score | Use a chi-square test for categories, or Kruskal-Wallis for ranks |
| Observations are independent: each person is in one group only | Check the design | Use a repeated-measures or mixed ANOVA |
| Scores are roughly normal within each group | Histograms or Q-Q plots of each group; avoid relying on significance tests of normality in small samples | ANOVA is fairly robust, especially with similar group sizes; with severe skew, consider Kruskal-Wallis |
| Group variances are similar (homogeneity of variance) | Levene's test (Homogeneity of variance test in SPSS Options) and the group standard deviations | Report Welch's F and use Games-Howell post hoc tests |
| No extreme outliers | Box plots of each group | Check for data entry errors; report analyses with and without genuine outliers |
Two recent papers are worth knowing. Blanca et al. (2017) simulated a wide range of non-normal distributions and found that the F test kept its false-positive rate under control in most conditions, so mild non-normality is rarely a reason to abandon ANOVA. Unequal variances are a bigger problem, particularly when group sizes also differ. Delacre et al. (2019) therefore recommend using Welch's F by default: it performs almost as well as the classic F when variances are equal and much better when they are not.
A dependent variable also needs a precise operational definition so readers know exactly what was measured and how it was scored.
Worked example: does a customer's clothing change how fast they are served?
This example comes from a classic textbook study (Smith & Davis, 2016). Salespeople were randomly assigned to see a customer who was dressy, sloppy or casually dressed, and the researchers timed how many seconds passed before the salesperson approached. The independent variable is clothing (three levels), the dependent variable is time to approach in seconds, and there are eight salespeople per group (N = 24). Higher times mean slower service.
| Dressy | Sloppy | Casual | |
|---|---|---|---|
| Scores | 37, 38, 44, 47, 49, 49, 54, 69 | 50, 46, 62, 52, 74, 69, 77, 76 | 39, 38, 47, 44, 50, 48, 70, 55 |
| Sum (Σ) | 387 | 506 | 391 |
| Mean (M) | 48.38 | 63.25 | 48.88 |
| Standard deviation (SD) | 10.11 | 12.54 | 10.20 |
Each mean is the sum divided by the number of scores: for the dressy group, 387 / 8 = 48.38 seconds. Looking at the means, salespeople seem to approach dressy and casual customers at about the same speed (48.38 and 48.88 seconds) but much more slowly when the customer is sloppily dressed (63.25 seconds). Whether those differences are bigger than chance is what the ANOVA tests.
How to run a one-way ANOVA in SPSS
Enter the data with one row per participant: one column for the group (coded 1 = dressy, 2 = sloppy, 3 = casual, with value labels) and one column for the time in seconds. Then:
- Choose Analyze > Compare Means > One-Way ANOVA.
- Move the outcome (Time to help) into the Dependent List and the grouping variable (Clothes) into Factor. SPSS calls the dependent variable the Dependent List and the independent variable the Factor.
- Click Post Hoc, tick Tukey, and also tick Games-Howell so you have a post hoc test ready if the variances turn out to be unequal. Click Continue.
- Click Options and tick Descriptive, Homogeneity of variance test, Welch and Means plot. Click Continue, then OK.




How to interpret one-way ANOVA output in SPSS
SPSS produces three tables you need and a plot. Read them in this order.
1. Descriptives
This table gives N, the mean, standard deviation, standard error and 95% confidence interval for each group and for everyone combined. Copy the means and standard deviations into your write-up; they show the direction of any difference the ANOVA finds. See our guide to descriptive statistics in SPSS for what each one means.

2. The ANOVA table
This is the omnibus test. Read across the Between Groups row:

- Sum of Squares splits the total variability (3688.00) into the part explained by the groups (1141.75) and the part within groups (2546.25).
- df gives the two degrees of freedom you report: between groups = number of groups − 1 = 2; within groups = N − number of groups = 21.
- Mean Square is each sum of squares divided by its df.
- F = 570.875 / 121.250 = 4.71.
- Sig. is the p-value. Here p = .020, which is below .05, so the group means are not all equal.
If you ticked Homogeneity of variance test, SPSS also prints Levene's test. Here it is not significant, F(2, 21) = 0.95, p = .404, so the equal-variances assumption is reasonable and Tukey is the right post hoc test.
3. Multiple Comparisons (post hoc tests)
Because the ANOVA was significant, the Tukey HSD table shows which pairs of groups differ. Each pair appears twice (A vs B and B vs A), so read each comparison once. Significant differences are marked with an asterisk in the Mean Difference column.

| Comparison | Mean difference (s) | p | Conclusion |
|---|---|---|---|
| Dressy vs sloppy | −14.88 | .034 | Dressy customers approached significantly faster |
| Casual vs sloppy | −14.38 | .041 | Casual customers approached significantly faster |
| Dressy vs casual | −0.50 | .995 | No difference |
4. The means plot
The means plot shows the three group means. It makes the pattern obvious: the sloppy group sits well above the other two. Note that SPSS joins the points with lines even though the groups have no natural order; for a report, a dot plot with confidence intervals is clearer. Our guide to making figures for a scientific paper explains why.

Effect size for a one-way ANOVA: eta squared and omega squared
A p-value tells you whether the groups differ; an effect size tells you by how much. Report one with every ANOVA (American Psychological Association, 2020).
- Eta squared (η²) = between-groups sum of squares ÷ total sum of squares = 1141.75 ÷ 3688.00 = .31. Clothing accounts for about 31% of the variability in approach times in this sample.
- Omega squared (ω²) = (SS between − df between × MS within) ÷ (SS total + MS within) = .24. η² overestimates the population effect, especially in small samples, so ω² is the less biased choice (Albers & Lakens, 2018; Lakens, 2013).
Cohen's (1992) benchmarks for ANOVA are expressed as f: .10 small, .25 medium and .40 large, which correspond roughly to η² of .01, .06 and .14. Here f = .67, a large effect, although with only eight people per group the estimate is imprecise. Benchmarks are a rough guide; judge the size of an effect against what matters in your field. You can convert between η², ω², f and d with our effect size calculator.
How to report a one-way ANOVA in APA 7
An APA results paragraph for a one-way ANOVA states the test, the F ratio with both degrees of freedom, the exact p value, an effect size, the post hoc test used and the means and standard deviations of every group (American Psychological Association, 2020; Appelbaum et al., 2018). Italicise statistical symbols and give p without a leading zero; our guide to reporting statistics in APA 7 covers the details.
A one-way between-subjects ANOVA was conducted to compare the time salespeople took to approach customers in dressy, sloppy and casual clothing. There was a significant effect of clothing, F(2, 21) = 4.71, p = .020, η² = .31. Tukey HSD post hoc tests showed that customers in sloppy clothing (M = 63.25 s, SD = 12.54) were approached significantly more slowly than customers in dressy clothing (M = 48.38 s, SD = 10.11), p = .034, and casual clothing (M = 48.88 s, SD = 10.20), p = .041. Approach times for dressy and casual customers did not differ, p = .995.
Report a non-significant result in the same format, for example F(2, 21) = 1.12, p = .345, η² = .10, and do not run or report post hoc tests after a non-significant omnibus test unless you planned specific comparisons in advance. If you used Welch's test, report its adjusted degrees of freedom, as in the next section.
When assumptions are violated: Welch's ANOVA and Kruskal-Wallis
Welch's ANOVA (unequal variances)
Welch's F adjusts the within-group degrees of freedom to allow for unequal variances, so the second df is usually a decimal. Delacre et al. (2019) argue it should be the default. For the example data, Welch's test gives F(2, 13.88) = 3.91, p = .045: the same conclusion as the classic F, with a slightly larger p-value. Pair Welch's F with Games-Howell post hoc tests, which do not assume equal variances.
Kruskal-Wallis test (ordinal or severely non-normal data)
The Kruskal-Wallis test compares groups using the ranks of the scores instead of the scores themselves (Kruskal & Wallis, 1952). Run it from Analyze > Nonparametric Tests > Independent Samples in SPSS. For the example, H(2) = 6.68, p = .035, with mean ranks of 9.50 (dressy), 17.75 (sloppy) and 10.25 (casual). Follow a significant result with Dunn's pairwise tests, which SPSS provides with a Bonferroni adjustment.
Common one-way ANOVA mistakes
- Running several t-tests instead of an ANOVA, which inflates the false-positive rate.
- Stopping at the F test. A significant F says the means differ somewhere; the post hoc table says where.
- Running post hoc tests after a non-significant F and reporting any difference that appears.
- Leaving out descriptive statistics. Every group's mean and standard deviation belongs in the write-up.
- Writing p = .000. SPSS rounds; report p < .001 instead.
- Using a one-way ANOVA for repeated measurements of the same people, or for a categorical outcome such as yes/no answers.
- Ignoring unequal variances when Levene's test is significant, and group sizes differ; use Welch's F and Games-Howell.
Getting help with ANOVA in your statistics course
If you would like a specialist to check your SPSS setup, help you interpret your output or give feedback on your APA results section, see our psychology research methods and statistics support. We explain each step so you can apply it confidently in your own work.
Frequently asked questions
What is a one-way ANOVA used for?
It tests whether the means of three or more independent groups differ on a continuous outcome when there is one independent variable, for example comparing anxiety scores across three types of therapy.
What is the difference between a one-way ANOVA and a t-test?
A t-test compares two group means; a one-way ANOVA compares three or more in a single test. Running several t-tests instead raises the chance of a false positive, which the ANOVA and its post hoc tests control.
What is the difference between a one-way and a two-way ANOVA?
A one-way ANOVA has one independent variable. A two-way ANOVA has two independent variables and also tests whether they interact.
How do I interpret one-way ANOVA results in SPSS?
Check the Sig. value in the Between Groups row of the ANOVA table. If it is below .05, the group means are not all equal. Then use the Multiple Comparisons table (for example Tukey HSD) to see which pairs of groups differ, and the Descriptives table for each group's mean and standard deviation.
Which post hoc test should I use after a one-way ANOVA?
Tukey HSD is the usual choice when group variances are similar. If Levene's test shows unequal variances, use Games-Howell.
How do you report a one-way ANOVA in APA 7?
Give F with the between- and within-groups degrees of freedom, the exact p value and an effect size, for example F(2, 21) = 4.71, p = .020, η² = .31, followed by the post hoc results and the mean and standard deviation of each group.
What is a good effect size for a one-way ANOVA?
Using Cohen's benchmarks, eta squared of about .01 is small, .06 medium and .14 large. Omega squared is less biased than eta squared, especially in small samples.
What if the assumptions of a one-way ANOVA are violated?
If variances are unequal, use Welch's ANOVA with Games-Howell post hoc tests. If the outcome is ordinal or severely non-normal, use the Kruskal-Wallis test. ANOVA is fairly robust to mild non-normality.
Sources
- Field A. Discovering Statistics Using IBM SPSS Statistics. 6th ed. London: Sage; 2024
- Delacre M, Leys C, Mora YL, Lakens D. Taking parametric assumptions seriously: arguments for the use of Welch's F-test instead of the classical F-test in one-way ANOVA. Int Rev Soc Psychol 2019;32(1):13
- American Psychological Association. Publication Manual of the American Psychological Association. 7th ed. Washington, DC: American Psychological Association; 2020
- Albers C, Lakens D. When power analyses based on pilot data are biased: inaccurate effect size estimators and follow-up bias. J Exp Soc Psychol 2018;74:187-195
- Appelbaum M, Cooper H, Kline RB, et al. Journal article reporting standards for quantitative research in psychology: the APA Publications and Communications Board task force report. Am Psychol 2018;73:3-25
- Blanca MJ, Alarcón R, Arnau J, Bono R, Bendayan R. Non-normal data: is ANOVA still a valid option? Psicothema 2017;29(4):552-557
- Lakens D. Calculating and reporting effect sizes to facilitate cumulative science: a practical primer for t-tests and ANOVAs. Front Psychol 2013;4:863
- Cohen J. A power primer. Psychol Bull 1992;112(1):155-159
- Kruskal WH, Wallis WA. Use of ranks in one-criterion variance analysis. J Am Stat Assoc 1952;47(260):583-621
- Smith RA, Davis SF. The Psychologist as Detective: An Introduction to Conducting Research in Psychology. Updated ed. Boston, MA: Pearson; 2016
