The difference is the number of grouping factors. One-way ANOVA has one, such as diet. Two-way ANOVA has two, such as diet and exercise level, and also tests whether they interact.
| One-way ANOVA | Two-way ANOVA | |
|---|---|---|
| Grouping factors | 1 | 2 |
| Example question | Does weight loss differ between three diets? | Do diet and exercise level affect weight loss, and does the best diet depend on the exercise level? |
| Results you get | One F test | Three F tests: factor A, factor B, A × B |
| Data layout | One column of values per group | One row per observation: factor A, factor B, value |
| Minimum design | 3 groups (2 groups is just a t-test) | 2 × 2 = 4 cells, ideally with several observations in each |
How to choose
Count the things you deliberately varied or grouped by. One thing: one-way. Two things: two-way.
If you have two factors, don’t run two separate one-way ANOVAs. You would miss the interaction, and an interaction is often the most useful result. A teaching method that works for beginners but not for advanced students is an interaction. Two one-way analyses would blur it into a weak overall effect.
Two-way ANOVA also tends to have more power. Part of the variation that a one-way analysis treats as noise is explained by the second factor, so the error term shrinks and real effects stand out more clearly.
What about repeated measures?
Both versions here assume each observation comes from a different person or unit. If the same people are measured under every condition, you need repeated-measures ANOVA, which accounts for the pairing in the same way a paired t-test does.
Read more: one-way ANOVA with a worked example and two-way ANOVA with an interaction. Or go straight to the ANOVA calculator, which does both.
Check yourself
You compare satisfaction scores across four store locations. One-way or two-way?
One-way. There is one factor, location, with four levels.
You compare crop yield across three fertilisers and two soil types. One-way or two-way?
Two-way: fertiliser (3 levels) and soil type (2 levels), six combinations in all.