Slope calculator
Find the slope, rise and run between two points.
No files selected
A vertical line has undefined slope. Two identical points do not specify a line and must be changed. Coordinates describe a flat plane, not a map route. Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.
Your result
How to use Slope calculator
- Enter the values you want to calculate and choose the relevant units or settings.
- The result updates as you type. Adjust the available settings if needed.
- Review the result, then use Copy result or a download link when available.
Useful next steps
How to use it
Enter the x and y coordinates of both points. Slope equals the change in y divided by the change in x. A negative answer means the line falls as x increases.
A worked example
The points (1, 2) and (4, 6) have a rise of 4, a run of 3 and a slope of 4/3. Their y-intercept is 2/3.
What to know
A vertical line has undefined slope. Two identical points do not specify a line and must be changed. Coordinates describe a flat plane, not a map route.