Welcome to our Slope of a Linear Equation Support Page.
Looking for some help and support for finding the slope from a linear equation?
Then check out this page with clear explanation, worked examples and some practice worksheets!
We also have a linear equation calculator which you can use to solve linear equations with two points and find out what the slope is, step-by-step!
This page contains all the information you need to find the slope of a line which goes through two (or more) points.
Find out about different values the slope can have and a quick way of finding the slope from a linear equation.
We have also included some practice worksheets and worked examples to help you to understand and learn this skill.
In order to master this skill, you should have a basic level of algebra and understand how to add and subtract negative numbers.
Quicklinks to ...
A linear equation (or line equation) is an equation of a straight line.
Every straight line can be written as a linear equation.
There are two main forms which are used to show linear equations:
A linear equation can be written in the standard form:
Ax + By + C = 0
However, it is more commonly written in slope-intercept form:
y = mx + c
If we are interested in finding the slope of a linear equation, we need to find the value of m.
Looking for more support with linear equations...
Try our
linear equation support page
The slope of a line is also know as the gradient.
It is also the value of the letter m in the equation:
y = mx + c
The slope of a line can be expressed as a number as follows:
There is some more information about the types of slope and their values below.
There are several ways that we can find the slope (or gradient) of a linear equation:
There is more information and examples below to show you how to find the value of the slope of a linear equation.
If we look at a linear equation in slope-intercept form:
y = mx + c
There are 4 main different types of slope or gradient that we might find in our straight line:
The value of m (the gradient or slope) is positive (m>0).
If the line slopes upwards from left to right it means that the gradient is a positive number.
The value of m is negative (m<0).
If the line slopes downwards from left to right then it means that the slope or gradient is negative.
The value of m is zero (m=0).
If the line is a horizontal line, it means that the gradient is zero.
The value of m is infinity (m=∞).
If the line is a vertical line, it means that the slope or gradient is infinite.
This is a relatively straightforward task which does not require any working out!
If the linear equation is in the form: \[ y = mx + c \]
Then the gradient is simply the value of m.
So if the equation is: \[ y = 4x - 7 \] Then the gradient is 4.
If the linear equation is in the form: \[ Ax + By + C = 0 \]
Then we have to work a little harder to find the gradient.
Here are the simple steps you need:
Step 1) Divide all the terms by the value of B and simplify
This gives us: \[ {A \over B}x + {B \over B}y + {C \over B} = {0 \over B} \]
Simplifying gives us: \[ {A \over B}x + y + {C \over B} = 0 \]
Step 2) Move all the terms apart from the y term over to the right hand side by subtracting them
\[ y = -{A \over B}x - {C \over B} \]
The equation is now in the slope-intercept form: \[ y = mx + c \]
The value of gradient or slope: \[ m = -{A \over B} \]
So if the equation is: \[ 4x - 2y - 10 = 0 \] Then the value of A is 4 and the value of B = -2 \[ m = -{4 \over -2} = {2 \over 1} = 2 \]
So the gradient is 2.
In order to do this, the easiest way is to find two points on the line which are exactly match whole numbers on the coordinate grid.
Once we have found the two points, we can use the method below for finding the slope.
The gradient of the line can be found by dividing the change in the y-coordinate by the change in the x-coordinate.
We can rewrite this as a formula for m:
\[ m = {(y_2 - y_1) \over (x_2 - x_1)} \]
where the two points on the line are (x1, y1) and (x2, y2)
In other words, the slope is the difference in the value of the y-coordinates divided by the difference in value of the x-coordinates.
It does not matter which way round you input the coordinates: the slope will stay the same:
The slope between (x1, y1) and (x2, y2) has the same value as the slope between (x2, y2) and (x1, y1)
This linear equation is already in slope-intercept form (which is the form we need).
The value of m is equal to the coefficient of the x-term which is 3.
So the gradient or slope of the line is 3.
This linear equation is also in slope-intercept form.
The value of m is equal to the coefficient of the x-term which is -7.
So the gradient or slope of the line is -7.
This linear equation is in standard form.
We need to change this into slope-intercept form to find the gradient.
We do this by moving the x-term and the number 9 to the right hand side of the equation.
\[ 4x + y - 9 = 0 \] Subtracting 4x and adding 9 to both sides of the equation gives us: \[ y = 9 - 4x \]
The value of m is equal to the coefficient of the x-term which is -4.
So the gradient or slope of the line is -4.
This linear equation is in standard form.
We need to change this into slope-intercept form to find the gradient.
First we divide each term by 2 to give: \[ 5x - y + 6 = 0 \]
Next we move the y-term to the right hand side of the equation.
\[ 5x - y + 6 = 0 \] Adding y to both sides of the equation gives us: \[ 5x + 6 = 0 + y \]
We simplify this to give us: \[ y = 5x + 6 \]
The value of m is equal to the coefficient of the x-term which is 5.
So the gradient or slope of the line is 5.
The equation to find the gradient is:
\[ m = {(y_2 - y_1) \over (x_2 - x_1)} \]
Our two points are (2, -1) and (6, 11) so this give us:
This gives us:
\[ m = {(11 - (-1)) \over (6 - 2)} = {12 \over 4} = 3 \]
This means that:
\[ y = 3x + c \]
As we are only looking to find the gradient, we do not need to worry about finding the value of c.
The value of m is the coefficient of the x term which is 3.
So the gradient or slope of the line is 3.
The equation to find the gradient is:
\[ m = {(y_2 - y_1) \over (x_2 - x_1)} \]
Our two points are (-4, 10) and (-1, -5) so this give us:
This gives us:
\[ m = {(-5 - 10) \over (-1 - (-4))} = {-15 \over 3} = -5 \]
This means that:
\[ y = -5x + c \]
As we are only looking to find the gradient, we do not need to worry about finding the value of c.
The value of m is the coefficient of the x term which is -5.
So the gradient or slope of the line is -5.
First we need to choose two points which lie exactly on the line.
We are going to choose (-6, 6) and (6, 0).
The equation to find the gradient is:
\[ m = {(y_2 - y_1) \over (x_2 - x_1)} \]
Our two points are (-6, 6) and (6, 0) so this give us:
This gives us:
\[ m = {(0 - 6) \over (6 - (-6))} = {-6 \over 12} = -{1 \over 2} \]
This means that:
\[ y = -{1 \over 2}x + c \]
As we are only looking to find the gradient, we do not need to worry about finding the value of c.
The value of m is the coefficient of the x term which is -½.
So the gradient or slope of the line is -½.
We have created a series of worksheets to help you practice finding the slope or gradient of a linear equation.
Each sheet involves finding the slope from either an equation, two points or a line on a coordinate grid.
Our Linear Equation Calculator will find a linear equation from two points and display the equation both in slope-intercept form and standard form.
You can easily use the calculator to find the slope (m) of the linear equation.
However the best thing about our calculator is that it takes you through all the steps needed to find a linear equation from two points.
Take a look at some more of our worksheets similar to these.
If you need further support on solving linear equations, then try our dedicated support page.
On the page you will find:
If you are needing help with finding parallel linear equations or lines which are parallel to other lines then take a look at the link below.
On the page you will find:
In order to find a linear equation from two points, you need to be proficient at adding and subtracting negative numbers.
Here are some of our resources which will help you to learn and practice these skills.
The sheets are arranged in order of difficulty to help introduce you into more complicated examples gradually.
Using these sheets will hopefully make factorising quadratic equations simple and straightforward.
The sheets cater for simpler and more complex quadratic equations.
Sign up for our newsletter to get free math support delivered to your inbox each month. Plus, get a seasonal math grab pack included for free!
The Math Salamanders hope you enjoy using these free printable Math worksheets and all our other Math games and resources.
Our website and all of our resources are created by humans and not AI. This includes the code used to create our randomly generated worksheets.
If you have any questions or need any information about our site, please get in touch with us using the 'Contact Us' tab at the top and bottom of every page.