What is slope in math?
How steep a line is: the change in y divided by the change in x between any two of its points. It is also called the gradient.
Find the slope of a line from two points, a point and a slope, or an equation, with the working, every form of the equation and a graph.
Type two points to find the slope of the line through them.
Open circles mark where the line crosses the axes.
Shows once the line is in.
The steps show once all four boxes have a number.
Type a point and a slope to write the equation of the line.
Open circles mark where the line crosses the axes.
Shows once the line is in.
The steps show once the point and the slope are in.
Slope intercept, point slope or standard form: y = 2x − 1, 3x + 2y = 6, y − 3 = 2(x − 2) or x = 4.
Type the equation of a straight line in any form.
Open circles mark where the line crosses the axes.
Shows once the line is in.
The steps show once the equation is in.
Type two points and the slope, the equation of the line and its graph appear together, worked out with your numbers.
Nothing to install or sign up for, and every coordinate you type stays in your browser.
Type two points, read the slope as a fraction, then check the line on the graph or start from an equation.
Type x₁, y₁, x₂ and y₂, or paste (2, 3), (6, 11) into any box. Fractions like 1/2 and decimals like 0.75 work too.
The slope shows as a fraction in lowest terms with its decimal, then y = mx + b, point slope and standard form.
The line is drawn through your points with rise and run marked. Drag a point on the graph and every answer follows.
Slope measures how steep a line is: how far it goes up for each step to the right. The slope formula is m = (y₂ − y₁) / (x₂ − x₁), the change in y over the change in x, which is why slope is called rise over run. In the UK it is often called the gradient.
For the points (2, 3) and (6, 11), the rise is 11 − 3 = 8 and the run is 6 − 2 = 4, so m = 8/4 = 2. The line climbs 2 units for every 1 unit it moves right. Taking the points the other way round gives −8/−4, which is the same slope.
Subtract in the same order on top and bottom. Mixing them up, as in (11 − 3) / (2 − 6), flips the sign and gives −2. The Working box writes out each subtraction with your own numbers, so a slipped sign is easy to spot.
Slope intercept form writes a line as y = mx + b, where m is the slope and b is the y intercept, the height at which the line crosses the y axis. In y = 3x + 2, the line rises 3 for each step right and passes through (0, 2).
To find b from two points, put the slope and either point into y = mx + b. With m = 2 and the point (2, 3), 3 = 2 × 2 + b, so b = −1 and the equation is y = 2x − 1. The other point, (6, 11), gives the same b.
An equation in standard form converts by solving for y. From 3x + 2y = 6, take 3x from both sides to get 2y = −3x + 6, then divide by 2: y = −3/2x + 3. The Equation tab does this for any straight line you type.
Point slope form is y − y₁ = m(x − x₁). It needs only the slope and one point on the line, so it is often the quickest equation to write down: a slope of 2 through the point (2, 3) gives y − 3 = 2(x − 2).
Opening the brackets turns it into slope intercept form: y − 3 = 2x − 4, and adding 3 to both sides gives y = 2x − 1. The Point and slope tab writes both, along with the standard form of the same line, 2x − y = 1.
A positive slope goes up from left to right and a negative slope goes down: the line through (−1, 4) and (3, 1) has a slope of −3/4, dropping 3 units for every 4 across. The larger the number, sign aside, the steeper the line.
A horizontal line such as y = 4 has a slope of zero, since y never changes. A vertical line such as x = 3 has an undefined slope: its run is 0, and dividing by zero has no answer. The calculator names each case and still draws the line.
Pick two points where the line crosses the grid exactly, then count squares: up or down for the rise, then across for the run. Counting down makes the rise negative. Rise divided by run is the slope, the same number the formula gives.
A table of values works the same way. If x goes 0, 1, 2, 3 and y goes 5, 8, 11, 14, then y grows by 3 each time x grows by 1, so the slope is 3. When x jumps unevenly, divide the change in y by the change in x between any two rows.
The angle a line makes with the x axis is the inverse tangent of its slope. A slope of 1 is 45°, and a gentle ramp slope of 1/12 is about 4.76°. A negative slope gives a negative angle, measured down from the x axis.
Percent grade is the slope times 100, the way road signs and ramp guides give it, so 1/12 is about 8.33%. Every answer lists the angle and the grade beside the fraction, so a slope from class can be read as a gradient on a hill too.
Parallel and perpendicular slopes (the negative reciprocal) and their lines through a point.
Where the line crosses each axis, as exact points like (1/2, 0), with both marked on the graph.
The distance formula gives √80 = 4√5 for (2, 3) and (6, 11), and the midpoint formula gives (4, 7).
Every line also as Ax + By = C in whole numbers with A positive, so 2x − y = 1 matches answer keys.
Type y = 3x + 2, 3x + 2y = 6 or y − 4 = −2(x + 1) and read the slope and intercepts of that line.
Points like (1/2, 3/4) and (2, 2) are worked exactly, so the slope is 5/6, never a rounded 0.83.
Nothing leaves this page: the slope, the equation and the graph are all worked out in your browser.
This slope finder works online, yet every subtraction and point on the graph is done on your device.
Nothing is saved. Check a whole finding slope worksheet and no point or answer is kept or sent.
No sign-up and no slope app to install: the page works the same on a phone, Chromebook or tablet.
How steep a line is: the change in y divided by the change in x between any two of its points. It is also called the gradient.
Subtract the y values, then the x values in the same order, and divide: (2, 3) and (6, 11) give 8 ÷ 4, a slope of 2.
Put the slope and one point into y = mx + b and solve for b. With m = 2 and the point (2, 3), 3 = 4 + b, so b = −1.
Undefined. Both points share an x value, so the run is 0 and there is nothing to divide by. Its equation is x = a number.
Zero. The y value never changes, so the rise is 0 however far you go. Its equation is y = a number, such as y = 4.
Flip the slope and change its sign, the negative reciprocal: 2/3 becomes −3/2. Two perpendicular slopes multiply to −1.
The y intercept: the value of y where the line crosses the y axis, at x = 0. The m in front of x is the slope of the line.
Take two rows and divide the change in y by the change in x. For x from 0 to 3 and y from 5 to 14, that is 9 ÷ 3, so 3.
Still stuck, or found a problem? Email dobliquestudio@gmail.com and we will help.