Two-Way ANOVA Calculator with Interaction

Run a two-way ANOVA for a balanced design with replication and test both factors and their interaction.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Step 1: Open Two-Way ANOVA Calculator with Interaction and add your input

    Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.

  2. 2
    Step 2: What Two-Way ANOVA Calculator with Interaction does

    Run a two-way ANOVA for a balanced design with replication and test both factors and their interaction.

  3. 3
    Step 3: Read the result and compare

    The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.

  4. 4
    Step 4: Copy or save it

    Copy the result or download it. For an important decision, confirm it with the official source or an adviser.

About this tool

Type one observation per line as factor A level, factor B level, value. The calculator builds the ANOVA table with the sums of squares, degrees of freedom, mean squares, F statistics and p-values for factor A, factor B and the A × B interaction, plus eta-squared effect sizes.

Design

The design must be balanced: every combination of an A level and a B level has the same number of observations, at least 2. Level names are any text, such as A1 or Low.

Calculations

SS_A = b·r·Σ(mean_A − grand)², SS_B likewise, SS_AB = r·Σ(cell − mean_A − mean_B + grand)², SS_error = Σ(x − cell mean)². Each F is its mean square divided by the error mean square, with the error degrees of freedom N − ab.

Reading the table

A significant interaction means the effect of one factor depends on the level of the other, so interpret the main effects with care.

Worked example

Two levels of A and two of B with three replicates each: SS_A = 147, SS_B = 300, SS_AB = 27, SS_error = 8 on 8 degrees of freedom. All three F tests are significant (the interaction p = 0.0008).

Tips for best results

Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.

Quick facts

Embed this calculator on your site

Copy this code to show the calculator on your own page. A link back to shobfree.com is included.

Frequently asked questions

What does balanced mean?

Every cell has the same number of observations.

What does a significant interaction mean?

The effect of factor A is different at different levels of B.

Can I have more than 2 levels?

Yes, any number of levels for each factor.

Which sums of squares are used?

The standard ones for a balanced design, where all types agree.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages