Blog

Slope Calculator

Calculate slope, y-intercept, angle, distance, and midpoint from two points. Also performs multi-point linear regression.

Complete User Guide

2-Point Slope: enter (x1,y1) and (x2,y2) to get slope, equation y=mx+b, angle, distance, and midpoint. Linear Regression: add multiple data points to find the best-fit line and correlation coefficient r.

The Mathematical Formula
m = (y2 - y1) / (x2 - x1)

m = (y2-y1)/(x2-x1). Y-intercept b = y1 - m×x1. Distance = √[(x2-x1)²+(y2-y1)²]. Regression: m = (nΣxy - ΣxΣy) / (nΣx² - (Σx)²).

Frequently Asked Questions

Calculate

Verified Precise

Secure
100% Free
Precise