Two-Way ANOVA Calculator
Test two main effects and their interaction (A × B) using raw cell data or cell summary statistics (n, M, SD). Uses exact Type III sums of squares for both balanced and unbalanced designs, with an interaction profile plot, partial ηp² effect sizes, plain-English interpretation, and an APA 7 write-up.
Interaction Profile Plot (Cell Means ± 95% CI)
Parallel lines indicate no interaction; non-parallel or crossing lines suggest an interaction between Factor A and Factor B.
Two-Way ANOVA Table (Type III Sums of Squares)
Cell & Marginal Means
Step-by-step summary
Plain-English Interpretation
APA 7 Results Paragraph
Study Guide: Interpreting Two-Way ANOVA
A two-way (factorial) ANOVA evaluates how two categorical factors (A and B) jointly affect a numeric outcome. It answers three questions simultaneously:
- Interaction (A × B) — always check this first! Does the effect of Factor A depend on the level of Factor B? If the interaction is significant (lines on the profile plot diverge or cross), main effects can be misleading on their own because the pattern changes across levels.
- Main effect of Factor A: Does the outcome differ across levels of Factor A (averaged over Factor B)?
- Main effect of Factor B: Does the outcome differ across levels of Factor B (averaged over Factor A)?
- Partial eta-squared (ηp²):
SS_effect / (SS_effect + SS_error). This is the standard effect size reported in APA 7 for factorial ANOVA (.01 small, .06 medium, .14 large). - Type III Sums of Squares: When all cells have equal sample sizes (balanced), Type I, II, and III SS are identical. When cell sizes differ (unbalanced), Type III SS tests each effect controlling for all other effects in the model (the default in SPSS and APA psychology reporting).
Worked Example — Study Method × Class Time (Significant Interaction)
A 2 × 2 experiment tests whether Study Method (Flashcards vs. Practice Tests) and Class Time (Morning vs. Evening) affect exam scores (n = 5 per cell, N = 20). Practice Tests strongly outperform Flashcards in the Morning (87.40 vs. 71.00) while the two methods are nearly identical in the Evening (75.80 vs. 77.20), producing a strong interaction (F(1, 16) = 104.22, p < .001, ηp² = .87).
APA 7 write-up
A 2 × 2 between-subjects ANOVA was conducted to examine the effects of Study Method (Flashcards, Practice Tests) and Class Time (Morning, Evening) on exam score. The main effect of Study Method was statistically significant, F(1, 16) = 74.01, p < .001, ηp2 = .82. The main effect of Class Time was statistically significant, F(1, 16) = 9.59, p = .007, ηp2 = .37. The interaction between Study Method and Class Time was statistically significant, F(1, 16) = 104.22, p < .001, ηp2 = .87. Because the interaction was significant, the effect of Study Method varied across levels of Class Time (see cell means and interaction plot).