Coordinate and gradient explorer
Move two points numerically and see the straight line, its rise, its run and its gradient.
Your experiment
Change any value to update the result. Use the stated units.
Enable JavaScript to calculate with your own values.
Why it works
gradient = (y₂ − y₁)/(x₂ − x₁)
Assumptions and limits
Coordinates are dimensionless here. A vertical line has undefined gradient. Identical points do not define a unique line.