Slope, distance, midpoint and angle between two points.
Slope measures how much a line climbs for each step sideways: rise over run. A slope of 1.5 between (1, 2) and (5, 8) means the line gains 1.5 units of height for every unit of horizontal distance. This calculator also gives the distance between the points, their midpoint, the angle of incline and the y-intercept.
A horizontal line has slope 0; a vertical line's slope is undefined, because the run is zero — the calculator says so rather than inventing a number.
Road grades, roof pitch, wheelchair ramps and drainage falls are all slopes in disguise — a 1:12 ramp is a slope of about 0.083, or an angle near 4.8°.