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
- 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.
- X₁ — First X coordinate. Accepts values from -1,000 to 1,000 (default: 1).
- Y₁ — First Y coordinate. Accepts values from -1,000 to 1,000 (default: 2).
- X₂ — Second X coordinate. Accepts values from -1,000 to 1,000 (default: 2).
- Y₂ — Second Y coordinate. Accepts values from -1,000 to 1,000 (default: 4).
- X₃ — Third X coordinate. Accepts values from -1,000 to 1,000 (default: 3).
- Y₃ — Third Y coordinate. Accepts values from -1,000 to 1,000 (default: 5).
- Once all inputs are set, review your results in the Results panel. Here's what each output means:
- Slope (m) — shown as a numeric value. This is the primary result of this calculator.
- Y-Intercept (b) — shown as a numeric value.
- R² (Coefficient of Determination) — shown as a numeric value.
- Equation — your calculated result.
- Explore the related calculators below if you need deeper analysis or want to approach this topic from a different angle.
Ad Placeholder
Related Calculators
Standard Deviation Calculator
Calculate the mean, median, standard deviation, and variance for a set of numbers. Supports both population and sample calculations.
Average Calculator
Calculate mean, median, mode, range, geometric mean, and harmonic mean of a set of numbers.
Probability Calculator
Calculate probability of single events, combined events (AND/OR), permutations, and combinations.
Ad Placeholder