Math & Statistics
Slope Calculator from Two Points
Find slope, horizontal run, vertical rise, and line intercept from two Cartesian points. The calculator uses slope m = (y₂ − y₁) ÷ (x₂ − x₁). It returns more than one result so you can check the main answer against a useful secondary measure. Positive slope rises left to right; a zero run is a vertical line with undefined slope. Coordinate units must match, and a slope alone does not describe a curved relationship.
Check the displayed units, assumptions, and rounding before relying on the result.
Calculate and compare
Use the number box for precision or the slider for fast scenario testing.
Scenario results
Slope
2
Rise divided by run.
Rise and run
12 / 6
Coordinate differences.
Y-intercept
-1
b in y = mx + b.
How the calculation works
Use consistent units and retain full precision until the final display step.
Worked example
Reproduce the displayed scenario, then change one assumption at a time.
Assumptions behind the result
- • Inputs use the units shown beside each control.
- • The displayed formula is applied without hidden market or demographic data.
- • Rounding occurs only for display; calculations keep full numeric precision.
- • Positive slope rises left to right; a zero run is a vertical line with undefined slope.
- • Coordinate units must match, and a slope alone does not describe a curved relationship.
Mistakes that change the answer
- • Mixing percentages with decimals or mixing incompatible units.
- • Relying on a rounded intermediate value instead of the full result.
- • Changing several assumptions at once instead of testing first x coordinate separately.