±Free
Correlation and linear regression
Fit y = intercept + slope × x and calculate Pearson correlation.
Enter paired x and y lists in matching order. Least squares fits y = intercept + slope × x, while the same centered sums give Pearson correlation and R².
How to use
- Enter your text, values, or image.
- Adjust the options and run the tool.
- Copy or download your result.
Worked example
Example input
x values: 1,2,3 y values: 2,4,6
Example result
{
"slope": 2,
"intercept": 0,
"correlation": 1,
"rSquared": 1
}Limitations and details
Use at least two pairs with varying x; constant y gives null correlation and R², and correlation does not establish causation.
Inputs and options
- x values
- Text
- y values
- Text
Frequently asked questions
Is this tool free and private?
Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.