Slope & Line Equation
Get the slope, intercept, angle and equation of the line through two points, free online.
About this calculator
From two points the slope is m = (yโโyโ)/(xโโxโ), the y-intercept is b = yโ โ mยทxโ and the line is y = mx + b. Vertical lines have an undefined slope and are written x = c.