ToolPatch

One page. One job. Done.

← Back to all tools
Statistics

Pearson Correlation Calculator

Calculate Pearson r and R² from paired X and Y datasets.

Formula reviewed: 2026-02-14 Statistics

Pearson Correlation Calculator measures the strength and direction of linear association between two numeric variables. The correlation coefficient r ranges from -1 to +1: positive values indicate that variables tend to rise together, negative values indicate that one tends to fall as the other rises, and values near zero indicate little linear association. Correlation is standardized covariance, so it is unitless and unaffected by changing measurement units. It is sensitive to outliers and captures linear relationships only; curved relationships can have low Pearson correlation despite a strong pattern. A high correlation does not establish causation, because confounding variables, reverse causality, or shared trends can produce association without direct cause.

Permalink

Input Pattern

Enter values in the left panel, keep units explicit, run the calculation, then copy or share the result. Invalid fields are highlighted immediately.

How to use this tool

  1. Enter X values, Y values for the pearson correlation calculator, keeping units, dates, or text format consistent with the form labels.
  2. Confirm sample size, ordering, and distribution assumptions before relying on the calculated result.
  3. Click "Run the tool" and review Correlation Inputs, Result for the primary output.
  4. Check the statistical assumptions and sample context before using the result in a report or decision.

Correlation Inputs

Result

r: 0.774597

R²: 0.600000

Pearson Correlation and Linear Association

Direction and Strength

Pearson correlation measures the strength and direction of a linear relationship between two numeric variables. It ranges from -1 to 1. A value near 1 indicates that larger values of one variable tend to pair with larger values of the other along a roughly straight-line pattern. A value near -1 indicates that larger values of one tend to pair with smaller values of the other. A value near 0 indicates little linear association.

Correlation is unitless because it standardizes both variables. That makes it easy to compare associations across different measurement scales, but it also means the coefficient does not tell you the slope or magnitude of change in original units.

Linearity Is Built In

Pearson correlation is specifically about linear association. Two variables can have a strong nonlinear relationship and still show a low Pearson correlation. For example, a U-shaped pattern may balance positive and negative slopes, making the overall linear measure close to zero.

A scatter plot is essential. The same correlation coefficient can hide very different data shapes, clusters, outliers, or changing variance. The number is a summary; the plot shows whether the summary is appropriate.

Correlation Is Not Causation

A high correlation does not prove that one variable causes the other. Both may be driven by a third factor, the direction may be reversed, or the pattern may be coincidental. Time order, experimental control, plausible mechanism, and confounder handling are needed before making causal claims.

This warning is familiar because it is important. Correlation is often the beginning of an investigation, not the end. It can identify relationships worth modeling, monitoring, or testing more carefully.

Outliers and Range Restriction

Outliers can inflate or deflate Pearson correlation dramatically. A single extreme point may create an apparent relationship in otherwise scattered data. Conversely, a valid but unusual point can weaken a real association. Robust checks and visualization help decide whether a coefficient reflects the main pattern or one influential observation.

Range restriction also matters. If data only cover a narrow slice of possible values, correlation may appear weak even when the wider population has a strong relationship. The sampled range determines what the coefficient can reveal.

How to interpret the result

Confidence and limitations

Formula References

Assumptions

Explore more versions

Tailored guides for specific audiences, regions, and scenarios.

Related tools and workflows