Two-Way ANOVA Calculator
Measure two main effects and their interaction in a balanced 2 x 2 factorial design.
About two-way ANOVA
Two-way ANOVA examples
| Four cells: A1B1 | A1B2 | A2B1 | A2B2 | F statistics | Interpretation |
|---|---|---|
| 1,2,3 | 3,4,5 | 5,6,7 | 7,8,9 | A = 48; B = 12; A x B = 0 | Additive main effects |
| 1,2,3 | 7,8,9 | 7,8,9 | 1,2,3 | A = 0; B = 0; A x B = 108 | Pure crossover interaction |
| 4,5,6 | 4,5,6 | 4,5,6 | 4,5,6 | A = 0; B = 0; A x B = 0 | No systematic factorial effects |
How to calculate a two-way ANOVA
- Arrange independent observations into the four combinations of Factor A and Factor B.
- Confirm that every cell has the same number of numeric replicates.
- Enter each cell's values separated by commas or spaces.
- Select Calculate Two-Way ANOVA and compare the two main-effect and interaction F-statistics.
Frequently asked questions
What is an interaction effect?
An interaction means the effect of one factor depends on the level of the other factor. It should be explored with cell means or simple effects rather than interpreted only through main effects.
Why must all four samples be the same size?
This calculator uses balanced-design formulas that keep the factorial effects independent. Unequal cell sizes require a general linear model and an explicit choice of sums-of-squares type.
What does replication mean in two-way ANOVA?
Replication means each factor-level combination contains multiple independent observations. It provides a direct estimate of residual error needed to test the interaction.
Can I use repeated measurements?
Not with this independent-samples calculator. Repeated observations on the same subjects require a repeated-measures or mixed-effects model that accounts for dependence.
Should I interpret main effects when interaction is large?
Use caution because an average main effect may hide very different effects across levels. Examine the four cell means and test planned simple effects first.