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 Borrow When Adding & Subtracting Fractions
How to Find The Slope of a Line Given Two Points
How to Find a Parallel Line
How to Find FWHM
How do I Calculate 0.1%?
How to Find the Slope of Linear Equations
How to Make a 1% Sucrose Solution
How to Solve a Parabola
How to Write an Equivalent Fraction With a Given Denominator
How to Find X-Intercept & Y-Intercept
How to Determine if an Equation Is an Identity?
How to Find Equations of Tangent Lines
How to Divide Equations
How to Borrow When Adding & Subtracting Fractions
How to Find the Volume of a Sphere in Terms of Pi
How to Determine the Y-Intercept of a Trend Line
To Calculate Arcsine, What Buttons Do You Press on...
How to Calculate Slope Ratio
How to Convert From Moles Per Liter to Percentage
How to Find Quadratic Equations From a Table