Positive slope
(1, 2) to (5, 10)m = 2
Use this free slope calculator to enter two coordinate points and find rise, run, slope, y-intercept, and a line equation with clear steps.

Recent slope answers will appear here.
Geometry answers and history stay in this browser tab while you work.
Copy answer only writes the current result to your clipboard when you press it.
Find slope from two coordinate points.
Check rise over run for graphing and algebra homework.
Identify vertical lines with undefined slope.
Write a simple line equation from calculated slope and intercept.
Compare positive, negative, horizontal, and vertical line behavior.
Copy the slope steps into notes after checking decimal or negative coordinates.
m = 2
m = -1
Undefined slope
m = 0
m = 2
m = 1/3, or 0.333333...
m = -1.5
Need a slower walkthrough, a related calculator, or the full library? These links keep you close to the task you started.
Quick answers about formulas, units, valid measurements, examples, copying, and private in-browser history.
It uses slope = (y2 - y1) / (x2 - x1), often described as rise over run.
A vertical line has a run of zero because both points have the same x-value. Division by zero is undefined, so the slope is undefined.
The main inputs are the numbers, operation, mode, or known values the calculator needs. Keep units consistent, enter percentages the way the page label shows, and use the examples as a quick check before trusting the answer.
Read the headline answer, then check the supporting lines and examples to understand how the calculator got there. If one input changes, rerun the tool and compare the new answer instead of guessing.
Check units, signs, rounding, and the selected mode before copying the answer. If the number feels weird, rerun one of the examples first, then put your own values back in slowly.
No. The two points must be different, or there is no single line direction to calculate.
Rise is y2 - y1, the vertical change between the points. Run is x2 - x1, the horizontal change. Slope divides rise by run.
A negative slope means the line goes down as x increases. For example, a slope of -1 drops 1 unit for every 1 unit you move right.
A horizontal line has a rise of zero, so its slope is 0. The line equation is y = a constant.
Yes. For non-vertical lines it shows y = mx + b. For vertical lines it shows x = constant.
Yes. Decimal and negative coordinates work as long as each value is a valid number and the two points are not identical.
No. Swapping the first and second point changes both rise and run signs, so the final slope stays the same.
No. Slope measures steepness as rise divided by run. Distance measures how far apart the two points are along the segment.
Use Slope Calculator for line steepness and equations. Use Distance Calculator for the straight-line length between two points.
Yes. Recent slope answers stay only in the current browser tab while you use the page. They are not sent to a server.