Skip to main content
Calcimator

Linear Regression Calculator

Calculate linear regression line, slope, intercept, and R-squared. Find the best-fit line for your data points.

Inputs

Results

Slope (m)

1.5

Y-Intercept (b)0.667
R² (Coefficient of Determination)0.964
Equationy = 1.5x + 0.667

Slope (m)

1.5

How to Use This Calculator
  1. Start by filling in the input fields below. Results update instantly as you type, so you can experiment with different values to see how they affect the outcome.
  2. X₁ — First X coordinate. Accepts values from -1,000 to 1,000 (default: 1).
  3. Y₁ — First Y coordinate. Accepts values from -1,000 to 1,000 (default: 2).
  4. X₂ — Second X coordinate. Accepts values from -1,000 to 1,000 (default: 2).
  5. Y₂ — Second Y coordinate. Accepts values from -1,000 to 1,000 (default: 4).
  6. X₃ — Third X coordinate. Accepts values from -1,000 to 1,000 (default: 3).
  7. Y₃ — Third Y coordinate. Accepts values from -1,000 to 1,000 (default: 5).
  8. Once all inputs are set, review your results in the Results panel. Here's what each output means:
  9. Slope (m) — shown as a numeric value. This is the primary result of this calculator.
  10. Y-Intercept (b) — shown as a numeric value.
  11. R² (Coefficient of Determination) — shown as a numeric value.
  12. Equation — your calculated result.
  13. Explore the related calculators below if you need deeper analysis or want to approach this topic from a different angle.
Ad Placeholder

Related Calculators

Ad Placeholder