Slope of a Line Calculator
Find the slope between two points on a line, along with the rise and run used to calculate it. Enter x1, y1, x2 and y2 to see slope, rise and run…
8 of 8 free uses remaining today
Find the slope between two points on a line, along with the rise and run used to calculate it. Enter x1, y1, x2 and y2 to see slope, rise and run when you calculate.
Worked example
Example calculated from the starting values. Enter your own values and press Calculate to get your result.
With the default inputs (x1 = 1, y1 = 2, x2 = 5, y2 = 10), the results are: slope 2.0000; rise 8.0000; run 4.0000.
Quick reference: x1 vs result
Reference table based on the example values; it is not your calculation result.
| x1 | Slope | Rise | Run |
|---|---|---|---|
| 0.5 | 1.7778 | 8.0000 | 4.5000 |
| 1 | 2.0000 | 8.0000 | 4.0000 |
| 2 | 2.6667 | 8.0000 | 3.0000 |
| 10 | -1.6000 | 8.0000 | -5.0000 |
| 20 | -0.5333 | 8.0000 | -15.0000 |
Frequently asked questions
What formula does this calculator use?
Slope = (y2-y1) ÷ (x2-x1); Rise = y2-y1; Run = x2-x1. Variables: x1 = x1, y1 = y1, x2 = x2, y2 = y2.
What do I need to enter?
You need x1, y1, x2, y2. Results update as you type.
What is an example result?
With the default inputs (x1 = 1, y1 = 2, x2 = 5, y2 = 10), the results are: slope 2.0000; rise 8.0000; run 4.0000.
Related Tools
View allAverage of Three Numbers Calculator
Find the mean of three numbers instantly. Enter each value to see the sum and the average, which is handy for marks, measurements, readings and…
Quadratic Equation Solver
Solve ax² + bx + c = 0, where a is the x² coefficient, b the x coefficient and c the constant. A dash means there are no real roots. Enter…
Distance Between Two Points Calculator
Calculate the straight-line distance between two points on a flat grid using the distance formula. Enter x1, y1, x2 and y2 to see distance when you…
Midpoint Calculator
Find the midpoint halfway between two points by averaging their x and y coordinates. Enter x1, y1, x2 and y2 to see midpoint x and midpoint y when…