Slope between two points calculator
Find the rate of change in y per unit change in x between two coordinate points.
Calculator
How to use this calculator
Find the rate of change in y per unit change in x between two coordinate points.
- Enter x₁, y₁, x₂, y₂. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Slope between two points calculator
Find the rate of change in y per unit change in x between two coordinate points.
What it measures
Find the rate of change in y per unit change in x between two coordinate points.
Inputs and units
- x₁: Use coordinates from one shared coordinate system; preserve the axis units and point ordering.
- y₁: Use coordinates from one shared coordinate system; preserve the axis units and point ordering.
- x₂: Use coordinates from one shared coordinate system; preserve the axis units and point ordering.
- y₂: Use coordinates from one shared coordinate system; preserve the axis units and point ordering.
Formula and method
(y₂−y₁)/(x₂−x₁)
Worked example
Between (1,2) and (5,10), slope=(10−2)/(5−1)=8/4=2.
Interpreting the result
A positive slope rises left to right, a negative slope falls, and zero is horizontal. Its units are y-units per x-unit.
Assumptions and limits
The two x-coordinates must differ; a vertical line has undefined slope. Keep both points in the same coordinate system.
Sources and method
- Defines the coordinate midpoint by averaging corresponding endpoint coordinates. OpenStax College Algebra: Rectangular coordinates and midpoint
Frequently asked questions
Does reversing the points change slope?
No. Both numerator and denominator change sign, leaving the ratio unchanged.
What if x₁=x₂?
The line is vertical and slope is undefined.
How do I use the Slope between two points calculator?
Enter x₁, y₁, x₂, y₂. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Slope between two points?
Between (1,2) and (5,10), slope=(10−2)/(5−1)=8/4=2.
What does the Slope between two points calculator calculate?
Find the rate of change in y per unit change in x between two coordinate points.
See the calculation methodology.
Good calculators show their work.
CalcWorldHub is built around clear inputs and visible assumptions. Results are estimates for planning; check official sources or your provider’s terms when exact figures matter.