Two-Way ANOVA Calculator

Enter Your Data

Two-Way ANOVA requires a balanced design (equal replicates per cell). Factor A = rows, Factor B = columns.

Test two factors at once and discover how they interact. Enter your balanced data with replications below and get main effects, interaction effects, F-statistics, and p-values instantly. Free, no signup, your data stays in your browser.

Why Use This Calculator?

Real experiments rarely change one thing at a time. A drug trial tests dose and age group. A farm tests fertilizer and irrigation. If you analyze each factor separately, you miss the most interesting question: do the factors interact?

An interaction means the effect of one factor depends on the other. A teaching method might work brilliantly for one group and fail for another. Two-Way ANOVA tests both factors and their interaction in one clean analysis, so no insight slips through.

Where Is It Used?

  • Psychology: therapy type crossed with patient age group
  • Agriculture: fertilizer type crossed with irrigation level
  • Manufacturing: machine setting crossed with operator shift
  • Education: teaching method crossed with student gender
  • Medicine: drug dose crossed with disease severity

How to Use — Step by Step

Step 1: Set up your factors. Factor A is rows, Factor B is columns. Use the buttons to add levels for each factor. Add replicates (repeated observations per cell).

Step 2: Check balance. Two-Way ANOVA needs a balanced design: the same number of replicates in every cell. Fill every cell.

Step 3: Enter your data. Type each observation into its cell. Each cell holds the replicates for one combination of Factor A and Factor B levels.

Step 4: Calculate and read. Click “Calculate ANOVA”. Read three results: the main effect of Factor A, the main effect of Factor B, and the interaction effect. If the interaction is significant, interpret main effects carefully.

Real Use Cases

Teaching Method x Gender

A researcher tests two teaching methods across male and female students. The interaction reveals whether one method works better for a specific group, something separate analyses would miss.

Drug Dose x Age

A trial compares three doses across two age brackets. Two-Way ANOVA shows whether the best dose depends on the patient’s age.

Fertilizer x Irrigation

A farm crosses three fertilizers with two watering levels. The interaction tells the farmer which fertilizer pays off only with enough water.

Understanding Your Results

Main Effect of Factor A: whether Factor A’s levels differ overall, averaging across Factor B.

Main Effect of Factor B: whether Factor B’s levels differ overall, averaging across Factor A.

Interaction Effect: whether the effect of one factor changes across levels of the other. A significant interaction is often the headline finding.

Reading tip: when the interaction is significant, main effects can mislead. Always look at the cell means to see the real pattern before concluding.

Frequently Asked Questions

What is a balanced design and why does it matter?

Balanced means every combination of Factor A and Factor B has the same number of observations. This calculator requires it because the standard Two-Way ANOVA formulas assume equal cell sizes.

What does a significant interaction mean in plain English?

It means the effect of one factor depends on the level of the other factor. Example: a study method helps morning studiers but hurts night studiers. Neither factor alone tells the full story.

Can I use this with only one observation per cell?

No. With one observation per cell you cannot separate interaction from error. You need at least two replicates per cell.

How is this different from running two One-Way ANOVAs?

Two separate ANOVAs cannot detect the interaction at all. They also split your data and lose power. Two-Way ANOVA is the correct single analysis.

Updated: October 2026