Free online tool
Slope calculator
Type two points to find the slope, the angle, the line equation y = mx + b, the distance and the midpoint.
Works in your browserNothing is sent anywhereNo sign-upFree
Slope (m)–
Line equation–
Angle–
Distance–
Midpoint–
·
Formulam = (y₂ − y₁) ÷ (x₂ − x₁)
Questions
Good to know
What does the slope tell me?
How steep a line is: how much y goes up (or down) for every 1 step in x. A slope of 2 rises 2 for every 1 across.
What is grade?
The slope as a percent, used for roads and ramps: a slope of 0.08 is an 8% grade.

Photo tools on your phone
15 photo tools in one free Android app: resize, cut out, scan and more. Works offline.