Correlation Calculator
Calculate Pearson r and Spearman ρ with p-values, r² and the least-squares line, shown on a scatter plot.
Open toolFit a least-squares line to paired data: slope, intercept, standard errors, p-values, R², residuals and predictions with intervals.
Paste two columns — the predictor x and the response y — to fit the ordinary least-squares line ŷ = b₀ + b₁x. You get the slope and intercept with their standard errors, t statistics, p-values and confidence intervals, plus R², adjusted R², the correlation r, the F statistic and the residual standard error.
A scatter plot shows the fitted line, and a residuals-versus-fitted plot helps you spot curvature or uneven spread that a straight line cannot capture. The residual table lists each point’s fitted value, residual and standardized residual, highlighting any beyond ±2. Enter an x value to predict y with both a confidence interval for the average response and a wider prediction interval for a single new observation; the tool warns when you extrapolate beyond your data. Everything is calculated in your browser; nothing you enter is uploaded.
Your details
Two pasted columns (x y)
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Shown instantly, ready to copy or export
Paste x and y as two columns (one pair per line).
Read the fitted equation, coefficients table and R².
Check the residual plot for patterns.
Enter an x value to get a prediction with intervals.
Zero-upload architecture
Free, with no sign-up or watermark · Your details stay on your device
Launch the app. There is nothing to install and no account to create.
Read the fitted equation, coefficients table and R².
Enter an x value to get a prediction with intervals.
Calculate Pearson r and Spearman ρ with p-values, r² and the least-squares line, shown on a scatter plot.
Open toolCalculate mean, median, mode, variance, standard deviation, quartiles, outliers and skewness, with a box plot and frequency table.
Open toolRun one-sample, Welch, paired, proportion and chi-square tests: test statistic, p-value, decision at α, effect size and plain-language interpretation.
Open toolGraph several functions of x with zoom, pan, value tracing and correct handling of asymptotes, then export a PNG.
Open tool