Linear Regression Calculator
Fit y = mx + b to (x, y) data points — with R² correlation.
See how it works
Watch a quick simulation of this tool in action — no file needed.
How to use Linear Regression Calculator
Follow these steps — everything happens instantly in your browser.
- 1
Step 1. Enter data points as 'x,y' pairs, one per line (e.g. '1,2').
- 2
Step 2. The slope (m), intercept (b), R² and Pearson r update instantly.
- 3
Step 3. Use the resulting equation y = mx + b to predict any x.
Why use this tool
Frequently asked questions
Everything you might want to know about linear regression calculator.
Z-Score Calculator
z = (x − μ) / σ — with percentile and tail probability.
Popular
Average Calculator
Mean, median, mode, sum, range — instant statistics for any list of numbers.
Matrix Calculator
Add, subtract, multiply and find determinants of 2×2 and 3×3 matrices.
Probability Calculator
P(A), P(A∪B), P(A∩B) — single and joint event probability.