Gradient of a Line Calculator
📈 Coordinates & graphs. Use the Gradient of a line formula to find gradient m, y₂, y₁, x₂, x₁: pick the value you want, type the others, and the answer updates as you go.
Pick the ○ next to the value you want to find, fill in the others, and it solves as you type.
What each letter means
| Quantity | Unit |
|---|---|
| Gradient m | no unit |
| y₂ | no unit |
| y₁ | no unit |
| x₂ | no unit |
| x₁ | no unit |
Worked example
Find the gradient m when y₂ = 9, y₁ = 3, x₂ = 4, x₁ = 1.
Using m = (y2 - y1)/(x2 - x1): Gradient m = 2.
Frequently asked questions
What is the formula for Gradient of a line?
m = (y2 - y1)/(x2 - x1).
What do the letters stand for, and what units are used?
Gradient m, y₂, y₁, x₂, x₁.
How do you calculate gradient m?
Put the values into m = (y2 - y1)/(x2 - x1). For example, with y₂ = 9, y₁ = 3, x₂ = 4, x₁ = 1, gradient m = 2.
Can I solve for a different value?
Yes. In the calculator above, pick the circle next to any value (gradient m, y₂, y₁, x₂, x₁) and fill in the others: it rearranges the formula for you.
