Files stay on your device
Free. No account needed.Linear regression
Fit a least-squares line and report slope, intercept and R².
Result
Enter your values. Your result will appear here.
How it works
- Inspect the example or enter your own input.
- Check the units and operation, then run the tool.
- Review the result, then copy or download it. Keep a copy of your original data.
Example & practical use
Starting example: x,y pairs (one per line): 1,2 2,4 3,5 4,8
Limits and help
Descriptive fit only; correlation does not establish causation. At least two points with distinct x values are required. Runs on your device without uploading input. Maximum 200,000 characters per field; numeric calculations use finite JavaScript numbers unless exact integer/decimal arithmetic is stated.
Your files are yours.
Image and text processing happens in your browser. Your files are not uploaded to our servers.
Troubleshooting
Check the unit for each field. Use a decimal point without thousands separators in numeric fields. A blank value is not the same as zero. Verify important results independently.