✳tools.stBrowse tools
◈ Processed on your device
±

Correlation and linear regression

Fit y = intercept + slope × x and calculate Pearson correlation.

Free

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².

◈ Local processingFree

How to use

  1. Enter your text, values, or image.
  2. Adjust the options and run the tool.
  3. 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.

Related tools