Slope, intercept, and line equation from two points.. Slope & Line Equation is a free online tool from the ToolsRift Math Calculators collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Loading Slope & Line Equation…
How to use Slope & Line Equation
Enter two points and the calculator returns the slope, the y-intercept and the full y = mx + b line equation with steps.
Frequently asked questions
How is slope calculated?
Slope m = (y₂−y₁)/(x₂−x₁), the rise divided by the run between the two points.
What if the line is vertical?
A vertical line has an undefined slope because the run (x₂−x₁) is zero; the calculator reports this.
Does it give the line equation?
Yes — it returns the slope-intercept form y = mx + b along with the slope and intercept.
ToolsRift processes your files in your browser. We use cookies only for basic analytics and to support ads that keep every tool free. See our Cookie Policy.