Skip to content

Advertisement

Semipartial correlation calculator

Measure the unique relationship between X and Y after removing the effect of Z from X only.

Semipartial correlation sr(Y,X·Z): —

Fill in the fields above — the result is computed on this page.

Observations
—
Raw X–Y correlation
—
Partial correlation
—
Unique contribution sr²
—

Y and X residuals after controlling Z

The X axis shows the part of X not explained by Z; Y remains the full outcome variable.

Calculation components

Measure Value
Fill in the fields above — the result is computed on this page.
What these numbers mean
  • sr² can be read as X's unique contribution to the total variance of Y beyond Z.
  • The absolute semipartial correlation is usually smaller than the corresponding partial correlation.

The tool removes one control variable Z from X only. It requires complete equal-length series and assumes linear relationships.

How to use this page
  1. Paste predictor X, outcome Y and control Z.
  2. Read sr and the unique contribution sr².
  3. Compare the result with raw and partial correlations.

What this page does not do: The tool removes one control variable Z from X only. It requires complete equal-length series and assumes linear relationships.

Further reading

Semipartial correlation removes the linear effect of Z from predictor X only, then correlates the remaining part of X with the full Y variable. Squared sr gives the unique increment in Y variance associated with X beyond Z.

This measure is often used to interpret multiple regression. Direction matters: removing Z from Y instead of X answers a different question.

Frequently asked questions

What does sr² mean?

It is the share of total Y variance uniquely explained by X after accounting for Z.

Does the order of X and Y matter?

Yes. This calculator removes the effect of Z from X while Y is left unresidualized.

See also

← All calculators

Advertisement
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.