DATA (LONG FORMAT)
Factor A, factor B, score
One row per participant. An optional first row can hold the variable names. Separate values with spaces, tabs or commas.
TWO-WAY ANOVA CALCULATOR
DATA (LONG FORMAT)
One row per participant. An optional first row can hold the variable names. Separate values with spaces, tabs or commas.
METHOD
A two-way ANOVA tests how two categorical factors, such as teaching method and gender, affect one numeric outcome. It gives three results: a main effect for each factor and an interaction effect, which shows whether the effect of one factor depends on the level of the other.
F = MS(effect) ÷ MS(error), partial η² = SS(effect) ÷ (SS(effect) + SS(error))Each effect's sum of squares is found by comparing the full model with a model that leaves that effect out (Type III, sum-to-zero coding). Degrees of freedom are (a − 1), (b − 1) and (a − 1)(b − 1), with N − ab for the error term.
The sample data has 3 teaching methods × 2 genders with 3 students per cell (N = 18).
Start with the interaction, then the main effects: “There was no significant interaction between method and gender, F(2, 12) = 0.30, p = .748, partial η² = .05. There was a significant main effect of method, F(2, 12) = 21.99, p < .001, partial η² = .79, and of gender, F(1, 12) = 21.24, p < .001, partial η² = .64.”
ABOUT THIS TOOL
Test two factors and their interaction on one numeric outcome, for balanced or unbalanced designs, with Type III sums of squares, partial eta squared, cell means and an APA write-up.
KEY FUNCTIONS
USE IN YOUR THESIS
APA 7 reference for software or an online tool. Cite the statistical method in your text as well.
SolveGrid. (2026). Two-Way ANOVA Calculator [Online calculator]. https://solvegrid.online/two-way-anova-calculator
LEARN THE METHOD
Compare three or more group means from raw data, with a full ANOVA source table, effect sizes, assumption checks, Tukey-Kramer pairwise comparisons, and a ready APA sentence.
Compare three or more measurements on the same participants, with Mauchly's sphericity test, Greenhouse-Geisser and Huynh-Feldt corrections, Bonferroni post hoc tests and APA text.
Get the effect size for any common test in seconds, from raw summary statistics or from a reported t, F, or z value, with benchmarks and APA wording.