Paired observations are shown as points on a scatterplot, with Pearson’s r beside a curved pattern that a linear coefficient cannot describe.
The scatterplot shows the shape of the paired data; Pearson’s r summarizes only its linear association.
On this page

What Pearson’s r measures

Pearson’s product-moment correlation coefficient, usually written as r, summarizes the direction and degree of a linear association between two numeric variables. Its value is bounded by −1 and +1. A positive value indicates that larger x values tend to accompany larger y values in the entered pairs; a negative value indicates that larger x values tend to accompany smaller y values. Values farther from zero describe a tighter linear pattern in these data, while values near zero describe little linear association.

The coefficient does not summarize every possible relationship. A curved pattern can have r near zero even when x and y are clearly related. Inspect the scatterplot before using the number in a report. This calculator provides a descriptive coefficient only; it does not test a hypothesis, estimate a p-value or establish a population relationship.

Supporting reading: [1] [2]

Enter observations as genuine pairs

Each row must represent one matched case: the first x value belongs with the first y value, the second with the second, and so on. Paste values separated by commas or line breaks. The calculator requires the same number of finite numeric values in both lists and at least two pairs; three or more pairs make a scatterplot easier to inspect. Do not align unrelated samples just because their lists happen to have the same length.

Use the example buttons to compare a positive linear pattern, a symmetric curve and a set with an influential point. These are constructed teaching examples, not measurements from a published study. Your entered values stay in the browser and are not sent to AI Essay.

Supporting reading: [1]

Read the scatterplot before interpreting r

Look for a roughly straight pattern, curvature, clusters, changing spread and points separated from the rest. The first constructed pattern rises from left to right. The curved example has a visible U shape but little linear association, so a near-zero r does not mean that no relationship is present. The outlier example shows how one unusual pair can change a coefficient and the apparent trend.

Do not remove a point only to make r larger or to obtain a preferred result. Check the original record, measurement process and study design; report justified exclusions and compare the conclusion with and without a questionable point when appropriate. NIST recommends examining scatterplots for nonlinear relationships, changing variance and outliers before relying on a linear summary.

Supporting reading: [2] [3]

Formula and a constructed calculation

For n paired observations, Pearson’s r is the sum of each centered product, Σ[(xᵢ − x̄)(yᵢ − ȳ)], divided by the square root of the product of the centered sums of squares for x and y. Centering means subtracting each variable’s mean before calculating the products. The sample-size denominator used for covariance cancels from this correlation formula.

Constructed example: x = 1, 2, 3, 4, 5 and y = 1, 2, 1, 4, 5 produce r ≈ 0.8704. The coefficient indicates a positive linear association among these five pairs. It does not show that x causes y, establish that the pattern generalizes beyond the sample, or describe a learning or treatment effect.

Supporting reading: [1]

Limits, inference and the next method

Pearson’s r is undefined when either variable has no variation; the calculator explains this case instead of returning a misleading number. The result also depends on correct pairing, meaningful numeric measurements and the observations you choose to include. A coefficient alone does not check data quality, independence, sampling bias, measurement validity or whether a linear model is suitable.

This page deliberately omits significance tests and confidence intervals. Inferential results require assumptions about how observations were sampled and how they are distributed; a calculator cannot determine those conditions from the two lists alone. For prediction or model assessment, inspect a fitted model and its residuals. For a mean difference between matched measurements, use a paired test; for unrelated groups, use an independent-samples method.

Supporting reading: [1] [2]

Free interactive statistics tool

Calculate Pearson’s r from paired values

Paste one x and one y value for each case. Keep the rows matched, then inspect the plotted pattern before interpreting the coefficient.

Try a constructed example

Your values stay in this browser tab. Avoid entering identifiable or confidential data on a shared device.

The constructed example has 5 paired observations. Calculate to see r and the scatterplot.

Questions about this topic

What is Pearson’s r?

Pearson’s r is a number from −1 to +1 that summarizes the direction and degree of linear association between two numeric variables. It does not measure every possible relationship and does not establish causation.

How many pairs do I need?

The formula is defined for at least two paired observations when both variables vary, but two points cannot reveal whether the pattern is representative or nonlinear. Use more pairs when available, inspect the scatterplot and interpret the result in light of the study design.

Why can r be near zero when the variables are related?

Pearson’s r summarizes linear association. A symmetric curved pattern such as a U shape can have little linear association while still showing a clear relationship. Inspect the scatterplot and consider a method that matches the pattern and research question.

Can I use two lists with different numbers of values?

No. Each x value must match a y value from the same case. The calculator rejects different list lengths rather than dropping or re-pairing observations.

Does a positive correlation mean that x causes y?

No. Correlation describes association in the entered data. It cannot by itself establish temporal order, rule out confounding or support a causal claim.

Does this calculator report statistical significance?

No. It reports descriptive Pearson’s r and the plotted pairs, without a p-value or confidence interval. Inferential calculations require a defensible sampling design and assumptions that the calculator cannot verify from the two lists.

Are my values uploaded?

No. The calculation and scatterplot run in your browser. This page’s calculator code does not send the entered values to AI Essay.

Sources and editorial notes

The supporting reading below informs our editorial guidance. Exercises and scenarios illustrate a method; they do not report a completed product test or measured learning outcome. Read our editorial policy or send a correction with a supporting source to info@ai-essay.com.

  1. SciPy documentation: Pearson correlation coefficient and inferential assumptions
  2. NIST/SEMATECH e-Handbook: graphical analysis of paired data
  3. NIST/SEMATECH e-Handbook: scatterplot example with an influential outlier