Slope Calculator
Find the slope between two points (rise over run) with angle, grade, distance, midpoint and the line equation in slope-intercept, point-slope and standard form — or build a line from a point and a slope or angle
Whole numbers, decimals and fractions like 3/4 work. Fractions give exact results.
Slope (m)
Angle (θ)
Grade (%)
Distance (d)
Midpoint
x-intercept
y-intercept
Perpendicular slope
Equation of the line
Slope-intercept form:
Point-slope form:
Standard form:
Step-by-step solution
Slope m = Δy / Δx = (y₂ − y₁) / (x₂ − x₁). A positive slope rises from left to right; a vertical line has an undefined slope. The angle is measured from the positive x-axis (−90° to 90°) and grade is the slope as a percentage.