Sobel test calculator

Enter the a and b paths with their standard errors or t values to test the indirect effect a × b, and get a Monte Carlo confidence interval that does not assume normality.

No accountRuns in your browserMonte Carlo CI

Enter the two paths

Use unstandardized coefficients from the same sample. Path b must control for X.

MEDIATION PATHS

LIVE RESULT

INSTANT

Indirect effect a × b

The Monte Carlo interval uses 20,000 draws with a fixed seed, so the same inputs always give the same interval. It assumes a and b are independent and normally distributed.

What the Sobel test does

In a simple mediation model, X affects a mediator M (path a), and M affects the outcome Y while controlling for X (path b). The indirect effect of X on Y through M is the product a × b. The Sobel test divides that product by an approximate standard error and compares the result with the normal distribution.

Indirect effect = a × b
Sobel SE = √(b² s_a² + a² s_b²)
Aroian SE = √(b² s_a² + a² s_b² + s_a² s_b²)
Goodman SE = √(b² s_a² + a² s_b² − s_a² s_b²)
z = a × b ÷ SE

If you only have t statistics, the standard error of each path is the coefficient divided by its t value; choose that option above.

Worked example

With a = 0.50 (SE 0.10) and b = 0.40 (SE 0.10), the indirect effect is 0.20. The Sobel standard error is 0.0640, so z = 3.12 and p = .0018. The Aroian and Goodman versions give z = 3.09 and 3.16. The 95% Monte Carlo interval is [0.088, 0.342], which excludes zero, so the indirect effect is significant. Note that it is not symmetric around 0.20, unlike the normal-theory interval [0.075, 0.325].

Sobel, Aroian or Goodman?

The three differ only in the small last term, which matters when the paths are imprecise. Aroian's version is often recommended because it uses the exact variance of a product of independent estimates under normality. Goodman's can become undefined when the paths are very uncertain. With reasonably large samples all three agree closely.

Why report a confidence interval as well

The product of two normal estimates is not itself normal: its distribution is skewed, especially in small samples. The Sobel test assumes normality, so it has low power and can miss real indirect effects. Current practice is to report a bootstrap confidence interval from the raw data, or a Monte Carlo interval when only the coefficients and standard errors are available, as in this calculator. Treat the indirect effect as significant when the interval excludes zero.

Reporting the result

  • Report a, b, the indirect effect a × b and its confidence interval; add the Sobel z if a reviewer or journal asks for it.
  • State which interval you used and, for a bootstrap, the number of resamples.
  • Report the direct effect c′ as well. A significant indirect effect does not require a significant total effect.
  • Mediation analysis of cross-sectional data cannot by itself establish causal order.

Testing the mediation model as part of a larger structural equation model? Check its overall fit with the RMSEA and fit index calculator, or see our moderation and mediation APA reporting guide.

Common questions

Frequently asked questions

How do the Sobel, Aroian and Goodman tests differ?

They use the same indirect effect a × b in the numerator and differ slightly in whether and how the product of the squared standard errors (sa²sb²) is included in the denominator.

Why include a Monte Carlo confidence interval alongside the Sobel test?

Because the product a × b of two normal coefficients is usually skewed rather than normal in finite samples, a Monte Carlo confidence interval is more accurate than symmetric Sobel p-values.

Can I enter t-statistics instead of standard errors?

Yes. Switch the input mode to t-statistics and the calculator converts each t value back to its corresponding standard error before running the mediation tests.