Slope Calculator
Find the slope, angle and equation of the line through two points.
How to use the Slope Calculator
- Enter or choose the x₁.
- Enter or choose the y₁.
- Enter or choose the x₂.
- Enter or choose the y₂.
- Results update instantly as you type — press Calculate any time to refresh.
Formula
m = (y₂ − y₁) ÷ (x₂ − x₁); y = mx + b.
About this calculator
The slope of a line measures its steepness — rise over run. Enter two points to get the slope, the angle of the line and its equation in slope-intercept form.
Frequently asked questions
What is an undefined slope?
A vertical line, where x₂ − x₁ = 0.