Moderation Analysis Calculator
Test whether the effect of X on Y depends on one or two moderators. You get the interaction test, conditional effects at low, middle and high moderator values, the Johnson-Neyman region of significance and an interaction plot.
Updated · By Bibin XavierData 250 × 9
| Employeetext · 250 levels | Leadershipnumeric | Trustnumeric | Engagementnumeric | Autonomynumeric | Tenure_Yearsnumeric | Performancenumeric | Agenumeric | Femalenumeric · coded |
|---|---|---|---|---|---|---|---|---|
| E001 | 4.56 | 3.94 | 4.12 | 3.21 | 4.9 | 5.36 | 28 | 1 |
| E002 | 4.42 | 3.02 | 4.35 | 3.12 | 10 | 4.26 | 43 | 1 |
| E003 | 4.82 | 4.94 | 4.78 | 4.23 | 19.4 | 4.06 | 21 | 0 |
| E004 | 4.65 | 4.08 | 3.53 | 3.37 | 5.4 | 4.22 | 21 | 0 |
| E005 | 6.43 | 4.58 | 5.35 | 3.31 | 10.9 | 6.12 | 44 | 0 |
| E006 | 4.86 | 5.49 | 5.41 | 4.61 | 15.5 | 4.72 | 38 | 0 |
| E007 | 2.9 | 3.79 | 5.55 | 2.84 | 12.2 | 4.86 | 35 | 0 |
| E008 | 4.6 | 4.11 | 3.5 | 4.37 | 2.3 | 5.09 | 39 | 0 |
Variables and options
Results
250 rows · example dataConceptual diagram: Model 1
Outcome: Performance
| Predictor | coeff | se | t | p | LLCI | ULCI |
|---|---|---|---|---|---|---|
| constant | 5.6953 | 1.1095 | 5.133 | < .001 | 3.5101 | 7.8806 |
| Leadership | -0.1932 | 0.2419 | -0.799 | .425 | -0.6696 | 0.2833 |
| Autonomy | -0.6280 | 0.2794 | -2.248 | .025 | -1.1784 | -0.0777 |
| Leadership × Autonomy | 0.1397 | 0.0613 | 2.281 | .023 | 0.0191 | 0.2604 |
Note. R = .3561, R² = .1268, MSE = 0.7087, F(3, 246) = 11.912, p < .001. Highest-order interaction test: Leadership × Autonomy: ΔR² = .0185, F(1, 246) = 5.202, p = .023.
Conditional effects of Leadership at values of the moderator
| Autonomy | Effect | se | t | p | LLCI | ULCI |
|---|---|---|---|---|---|---|
| 2.989 | 0.2245 | 0.0799 | 2.810 | .005 | 0.0672 | 0.3818 |
| 4.035 | 0.3707 | 0.0631 | 5.877 | < .001 | 0.2464 | 0.4949 |
| 5.092 | 0.5183 | 0.0995 | 5.211 | < .001 | 0.3224 | 0.7142 |
Note. Moderator values are the 16th, 50th and 84th percentiles.
Johnson-Neyman significance region for Autonomy
| Transition value | % of sample below | % of sample above |
|---|---|---|
| 2.6885 | 10.4 | 89.6 |
Note. The effect of Leadership changes significance at these values of Autonomy (α = .05). Observed range: 1.09 to 7.00.
Conditional effect of Leadership across Autonomy
Interaction plot
Interpretation
The Leadership × Autonomy interaction is statistically significant and adds 1.85% to the explained variance in Performance. The effect of Leadership depends on Autonomy; read the conditional effects table and the Johnson-Neyman region to see where it is significant.
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). Moderation Analysis Calculator [Web application]. FreeStatisticalTools.com. https://freestatisticaltools.com/moderation-analysis-calculator/
BibTeX
@software{xavier_moderationanalysis_2026,
author = {Xavier, Bibin},
title = {Moderation Analysis Calculator},
publisher = {FreeStatisticalTools.com},
year = {2026},
url = {https://freestatisticaltools.com/moderation-analysis-calculator/},
note = {Web application}
}Suggested sentence for your methods section: “The analysis was carried out with the free Moderation Analysis Calculator tool on FreeStatisticalTools.com (Xavier, 2026).”
What is moderation analysis?
Moderation analysis tests whether the effect of X on Y depends on a moderator. This tool runs Hayes’ PROCESS Model 1 (one moderator), Model 2 (two additive moderators) and Model 3 (three-way interaction), with conditional effects, the Johnson-Neyman technique and an interaction plot.
When to use moderation analysis
Use moderation analysis when theory says the strength or direction of an effect changes with a third variable. Model 1 has one moderator, Model 2 two additive moderators, and Model 3 a three-way interaction (moderated moderation).
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
- 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 x (predictor), y (outcome), moderator w and covariates (optional).
- Set the options. Fill in process model, confidence level, moderator values and standard errors.
- 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 moderation analysis in APA style
Report the interaction coefficient with its test and ΔR², then the conditional effects or the Johnson-Neyman transition points.
Frequently asked questions
Should I mean-center my variables?
Centering only changes how the lower-order coefficients are interpreted; the interaction test is identical. PROCESS does not center by default, and neither does this tool.
What is the Johnson-Neyman technique?
It finds the moderator values at which the effect of X changes from significant to non-significant, so you do not depend on arbitrary low, middle and high values.
What is the difference between moderation and mediation?
A moderator changes the strength or direction of an effect. A mediator explains how or why the effect occurs.
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
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