How to use this calculator
- Enter first point x and the remaining values.
- Check the selected units and the counting or calculation convention described below.
- Select Calculate to review the result and breakdown. Reset restores the example.
The formula
Subtract coordinates in the same order to form rise and run. A zero run gives a vertical line, whose slope is undefined; two identical points do not define a unique line.
A worked example
Points (0,0) and (3,4) give slope 4/3 and vertical intercept 0. Points (2,1) and (2,5) define x = 2.
How to interpret your result
Slope is vertical change per horizontal unit, not an angle in degrees.
Assumptions and limitations
Use the units, timing, and bounds stated beside the inputs. Example values are hypothetical; replace them with your own.
Planar coordinates with consistent axis scales; no map projection or geodesic calculation.