Two-Way ANOVA Calculator
Test the effects of two categorical factors and their interaction on one outcome. Sums of squares are Type III, matching SPSS for unbalanced designs.
Updated · By Bibin XavierData 90 × 12
| IDtext · 90 levels | Grouptext · 3 levels | Gendertext · 2 levels | Agenumeric | Hours_Studynumeric | Anxietynumeric | Motivationnumeric | Pre_Scorenumeric | Post_Scorenumeric | Exam_Scorenumeric | Passednumeric · coded | Satisfactionnumeric · coded |
|---|---|---|---|---|---|---|---|---|---|---|---|
| S001 | Control | Male | 23 | 11.2 | 29 | 4.6 | 60 | 62 | 67 | 1 | 2 |
| S002 | Workshop | Female | 23 | 3.9 | 28 | 3.5 | 54 | 70 | 54 | 0 | 2 |
| S003 | Online | Female | 18 | 10.1 | 32 | 4 | 55 | 57 | 66 | 0 | 3 |
| S004 | Control | Male | 26 | 13.6 | 41 | 3.5 | 52 | 55 | 59 | 0 | 3 |
| S005 | Workshop | Female | 22 | 9.7 | 27 | 3.6 | 56 | 63 | 65 | 0 | 4 |
| S006 | Online | Female | 20 | 7.9 | 32 | 3.8 | 65 | 82 | 65 | 0 | 2 |
| S007 | Control | Female | 20 | 6.3 | 28 | 3 | 72 | 83 | 61 | 0 | 3 |
| S008 | Workshop | Male | 22 | 8 | 29 | 3.1 | 64 | 72 | 62 | 1 | 3 |
Variables and options
Results
90 rows · example dataTests of between-subjects effects
| Source | Type III SS | df | MS | F | p | Partial η² |
|---|---|---|---|---|---|---|
| Group | 1184.47 | 2 | 592.24 | 5.38 | .006 | .114 |
| Gender | 67.57 | 1 | 67.57 | 0.61 | .435 | .007 |
| Group × Gender | 647.38 | 2 | 323.69 | 2.94 | .058 | .065 |
| Error | 9240.14 | 84 | 110.00 | |||
| Corrected total | 10869.29 | 89 |
Note. R² = .150. Levene’s test across cells: F(5, 84) = 1.37, p = .245.
Cell means
| Group | Female M (SD, n) | Male M (SD, n) | Marginal M |
|---|---|---|---|
| Control | 63.65 (11.89, 17) | 57.62 (6.89, 13) | 61.03 |
| Online | 67.45 (8.37, 20) | 61.70 (11.57, 10) | 65.53 |
| Workshop | 66.81 (10.95, 21) | 73.11 (13.59, 9) | 68.70 |
Interaction plot
Interpretation
The main effect of Group was statistically significant (partial η² = .114), the main effect of Gender was not statistically significant (partial η² = .007), and the interaction was not statistically significant. Non-parallel lines in the plot would suggest an interaction; here they do not differ reliably.
How to cite this tool
Using these results in a thesis, journal article, report or class assignment? Please cite this free tool so others can find it. It keeps the site free.
APA 7
Xavier, B. (2026). Two-Way ANOVA Calculator [Web application]. FreeStatisticalTools.com. https://freestatisticaltools.com/two-way-anova-calculator/
BibTeX
@software{xavier_twowayanova_2026,
author = {Xavier, Bibin},
title = {Two-Way ANOVA Calculator},
publisher = {FreeStatisticalTools.com},
year = {2026},
url = {https://freestatisticaltools.com/two-way-anova-calculator/},
note = {Web application}
}Suggested sentence for your methods section: “The analysis was carried out with the free Two-Way ANOVA Calculator tool on FreeStatisticalTools.com (Xavier, 2026).”
What is a two-way ANOVA?
Two-way ANOVA tests the effects of two categorical factors on one outcome, and whether the factors interact. Sums of squares are Type III, so results match SPSS even when group sizes are unequal.
When to use a two-way ANOVA
Use it when two categorical factors may each affect an outcome, and you want to know whether their effects combine or interact.
Assumptions
- Independent observations.
- Approximately normal residuals.
- Equal variances across cells (Levene’s test).
- Data in every cell of the design.
How to use this tool
- Enter your data. Paste columns from Excel, Google Sheets or SPSS with variable names in the first row, or upload a CSV or Excel file. The example data shows the expected layout.
- Choose the variables. Select the dependent variable, factor a and factor b.
- Read the results. Results update automatically. Read the plain-English interpretation, then use Copy table to paste APA-style tables into Word and Copy for the results sentence.
How to report a two-way ANOVA in APA style
Report each effect with F, df, p and partial η², and describe the interaction pattern with the plot.
Frequently asked questions
What is an interaction effect?
An interaction means the effect of one factor depends on the level of the other. In the interaction plot it shows as lines that are not parallel.
Why Type III sums of squares?
Type III tests each effect after adjusting for all others, which is the default in SPSS and the usual choice for unbalanced designs.
Should I interpret main effects when the interaction is significant?
Interpret them with caution. Describe the interaction first, often by looking at simple effects of one factor at each level of the other.
Related tools
Browse all categories
Data cleaning and preparation · Describe and explore · Compare means · Nonparametric tests · Correlation and regression · Bayesian statistics · Categorical data · Reliability and agreement · Multivariate analysis · Structural equation modeling · Econometrics and time series · Panel data and causal inference · Marketing and decision research · Survival, clinical and meta-analysis · Study planning and calculators · PLS-SEM