Read a slope from two points
Rise over run, angle, percent grade, and the line equation from any two points — or from slope plus one point.
Tools used in this guide
The job
Slope shows up as drain angles, ramp grades, graph fitting, and coordinate math. Two points define a line; everything else — rise/run, angle, percent, y-intercept — follows.
Compute the line
Enter two coordinate pairs. The result is the slope m = Δy/Δx, the angle in degrees, the equation y = mx + b, plus the distance, midpoint, and perpendicular slope. Vertical and horizontal lines are called out explicitly.
- A 5% ramp rises 5 units per 100 horizontal — slope 0.05, about 2.86°.
- Vertical lines have undefined slope; the tool reports that instead of dividing by zero.
Worked example
Points (1, 2) and (5, 10) give slope 2, angle 63.43°, equation y = 2x + 0, distance 8.94, midpoint (3, 6), and perpendicular −0.5.
Where it stops
It is analytic geometry only — no plotting and no regression over many points. Coordinates are capped at ±1e12 to keep arithmetic exact.