Math
Line Equation from Two Points
Find the slope-intercept equation through two points.
Did this calculator solve your problem today?
✓ Thank you for your feedback!
Report issue to loopingon.com
Sponsored
Build the equation of the line through two points.
The math behind it
slope m = (y₂−y₁)/(x₂−x₁); intercept b = y₁ − m·x₁; equation y = mx + b.
Worked Example
(1,2) & (3,6) → y = 2x + 0.
Frequently Asked Questions
Vertical line?
Slope is undefined; the equation is x = constant.
Advertisement