SCHOOL PLANNING AND CORE MATH
Slope Calculator
Calculate the slope, rise, run, and point-slope form from two coordinate points.
Review your result
Your result
Ready when you are.
Enter your values and select Calculate. Your result stays on this device.
How it works
Slope m = (y₂ − y₁) ÷ (x₂ − x₁). A vertical line has no finite slope.
Assumptions
Coordinates use the same Cartesian scale and represent two points on one straight line.
About this calculator
Use this slope calculator when a problem gives two coordinate points. Rise and run stay visible beside the final slope so a sign or subtraction error is easier to spot.
How to use it
- Enter the x and y coordinates for the first point.
- Enter the coordinates for the second point.
- Review rise, run, and slope together.
- If the x values match, interpret the line as vertical rather than forcing a numeric slope.
Use case
slope calculator: a clear planning check
Enter two points to calculate rise, run, and slope together, including a clear undefined result when the points create a vertical line.
Calculate slope from two coordinate points and verify the rise and run used in the answer.
Method and update
Last reviewed: 2026-08-10. This tool performs the stated formula locally in your browser using the values you enter.
Frequently asked questions
How do you calculate slope from two points?
Subtract the y values, subtract the x values in the same order, and divide rise by run.
Why is a vertical line undefined?
Its run is zero, and division by zero does not produce a finite slope.
Can slope be negative?
Yes. A negative result means y decreases as x increases.
Keep exploring