Back to Free Tools

FREE TOOLS

Linear Regression Calculator

Fit paired numeric arrays and report complete regression predictions and residuals.

Paired x values, Paired y values

JSON

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter the displayed example values,or choose the local input files requested by the controls. Optional source files take precedence where labelled.
  • Choose Calculate result and inspect the complete result and any reported limitations.
  • Use Download result and each companion download link to save complete outputs. Reset clears output and restores example controls.

Examples

Paired x values: [1,2,3,4]
Paired y values: [2,4,5,8]

Limitations

  • Fit paired numeric x/y arrays by ordinary least squares. Report slope,intercept,centered predictions,every residual,SSE,R squared and residual standard deviation. At least two pairs and two distinct x values. Constant responses have undefined R squared; two pairs have no residual standard deviation. No inferential p-values or causal interpretation. Numeric JSON arrays,at most10,000 observations,each within +/-1e12; no strings,nulls or missing values. Download the complete JSON report. All processing stays in your browser. Combined input limit: 400,000 UTF-8 bytes, 100,000 characters per field; report limit: 4 MiB. Floating-point rounding and probability underflow can occur.
  • Complete outputs only. Unsupported or oversized input is refused. Follow the displayed job-specific bounds and format policies.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool