Pearson Correlation Coefficient Calculator
Estimate the linear correlation between four paired observations using Pearson's r.
Calculator InputsFormula v1.0
r = covariance(x,y) / (sₓ × sᵧ)
Pearson correlation r
Formula and method
r = covariance(x,y) / (sₓ × sᵧ)Correlation does not prove causation, and the coefficient describes linear association only.
Variables
- x1
- X1
- y1
- Y1
- x2
- X2
- y2
- Y2
- x3
- X3
- y3
- Y3
- x4
- X4
- y4
- Y4
Worked example
A result near +1 indicates strong positive linear association; near -1 indicates strong negative association.
Who this calculator is for
Students and analysts exploring relationships between paired data.
Complete guide to the pearson correlation coefficient calculator
Every figure below comes from this calculator itself. The method is r = covariance(x,y) / (sₓ × sᵧ), applied to the tool's default inputs and then stress-tested one input at a time.
What the Pearson Correlation Coefficient Calculator works out
Pearson Correlation Coefficient Calculator answers one specific question: Estimate the linear correlation between four paired observations using Pearson's r. It is written for students and analysts exploring relationships between paired data.
The method is r = covariance(x,y) / (sₓ × sᵧ). The inputs are X1, Y1, X2, Y2, X3, Y3, X4, Y4. With the default values - X1 = 1, Y1 = 2, X2 = 2, Y2 = 4, X3 = 3, Y3 = 5, X4 = 4, Y4 = 8 - the result is Pearson correlation r: 0.981156. Raising X1 from 1 to 1.10 moves the headline result from 0.981156 to 0.981907.
Reading the result, line by line
Alongside 0.981156 this method reports 3 supporting quantities: X mean: 2.5000; Y mean: 4.7500; Paired observations: 4. Reading them side by side separates the effect of each assumption.
The worked example is: A result near +1 indicates strong positive linear association; near -1 indicates strong negative association. Use it to confirm the direction of the calculation before entering your own figures, and keep intermediate values unrounded until the final step.
How to interpret the answer
Correlation does not prove causation, and the coefficient describes linear association only.
In this case 0.981156 together with x mean of 2.5000 is a single scenario, not a forecast range. Move the input you are least sure of, and watch the two figures change in step.
Reversing the calculation is often more useful than repeating it. Fix the target you need, then work back through r = covariance(x,y) / (sₓ × sᵧ) to see which of the inputs has to change to reach it from 0.981156.
Common mistakes to avoid
Reading a high r as proof that one variable causes the other. Using Pearson's r on a clearly curved relationship, where it will understate a strong non-linear association.
Read the inputs back once before trusting the figure: X1, Y1, X2, Y2, X3, Y3, X4, Y4 and confirm each entry matches its label, including whether a quantity is entered in the unit the label names. Nudge X1 and confirm the output responds in the direction the formula implies - here 0.981156 should shift smoothly rather than jump.
Limitations and responsible use
Measures only linear association and is sensitive to outliers. Needs at least three paired observations, and a very small sample can produce a large r by chance.
Each number above is bounded by the limits just described, so treat it as a conditional result. Every figure here can be reproduced by hand from the formula shown, but no calculation can confirm that the inputs match your actual circumstances. For a consequential decision, confirm the current figure independently, because published values change between editions.
Frequently asked questions
What does r = 0.98 mean?
A very strong positive linear association: as x rises, y tends to rise proportionally. In the default data set r is 0.981, yet r says nothing about causation or about how accurately a straight line predicts new values.
Can correlation be high with no real relationship?
Yes. Both variables can follow a third trend, such as inflation over time, producing a strong correlation with no direct link between them.
Related Mathematics Calculators
Explore another calculator in this subject.
Scientific Calculator – Free Online Calculator With Trig, Logs & Memory
A full scientific calculator with DEG/RAD trigonometry, inverse and hyperbolic functions, powers, roots, logarithms, factorials, percentages, constants, memory registers, Ans recall and a running calculation tape.
Basic Calculator – Free Online Four-Function Calculator
Add, subtract, multiply, divide, and take percentages with a clean four-function calculator that also reports the running expression and a transparent result breakdown.
Random Number and Password Generator
Generate cryptographically strong random integers in a range, unique lottery-style picks, or secure passwords with configurable length and character classes.