Skip to content
+44 7386783749

One Way vs Two Way ANOVA: Differences, Examples and When to Use Each

Statistics notes comparing one-way and two-way ANOVA tables

Published 10 Oct 2026 · Updated 9 Oct 2026

One way vs two way ANOVA comes down to the number of factors. A one-way ANOVA compares group means on one factor, while a two-way ANOVA uses two factors and also tests whether they interact. This guide gives worked numbers, assumptions and a decision table for your methods chapter.

Get feedback on your analysis chapter

What is ANOVA?

ANOVA stands for analysis of variance. It tests whether the average of a measured outcome differs between groups. The outcome, such as an exam score, must be numerical. The groups come from categories, such as teaching method.

Each categorical variable is called a factor, and its categories are its levels. The test compares variation between groups with variation inside groups. A large ratio, the F statistic, suggests the group means are not all equal.

One way vs two way ANOVA: the core difference

FeatureOne-way ANOVATwo-way ANOVA
FactorsOneTwo
Question askedDo the group means differ?Does each factor matter, and do they interact?
Hypotheses testedOneThree: factor A, factor B, interaction
Typical design3 revision methods3 revision methods by 2 study modes
Main outputOne F valueThree F values

Any ANOVA with two or more factors is called factorial. The extra factor is not just a bonus variable. It lets you see whether the effect of one factor changes across the levels of the other.

Hypotheses side by side

TestNull hypotheses
One-wayAll group means are equal.
Two-way1. Factor A levels have equal means. 2. Factor B levels have equal means. 3. There is no interaction between A and B.

The alternative hypothesis in each case says at least one mean differs, or that an interaction exists. Write your hypotheses in your methods chapter before you show any output.

One way ANOVA example

Imagine 15 students randomly placed into three revision methods, five per method. The invented exam scores below show the pattern a one-way ANOVA tests.

Revision methodScoresMean
Flashcards62, 65, 68, 64, 6665.0
Practice papers70, 72, 69, 74, 7171.2
Summary notes66, 68, 70, 67, 6968.0

The null hypothesis says all three population means are equal. Running the test gives F(2, 12) = 12.88, p = .001. The means are not all equal, but the test does not say which pair differs.

Find the pair that differs

Follow a significant F with a post hoc test such as Tukey's. It compares every pair while controlling the chance of a false positive. Here you would expect practice papers to differ from flashcards, but the post hoc output must confirm it.

Two groups only

With two groups, a one-way ANOVA and an independent t-test lead to the same conclusion. Most students simply use the t-test. ANOVA earns its place at three or more groups, where repeated t-tests inflate error.

Two way ANOVA example

Now add a second factor: study mode, alone or in a group. Four students sit in each of four cells. Cell means from an invented dataset are shown below.

Mean scoreStudied aloneStudied in a group
Flashcards62.062.5
Practice papers64.073.0

The test returns three results, each with df (1, 12). Revision method: F = 110.29. Study mode: F = 63.71. Interaction: F = 51.00. All three have p below .001.

Reading the interaction

Group study adds only 0.5 points for flashcards but 9.0 points for practice papers. So the benefit of group study depends on the method. That dependence is the interaction, and it is the finding a one-way test cannot show.

Interaction first, main effects second

Check the interaction before the main effects. If it is significant, describe the effect of one factor within each level of the other. Quoting only the overall method difference would hide the real story.

When to use two way ANOVA

Choose it when your design matches every point below.

  • One numerical outcome, such as a score, time or yield
  • Two categorical factors, each with two or more groups
  • Different participants in each cell, not repeated measures
  • A research question about both factors, or about their interaction

If one of your predictors is a number, such as age, the usual route is ANCOVA instead. If the same people are measured several times, look at repeated-measures ANOVA.

Which test fits your design?

Your designTestWhy
One factor, three groupsOne-way ANOVAOne question, one factor
Two factors, independent groupsTwo-way ANOVATests both factors and interaction
Same people, several time pointsRepeated-measures ANOVAScores are linked
Normality fails badly, one factorKruskal-WallisRank-based alternative
Numerical predictor plus groupsANCOVAAdjusts for the number

ANOVA assumptions

Check these before you report results. Software tests exist for most of them, and your methods chapter should say what you did.

Independent observations

Each score must come from a different participant, and no one can sit in two groups. Clustered data, such as pupils in the same class, break this rule and need a different model.

Roughly normal scores

The outcome should be approximately normal within each group. Laerd Statistics suggests the Shapiro-Wilk test. Moderate departures matter less when groups are large.

Equal variances

Spread should be similar across groups. Levene's test checks this. If it fails, consider a transformation or a rank-based test.

No extreme outliers

Check box plots for extreme scores. A single odd value can shift a mean. Report whether you removed it and why.

How to report ANOVA results

A results sentence needs the test, degrees of freedom, F, p and a plain statement of what happened. This template fits the one-way example.

PartWording
ResultA one-way ANOVA showed a significant effect of revision method on exam score, F(2, 12) = 12.88, p = .001.
Follow-upTukey post hoc tests then compared each pair of methods.
Plain meaningStudents using practice papers scored highest on average (M = 71.2).

Check your department's reporting style, and see our results section guide for layout and tables.

Common mistakes

  • Running several t-tests where one ANOVA would do
  • Stopping at a significant F without a post hoc test
  • Reading main effects when the interaction is significant
  • Using a categorical outcome, which ANOVA cannot handle
  • Skipping assumption checks or forgetting to report them
  • Treating Likert items as scores without justifying it. See ordinal vs interval data

Need feedback on your analysis chapter?

Our specialists give written feedback on your draft methods and results, and you write the final version yourself. Read how it works. Good design also depends on sound sampling and checks of validity and reliability.

Related guides

Sources

Frequently asked questions

What is the difference between one-way and two-way ANOVA?

A one-way ANOVA has one categorical factor. A two-way ANOVA has two and also tests their interaction, meaning whether one factor's effect depends on the other.

When should I use a two-way ANOVA?

Use it with one numerical outcome and two categorical factors on independent groups, when you want both main effects and the interaction.

What are the assumptions of ANOVA?

Independent observations, an approximately normal outcome in each group, similar variances across groups and no extreme outliers. Two-way designs apply these to every cell.

What is an interaction effect?

It means the effect of one factor changes across the levels of the other, such as a method that works well in groups but not alone.

Can I use ANOVA instead of a t-test?

With two groups both reach the same conclusion, so the t-test is simpler. ANOVA becomes useful from three groups upwards.

Which post hoc test should I use after ANOVA?

Run a post hoc test such as Tukey's to see which groups differ. With a significant interaction, examine simple effects within each level.

Is a Likert scale suitable for ANOVA?

It depends on how you treat the data. Justify the choice and check assumptions. Many supervisors prefer a summed scale from several items.