Three-Way ANOVA Calculator

Enter your data for three categorical factors (Factor A, Factor B, Factor C) and a continuous dependent variable, then the Three-Way ANOVA Calculator computes all main effects, two-way interactions (AB, AC, BC), and the three-way interaction (ABC). Set your significance level (α) and get F-statistics, p-values, degrees of freedom, sum of squares, and mean squares in a full ANOVA table.

The threshold probability for rejecting the null hypothesis.

Label for the first independent factor.

Label for the second independent factor.

Label for the third independent factor.

How many categories does Factor A have?

How many categories does Factor B have?

How many categories does Factor C have?

Values must follow the order: for each level of A, for each level of B, list all levels of C. Each cell should have the same number of replications.

Number of observations per factor combination cell (must be equal across all cells for balanced design).

Results

F-Statistic for Factor A

--

p-Value for Factor A

--

F-Statistic for Factor B

--

p-Value for Factor B

--

F-Statistic for Factor C

--

p-Value for Factor C

--

F-Statistic for Interaction AB

--

p-Value for Interaction AB

--

F-Statistic for Interaction AC

--

p-Value for Interaction AC

--

F-Statistic for Interaction BC

--

p-Value for Interaction BC

--

F-Statistic for Interaction ABC

--

p-Value for Interaction ABC

--

Total Sum of Squares (SST)

--

Mean Square Error (MSE)

--

F-Statistics by Source

Results Table

Frequently Asked Questions

What is a Three-Way ANOVA?

A three-way ANOVA (analysis of variance) is a statistical test that examines the effects of three independent categorical variables (factors A, B, and C) on a continuous dependent variable. It evaluates seven effects simultaneously: three main effects (A, B, C), three two-way interactions (AB, AC, BC), and one three-way interaction (ABC).

What is the difference between main effects and interaction effects?

A main effect is the independent influence of a single factor on the dependent variable, averaged across all levels of the other factors. An interaction effect occurs when the influence of one factor depends on the level of another factor. In a three-way ANOVA, a significant ABC interaction means the two-way interaction between any two factors changes depending on the level of the third.

What are the assumptions of a Three-Way ANOVA?

The key assumptions are: (1) the dependent variable is continuous and approximately normally distributed within each cell, (2) observations are independent of each other, (3) there is homogeneity of variances across groups (homoscedasticity), and (4) the design is balanced (equal sample sizes per cell). Violations of normality are less critical with larger sample sizes.

How do I enter data for the Three-Way ANOVA calculator?

Enter the dependent variable values as a comma-separated list. The order should vary Factor C fastest, then Factor B, then Factor A. For example, with 2 levels each and 2 replications: A1B1C1, A1B1C1 (rep2), A1B1C2, A1B1C2 (rep2), A1B2C1, ... continuing through all combinations. Specify the number of replications per cell so the calculator can correctly partition the values.

What does a significant p-value mean in a Three-Way ANOVA?

If the p-value for a source (e.g., Factor A or the AB interaction) is less than your chosen significance level α (commonly 0.05), you reject the null hypothesis for that source. This means there is statistically significant evidence that the factor or interaction has an effect on the dependent variable. A p-value above α suggests no significant effect was detected.

What is the three-way ANOVA model equation?

The full model is: Y_ijkl = μ + A_i + B_j + C_k + (AB)_ij + (AC)_ik + (BC)_jk + (ABC)_ijk + ε_ijkl, where μ is the grand mean, A_i, B_j, C_k are the main effects, the parenthesized terms are interaction effects, and ε_ijkl is the random error term.

What is a balanced design and why does it matter?

A balanced design has the same number of observations (replications) in every cell (every combination of factor levels). This calculator assumes a balanced design. Balanced designs simplify computation and ensure that the sum-of-squares partitioning is orthogonal, meaning the effects are independent and the ANOVA results are straightforward to interpret.

How is the F-statistic calculated in a Three-Way ANOVA?

The F-statistic for each effect is calculated by dividing its Mean Square (MS = SS / df) by the Mean Square Error (MSE) from within-cell variation. A large F-statistic indicates more variance is explained by the effect than by random error. The corresponding p-value is obtained from the F-distribution with the appropriate numerator and denominator degrees of freedom.

More Statistics Tools