At a Glance
- Category
- Statistics
- Best For
- Students and analysts testing whether two variables move together
- Privacy
- 100% in your browser: nothing you enter is uploaded
- Time Required
- Under a minute
- Cost
- Free
- Updated
- November 2026
Quick Overview
Pairs each X with its Y, measures how they vary together relative to their individual spread, and reports r, R² and the covariance.
Statistics students, researchers and analysts exploring data.
When asking whether study time relates to grades, ad spend to sales, or any two measured variables.
r summarizes the strength and direction of a linear relationship in one number between −1 and 1.
Key Features & Capabilities
r and R²
Direction and strength, and the share of variance explained.
Sample covariance
How the variables vary together.
Strength label
A plain-language description of the correlation.
How to Use This Tool
Enter X values
Type the first variable separated by commas. Tip: Keep the order of the pairs.
Enter Y values
Type the second variable with the same number of values. Tip: If lengths differ, extra values are ignored.
Read r
Close to 1 is a strong positive link; close to −1 a strong negative link; near 0 little linear link. Tip: Always plot the data too.
Use R²
R² is the share of variation in Y explained by X. Tip: Correlation is not causation.
Worked Real-World Example
Six pairs
X = 10, 15, 20, 25, 30, 35 and Y = 15, 22, 28, 32, 40, 48.
How It Works (Math & Calculation Logic)
Means of X and Y are computed. For each pair the deviations are multiplied; r = Σ(dx × dy) ÷ √(Σdx² × Σdy²). R² = r². Sample covariance = Σ(dx × dy) ÷ (n − 1). Needs at least two pairs and non-zero variance in both variables.
How to Interpret Your Results
By a common convention |r| above 0.8 is very strong, 0.5 to 0.8 moderate and below 0.5 weak.
These labels vary by field; in some sciences r = 0.5 is strong.
Plot the data and check for outliers or curves before trusting r.
Frequently Asked Questions
What does the correlation coefficient tell me?
What is a good correlation?
What is R²?
Does correlation mean causation?
Why is r undefined?
Complementary QuickForma Utilities
Descriptive Statistics Calculator
Calculate mean, median, mode, range, variance, standard deviation, quartiles, IQR, and MAD from data.
Z-Score Calculator
Calculate standard score Z = (X - mu) / sigma and percentile rank under standard normal curve.
Hypothesis Test Calculator
Calculate test statistic Z = (xbar - mu) / (s / sqrt(n)), two-tailed p-value, and significance decision.
Simple Linear Regression & R² Line of Best Fit
Calculates regression line equation ŷ = β₀ + β₁ x, correlation r, and coefficient of determination R².
Sample & Population Standard Deviation Solver
Solves sample (s) and population (σ) standard deviation with variance steps.
IQR, Box Plot Quartiles & Outlier Detector
Solves Q1, Q2 (Median), Q3, Interquartile Range (IQR), and identifies mild/extreme outliers (1.5 × IQR).
Radioactive & Chemical Half-Life Decay Solver
Solves remaining quantity N(t) = N₀ (1/2)^(t/t½), decay constant λ, and elapsed time.
Polar vs Rectangular Complex Number Calculator
Online client-side Polar vs Rectangular Complex Number Calculator tool.
Factorial n! & Permutation Formula Solver
Online client-side Factorial n! & Permutation Formula Solver tool.
Logarithm Base-b Conversion Solver
Online client-side Logarithm Base-b Conversion Solver tool.
Conic Sections: Ellipse & Hyperbola Solver
Online client-side Conic Sections: Ellipse & Hyperbola Solver tool.
Partial Fraction Decomposition Solver
Online client-side Partial Fraction Decomposition Solver tool.