Correlation Coefficients Explained: What r Actually Measures

A correlation coefficient is a single number between -1 and +1 that summarizes how two variables move together. Most researchers can interpret one long before they can say what it's actually calculating. This guide opens the box: where r comes from, why it's bounded at -1 and +1, how to compute it by hand, what r squared adds, and how correlation connects to regression.

This is the mechanics article. If what you need is which coefficient to use for your data, or how to report one in APA format, that's covered in the companion guide to using correlation coefficients in research papers, which walks through Pearson, Spearman, Kendall's tau, and the rest, along with reporting conventions and worked disciplinary examples. Come back here when you want to know what the number is doing.

Quick Answer

What r measures. The strength and direction of the linear relationship between two variables, on a scale from -1 (perfect negative) through 0 (no linear relationship) to +1 (perfect positive).

Where it comes from. r is standardized covariance. Covariance measures how two variables vary together, but its size depends on the units. Dividing by both standard deviations strips the units out and forces the result between -1 and +1.

r squared. The square of r, called the coefficient of determination. It's the proportion of variance in one variable explained by the other. An r of 0.50 means r squared is 0.25, so 25 percent of the variance is accounted for.

Why it matters downstream. r is also an effect size, and it's the foundation of simple linear regression. Understanding the mechanics here makes both easier.

Start with Covariance

You can't understand r without covariance, because r is covariance with the units removed. Covariance answers a simple question: when one variable is above its mean, does the other tend to be above its mean too?

For each observation, you take how far x sits from its mean, multiply it by how far y sits from its mean, and average those products across the sample. When both variables tend to be above (or both below) their means at the same time, the products are positive and the covariance is positive. When one tends to be high while the other is low, the products are negative and the covariance is negative. When there's no consistent pattern, positives and negatives cancel and the covariance sits near zero.

cov(x, y) = Σ (x − M x)(y − M y) / (n − 1)

That n − 1 is the same sample correction used in the variance and standard deviation formulas, and for the same reason: you're estimating a population quantity from a sample, and you used the sample means to do it.

Covariance has one fatal flaw for reporting. Its size depends entirely on the units of measurement. The covariance between height and weight is a different number in centimeters and kilograms than in inches and pounds, even though the relationship is identical. A covariance of 340 tells you the direction is positive, and nothing else. You can't tell whether that's a strong relationship or a weak one.

Why r Is Bounded Between -1 and +1

The fix is standardization. Divide the covariance by the product of the two standard deviations, and the units cancel out. What's left is a pure number that can be compared across any two variables, in any units, in any study.

r = cov(x, y) / (SD x × SD y)

This division is also what creates the boundaries. Covariance is at its largest, in absolute terms, when the two variables move in perfect lockstep. In that case the covariance exactly equals the product of the two standard deviations, so the ratio is exactly 1 (or -1, if they move in perfectly opposite directions). Any less-than-perfect relationship produces a covariance smaller than that product, so the ratio falls somewhere in between. The scale isn't an arbitrary convention. It falls out of the arithmetic.

This is why r is comparable in a way covariance never is. An r of 0.60 between study hours and exam scores means the same strength of linear relationship as an r of 0.60 between plasma concentration and blood pressure reduction, despite the variables having nothing in common and no shared units.

The Pearson Formula, Worked by Hand

Seeing r calculated once makes the formula stop being abstract. Here's a small dataset: study hours per week and exam score, for eight students.

Student Study hours (x) Exam score (y)
1 2 65
2 3 70
3 5 72
4 6 78
5 8 82
6 9 85
7 11 88
8 12 94

Step 1: Find both means

Study hours sum to 56, so M x = 56 / 8 = 7.0. Exam scores sum to 634, so M y = 634 / 8 = 79.25.

Step 2: Get the deviations and their products

For each student, subtract the mean from each value, then multiply the two deviations together. The last column is what feeds the covariance.

x − Mxy − MyProduct (x − Mx(y − My
-5.0 -14.25 71.25 25.00 203.06
-4.0 -9.25 37.00 16.00 85.56
-2.0 -7.25 14.50 4.00 52.56
-1.0 -1.25 1.25 1.00 1.56
1.0 2.75 2.75 1.00 7.56
2.0 5.75 11.50 4.00 33.06
4.0 8.75 35.00 16.00 76.56
5.0 14.75 73.75 25.00 217.56

Notice that every product here is positive. Students below the mean on hours are also below the mean on scores, and vice versa. That's what a positive relationship looks like at the level of individual observations.

Step 3: Sum the columns

The products sum to 247.00. The squared x deviations sum to 92.00. The squared y deviations sum to 677.50.

Step 4: Compute r

The computational form of Pearson's r divides the sum of products by the square root of the product of the two sums of squares. This is algebraically identical to dividing covariance by the two standard deviations, with the n − 1 terms canceling out.

r = Σ(x − M x)(y − M y) / √[Σ(x − M x)² × Σ(y − M y)²]

r = 247.00 / √(92.00 × 677.50) = 247.00 / √62,330.00 = 247.00 / 249.66 = 0.989

An r of 0.99 is a very strong positive linear relationship, which matches what the raw data shows: exam scores climb steadily with study hours, with almost no exceptions. Real data is rarely this tidy, but the tidiness makes the arithmetic legible.

Statistics Section Ready for Review?

Correlation is easy to compute and easy to overstate. Editor World's editors hold advanced degrees and read quantitative results sections every day, so they catch the overstated claim before your committee or reviewer does. Start with a free sample edit of your first 300 words and choose an editor in your field.

Choose Your Editor

What r Squared Adds

Square the correlation coefficient and you get r squared, the coefficient of determination. It answers a different question than r does. Where r describes the strength and direction of the relationship, r squared describes how much of the variance in one variable is accounted for by the other.

The shift from r to r squared is not intuitive, because squaring a number below 1 makes it smaller, sometimes dramatically. This table shows how quickly the explained variance drops off.

r r squared Variance explained
0.90 0.81 81 percent
0.70 0.49 49 percent
0.50 0.25 25 percent
0.30 0.09 9 percent
0.10 0.01 1 percent

This is why a "moderate" correlation of 0.30 can feel underwhelming once you see it explains 9 percent of the variance. Both numbers are honest; they just answer different questions. Reporting r squared alongside r keeps readers from reading more into a correlation than it supports.

One caution: r squared is symmetric and non-directional. Saying that x explains 25 percent of the variance in y is a statement about shared variance, not about x causing anything. The explanatory language is a mathematical convention, not a causal claim.

r as an Effect Size

Correlation coefficients do double duty. Beyond describing a relationship, r is itself a standardized effect size, which is why it appears in power analyses, meta-analyses, and effect-size tables alongside measures like Cohen's d.

This works because r is already unitless. Effect sizes exist to make findings comparable across studies that measured things differently, and r arrives pre-standardized by construction. A meta-analyst can average correlations across a dozen studies using different instruments in a way that would be meaningless with raw covariances or unstandardized slopes.

It also means a correlation carries information that a p-value does not. Statistical significance tells you an effect is unlikely to be chance; r tells you how large it is. Because significance depends heavily on sample size, a trivially small correlation can be highly significant in a large sample. Reporting r (and r squared) alongside the p-value is what keeps the distinction visible. For the underlying logic of significance testing, see the guide to hypothesis testing.

Partial Correlation: Holding a Third Variable Constant

A plain correlation between two variables can be inflated or masked by a third variable related to both. Partial correlation estimates the relationship between x and y with the influence of a third variable, z, statistically removed from both.

The classic illustration: ice cream sales and drowning deaths correlate strongly. Both are driven by temperature. Compute the partial correlation between sales and drownings while holding temperature constant, and the relationship largely disappears. The original correlation was real as an association but misleading as an explanation.

Mechanically, partial correlation works by removing the part of each variable that z can predict, then correlating what's left over. Those leftovers are the residuals, the variation in x and y that z doesn't account for. The residual logic is exactly what regression formalizes, which makes partial correlation the natural bridge to the next topic.

From Correlation to Regression

Correlation and simple linear regression describe the same relationship from two angles. Correlation gives you a symmetric summary: r between x and y is identical to r between y and x, with no direction implied. Regression is asymmetric: it fits a line that predicts y from x, producing a slope and an intercept, and reversing the roles gives a different equation.

They're connected by more than intuition. In simple linear regression with one predictor, the r squared of the model is exactly the square of the correlation between the two variables. And the standardized regression slope is exactly r. Regression, at this level, is correlation with a direction and a prediction equation attached.

That's the reason this article sits where it does in the cluster. Understanding r as standardized covariance, and r squared as explained variance, means the regression output that follows, the slope, the intercept, the model r squared, is already half familiar when you meet it.

Common Misunderstandings About r

  • Reading r as a percentage. An r of 0.50 does not mean 50 percent of anything. The percentage interpretation belongs to r squared, which for r = 0.50 is 25 percent.
  • Assuming r near zero means no relationship. It means no linear relationship. A perfect U-shaped relationship can produce an r near zero. Plot the data before trusting the coefficient.
  • Treating r as directional. r is symmetric. It carries no information about which variable influences which, or whether either does.
  • Comparing r values as if the scale were even. The step from 0.80 to 0.90 adds far more explained variance than the step from 0.10 to 0.20. Because r squared grows non-linearly, equal gaps in r are not equal gaps in explanatory power.
  • Forgetting that r is sensitive to restricted range. If your sample covers only part of a variable's natural range, r shrinks toward zero even when the full-range relationship is strong. This is common in studies of selected populations, such as correlating test scores with performance among people who all passed the same admissions cutoff.
  • Letting a single outlier drive the result. Because deviations are multiplied together, one extreme point far from both means can dominate the sum of products, especially in a small sample.

Where to Go Next

This article covered what the coefficient is doing. Two neighboring questions have their own guides. For choosing between Pearson, Spearman, Kendall's tau, and the other coefficients based on your data type, and for the conventions journals expect when you write the result up, see using correlation coefficients in research papers. For the descriptive statistics that feed the formula, see the guides to mean, median, and mode and standard deviation and variance.

When your analysis is written up, the statistics section is where a subject-matter editor earns their place, because a reviewer who spots a correlation described in causal language or an r reported without context will question everything around it. Editor World's academic editing, dissertation editing, and journal article editing services include review of statistical reporting, and you choose your own editor by field so the person reading your results knows your discipline's conventions.


Frequently Asked Questions

What does the correlation coefficient actually measure?

It measures the strength and direction of the linear relationship between two variables, on a scale from -1 through 0 to +1. Mechanically, it's standardized covariance. Covariance measures whether two variables tend to sit above or below their means at the same time, but its size depends on the units of measurement. Dividing the covariance by the product of the two standard deviations strips the units out, producing a number you can compare across any two variables in any study.


Why is the correlation coefficient always between -1 and 1?

The boundaries fall out of the arithmetic rather than being a convention. Covariance reaches its largest absolute value when two variables move in perfect lockstep, and in that case it exactly equals the product of the two standard deviations. Since r is the covariance divided by that product, a perfect relationship gives exactly 1 or -1. Any weaker relationship produces a covariance smaller than the product, so the ratio has to land between those limits.


What is the difference between r and r squared?

r describes the strength and direction of a linear relationship. r squared, the coefficient of determination, describes the proportion of variance in one variable accounted for by the other. Squaring shrinks the value, often sharply: an r of 0.50 gives an r squared of 0.25, so 25% of the variance is explained; an r of 0.30 gives 0.09, or 9%. Reporting both stops readers from reading the coefficient itself as a percentage.


Is the correlation coefficient an effect size?

Yes. Because r is unitless by construction, it works as a standardized effect size and shows up in power analyses, meta-analyses, and effect-size reporting alongside measures like Cohen's d. It's also why r belongs alongside a p-value rather than instead of one. Significance tells you a result is unlikely to be chance and depends heavily on sample size; the correlation tells you how large the relationship actually is.


What is partial correlation?

Partial correlation estimates the relationship between two variables while statistically holding a third constant. It removes the portion of each variable that the third can predict, then correlates what's left, the residuals. The classic illustration is ice cream sales and drowning deaths, which correlate strongly until you hold temperature constant, at which point the relationship largely disappears, because temperature drives both. That residual logic is the same one regression formalizes.


How is correlation related to linear regression?

They describe the same relationship from different angles. Correlation is symmetric: r between x and y is identical to r between y and x, and no direction is implied. Regression is asymmetric, fitting a line that predicts one variable from the other. The two connect directly: in simple linear regression with one predictor, the model r squared equals the square of the correlation, and the standardized regression slope equals r itself.


Page last reviewed: July 2026. Content reviewed by Editor World editorial staff. Editor World, founded in 2010 by Patti Fisher, PhD, graduate of The Ohio State University, provides professional editing and proofreading services for academic researchers, doctoral candidates, faculty, business professionals, and authors worldwide. 100% human editing, no AI at any stage. BBB A+ accredited since 2010 with 5.0/5 Google Reviews and 5.0/5 Facebook Reviews. More than 100 million words edited for over 8,000 clients in 65+ countries. Multiple Gold and Bronze Stevie Award winner. Native English editors from the United States, the United Kingdom, and Canada. Less than 5% of applicants are accepted to the editor panel. Recommended by the Boston University Economics Department, University of San Diego, University of Michigan, UCLA, University of Missouri, and more.