FreeStatisticalTools.com
Correlation and regression

Three-Way Interaction Calculator

Test whether the moderating effect of W itself depends on a second moderator Z, with the three-way interaction test and conditional effects of X at combinations of W and Z.

Free · No sign-upReplaces SPSS PROCESS macroWorks with your data
Updated · By Bibin Xavier

Data 250 × 9

Paste from Excel, or drop a CSV, TSV or Excel file here.
Example data 250 rows, 9 variables. Data stays in this browser tab.
Employeetext · 250 levelsLeadershipnumericTrustnumericEngagementnumericAutonomynumericTenure_YearsnumericPerformancenumericAgenumericFemalenumeric · coded
E0014.563.944.123.214.95.36281
E0024.423.024.353.12104.26431
E0034.824.944.784.2319.44.06210
E0044.654.083.533.375.44.22210
E0056.434.585.353.3110.96.12440
E0064.865.495.414.6115.54.72380
E0072.93.795.552.8412.24.86350
E0084.64.113.54.372.35.09390

Variables and options

Covariates (optional) 0 selected
Covariates enter every equation, as in PROCESS.
Results update automatically when you change an option.

Results

250 rows · example data
PROCESS model3Moderated moderation (three-way)
Sample size250
Bootstrap samples—percentile 95% CI
Standard errorsOLS

Conceptual diagram: Model 3

W: AutonomyZ: Tenure_YearsX: LeadershipY: Performance
Table 1

Outcome: Performance

PredictorcoeffsetpLLCIULCI
constant3.40312.25181.511.132-1.03257.8387
Leadership0.22980.48490.474.636-0.72541.1850
Autonomy0.24140.57670.419.676-0.89451.3774
Tenure_Years0.19650.23190.847.398-0.26040.6533
Leadership × Autonomy-0.03810.1254-0.304.762-0.28500.2089
Leadership × Tenure_Years-0.03410.0524-0.651.516-0.13740.0691
Autonomy × Tenure_Years-0.08700.0577-1.507.133-0.20070.0267
Leadership × Autonomy × Tenure_Years0.01790.01321.351.178-0.00820.0439

Note. R = .4030, R² = .1624, MSE = 0.6911, F(7, 242) = 6.705, p < .001. Highest-order interaction test: Leadership × Autonomy × Tenure_Years: ΔR² = .0063, F(1, 242) = 1.825, p = .178.

Table 2

Conditional effects of Leadership at values of the moderators

AutonomyTenure_YearsEffectsetpLLCIULCI
2.9892.6840.16760.11451.463.145-0.05800.3932
2.9897.1000.25240.08043.139.0020.09400.4108
2.98912.2160.35070.11802.973.0030.11840.5831
4.0352.6840.17790.09321.910.057-0.00560.3614
4.0357.1000.34520.06355.441< .0010.22020.4702
4.03512.2160.53910.09005.988< .0010.36170.7164
5.0922.6840.18830.15761.195.233-0.12210.4988
5.0927.1000.43890.10434.209< .0010.23350.6444
5.09212.2160.72930.13175.539< .0010.46990.9886

Note. Moderator values are the 16th, 50th and 84th percentiles.

Interaction plot (Tenure_Years at its middle value)

Interpretation

The Leadership × Autonomy × Tenure_Years interaction is not statistically significant and adds 0.63% to the explained variance in Performance. There is no reliable evidence that the effect of Leadership depends on the moderators.

The Leadership × Autonomy × Tenure_Years interaction was not significant, ΔR² = .006, F(1, 242) = 1.83, p = .178.

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). Three-Way Interaction Calculator [Web application]. FreeStatisticalTools.com. https://freestatisticaltools.com/three-way-interaction-calculator/

BibTeX

@software{xavier_moderatedmoderation_2026,
  author = {Xavier, Bibin},
  title = {Three-Way Interaction Calculator},
  publisher = {FreeStatisticalTools.com},
  year = {2026},
  url = {https://freestatisticaltools.com/three-way-interaction-calculator/},
  note = {Web application}
}

Suggested sentence for your methods section: “The analysis was carried out with the free Three-Way Interaction Calculator tool on FreeStatisticalTools.com (Xavier, 2026).”

What is a three-way interaction (moderated moderation)?

A three-way interaction, or moderated moderation, tests whether the way W moderates the effect of X on Y itself depends on a second moderator Z. This tool estimates PROCESS Model 3 and probes the effect of X at every combination of W and Z.

When to use a three-way interaction (moderated moderation)

Use a three-way interaction when a moderation effect is expected to differ across levels of a second moderator.

Assumptions

  • Linear relationships and correctly specified causal ordering (X before M before Y), justified by theory or design.
  • Independent observations and, for OLS standard errors, constant residual variance (choose HC3 if this is doubtful).
  • No unmeasured confounding of the paths between mediators and the outcome.

How to set up your data

One row per case and one numeric column per variable. Code dichotomous variables 0/1. Moderators with two values are probed at those two values; continuous moderators at the 16th, 50th and 84th percentiles, or the mean ± 1 SD.

How to use this tool

  1. 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.
  2. Choose the variables. Select the x (predictor), y (outcome), moderator w and moderator z.
  3. Set the options. Fill in process model, confidence level, moderator values and standard errors.
  4. 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 three-way interaction (moderated moderation) in APA style

Report the three-way interaction coefficient, its test and ΔR², then the conditional effects of X at combinations of W and Z.

Frequently asked questions

How do I interpret a three-way interaction?

If X × W × Z is significant, the two-way X × W interaction differs across levels of Z. Look at the conditional effects of X at combinations of W and Z.

Which lower-order terms are included?

All of them: X, W, Z, X × W, X × Z and W × Z, as PROCESS does.

How large a sample do I need?

Three-way interactions usually need several hundred cases to detect, because interaction effects are often small.

Related tools

PROCESS is a macro for SPSS, SAS and R written by Andrew F. Hayes. This tool is an independent implementation of the published regression methods and model numbering (Hayes, 2022) and is not affiliated with, endorsed by or derived from the PROCESS software.

Browse all categories