Enter the effect of the independent variable on the mediator, the effect of the mediator on the dependent variable, controlling for the independent variable, and the standard errors of both into the calculator to determine the Sobel Test statistic.

Sobel Test Calculator

Use unstandardized path coefficients and their standard errors from your mediation model. Choose the test version you want to report, then calculate the indirect effect, z statistic, and p-values.

Sobel
Aroian
Goodman
Sobel
Classic mediation significance test using the standard Sobel standard error.
z = (a × b) / √(b² × SEa² + a² × SEb²)
Effect of the independent variable on the mediator.
Effect of the mediator on the dependent variable while controlling for the independent variable.
Standard error for path a.
Standard error for path b.

Sobel Test Formula

The Sobel test is used in mediation analysis to evaluate whether an indirect effect is statistically different from zero. In a simple mediation model, an independent variable X affects a mediator M through the a path, and the mediator affects an outcome Y through the b path while controlling for X. The calculator computes the Sobel test statistic for that indirect effect.

\text{Indirect Effect} = a b
SE_{ab} = \sqrt{b^2 SE_a^2 + a^2 SE_b^2}
S = \frac{a b}{\sqrt{b^2 SE_a^2 + a^2 SE_b^2}}

The statistic S is commonly interpreted like a z-score. Larger absolute values indicate stronger evidence that the indirect effect is not zero.

Variable Meaning
a Effect of the independent variable on the mediator
b Effect of the mediator on the dependent variable while controlling for the independent variable
SEa Standard error of the a path coefficient
SEb Standard error of the b path coefficient
ab Estimated indirect effect
S Sobel test statistic for the indirect effect

How to Interpret the Sobel Test Statistic

Interpretation usually focuses on the absolute value of the statistic. The sign tells you the direction of the indirect effect, while the magnitude tells you how strongly the result differs from zero.

  • If a and b have the same sign, the indirect effect ab is positive.
  • If a and b have opposite signs, the indirect effect ab is negative.
  • If the standard errors are large, the Sobel statistic gets smaller, which makes significance less likely.
  • A result close to zero suggests weak evidence for mediation through the proposed mediator.
Two-Tailed Significance Level Approximate Critical Value Rule of Thumb
10% 1.645 If |S| > 1.645, the indirect effect is significant at the 0.10 level
5% 1.96 If |S| > 1.96, the indirect effect is significant at the 0.05 level
1% 2.576 If |S| > 2.576, the indirect effect is significant at the 0.01 level

Most mediation reporting uses the 5% two-tailed threshold, but your decision rule should match your study design and analysis plan.

How to Use the Calculator

  1. Enter a, the coefficient from the model predicting the mediator from the independent variable.
  2. Enter b, the coefficient from the model predicting the outcome from the mediator while controlling for the independent variable.
  3. Enter SEa, the standard error associated with a.
  4. Enter SEb, the standard error associated with b.
  5. Calculate the Sobel statistic and compare its absolute value to a critical value or convert it to a p-value in your statistical workflow.

For best results, use coefficients and standard errors taken from the same sample, from matching regression outputs, and from the same model specification.

Example

Suppose the estimated paths and standard errors are:

  • a = 0.5
  • b = 0.8
  • SEa = 0.2
  • SEb = 0.3
\text{Indirect Effect} = (0.5)(0.8) = 0.40
SE_{ab} = \sqrt{(0.8^2)(0.2^2) + (0.5^2)(0.3^2)} = \sqrt{0.0481} \approx 0.219
S = \frac{0.40}{0.219} \approx 1.82

In this example, the indirect effect is positive, but the statistic is slightly below the common 1.96 cutoff for a 5% two-tailed test. That means the mediation effect would typically be considered not statistically significant at the 0.05 level using the Sobel approach.

When the Sobel Test Is Most Useful

  • When you already have regression coefficients and their standard errors
  • When you want a quick analytic test of mediation without resampling
  • When sample size is reasonably large and the normal approximation is more defensible
  • When you need a fast screening measure for an indirect pathway

Assumptions and Limitations

The Sobel test is convenient, but it is also known to be conservative in many real datasets. The main reason is that the product ab is often not perfectly normally distributed, especially in smaller samples.

  • Large-sample preference: The test performs better when the sample size is not small.
  • Normal approximation: It assumes the indirect effect can be adequately approximated with a normal test statistic.
  • Model dependence: Mis-specified regression models can make the result misleading.
  • Same-model requirement: The coefficient b must come from the outcome model that includes both the mediator and the independent variable.
  • Sensitivity to standard errors: Inflated standard errors can quickly reduce significance even when the indirect effect itself is meaningful.

In practice, researchers often pair the Sobel test with bootstrap confidence intervals because bootstrap methods can better handle the skewed distribution of indirect effects.

Common Input Mistakes

  • Using the wrong b coefficient from a model that does not control for the independent variable
  • Mixing coefficients from one model with standard errors from another
  • Using rounded values that are too coarse, which can noticeably change the final statistic
  • Confusing the sign of the indirect effect with statistical significance
  • Interpreting a non-significant Sobel result as proof that no mediation exists

Practical Interpretation Tips

  • Report the indirect effect ab along with the Sobel statistic.
  • Discuss both the direction and the strength of mediation.
  • If the result is borderline, consider whether sample size or standard error inflation may be limiting power.
  • If mediation is central to your analysis, consider supplementing the Sobel test with confidence intervals from resampling methods.