How to Figure Out the Slope of a Line

A line's slope measures the slant of the line.
••• Ryan McVay/Photodisc/Getty Images

A line can be graphed on a set of coordinate axes with a horizontal x-axis and a vertical y-axis. The points on the graph are designated by coordinates in the form of (x, y). The slope of a line measures how the line slants in relation to the axes. A positive slope slants up and to the right. A negative slope slants down and to the right. A zero slope means a line is horizontal. A vertical line has an undefined slope. Determine the slope of a line using the slope formula or by identifying “m” in the slope-intercept form of a line’s equation, which is y = mx + b.

Figuring Slope from Two Points on a Line

    Input the corresponding x and y points into the slope formula m = (y2 - y1)/(x2 - x1) for a line that contains the two points (x1, y1) and (x2, y2). For example, the slope formula for a line that contains the two points (2, 3) and (4, 9) is m = (9 - 3)/(4 - 2).

    Subtract 3 from 9 to calculate the numerator: 9 minus 3 equals 6.

    Subtract 2 from 4 to calculate the denominator: 4 minus 2 equals 2. This leaves the equation m = 6/2.

    Divide the numerator by the denominator to solve for m, which is the slope of the line: 6 divided by 2 equals 3. The slope of the line is 3.

Figuring Slope from a Line’s Equation

    Subtract 4x from both sides of the example line equation 4x + 2y = 8 to isolate 2y on the left side of the equation. This equals 4x - 4x + 2y = -4x + 8, or 2y = -4x + 8.

    Divide both sides of the equation by 2 to reduce 2y to y. This equals 2y/2 = (-4x + 8)/2, or y = -2x + 4. This is the line’s equation rearranged into the slope-intercept form.

    Identify m in the equation’s slope-intercept form y = -2x + 4, which is -2. This is the line’s slope.

Related Articles

How to Work Out a Gradient of a Curve
How to Divide Equations
How to Find B in Y=Mx + B
How to Find The Slope of a Line Given Two Points
How to Find a Parallel Line
How to Solve a Parabola
How do I Calculate 0.1%?
How to Make a 1% Sucrose Solution
How to Find the Slope & the Equation of the Tangent...
To Calculate Arcsine, What Buttons Do You Press on...
How to Find the Slope of Linear Equations
How to Determine the Y-Intercept of a Trend Line
How to Find X-Intercept & Y-Intercept
How to Find the Angle of a Curve
How to Write a Linear Regression Equation
How to Write an Equivalent Fraction With a Given Denominator
How to Find the Minimum or Maximum in a Quadratic Equation
How to Find X in an Algebra Question
How to Convert Seconds Into Miles Per Hour
How to Find FWHM
How to Find the Slope of a Nonlinear Line