To find the slope from a graph, pick two points on the line where it crosses grid intersections, then divide the vertical change by the horizontal change: slope = rise / run. That single move answers most graph problems. The condition that trips people up is scale — the slope comes from grid units, so a graph labeled in steps of 2 produces a slope half the size you'd read off a grid labeled in steps of 1.

A line rising 8 units over 4 units right has a slope of 2. The same line drawn on an axis where each square is worth 2 units has a slope of 1. The graph didn't change; the grid did.

Slope Is Rise Over Run: The Formula Behind the Graph

The slope formula every algebra course uses is m = (y₂ − y₁) / (x₂ − x₁), and it's nothing more than rise over run written with coordinates. Rise is y₂ minus y₁, the vertical gap between two points. Run is x₂ minus x₁, the horizontal gap. Division order matters: flip the subtraction order in only one of the two and you get the wrong sign.

In graph work, the two points are the inputs. On a coordinate plane, a line through (1, 2) and (5, 10) rises 8 and runs 4, giving m = 2. Any two distinct points on the same straight line return the same slope — that's the defining property of linearity, and it's the reason picking convenient points is legitimate rather than lazy.

Watch the sign conventions carefully. A line that goes down as it moves right has a negative rise relative to its run, so the slope is negative. A horizontal line has zero rise, so m = 0. A vertical line has zero run, and division by zero is undefined — so vertical lines have no slope at all. That last case appears on nearly every algebra test.

Two named methods produce the slope from a graph. In the rise-over-run method you count squares directly: up is positive, right is positive, down and left are negative. In the coordinate method you read off two point coordinates and substitute into the formula. Both are correct. Counting squares is faster for clean graphs; the formula is safer when the graph is crowded or points sit awkwardly.

Slope relates to the equation y = mx + b, where m is the slope and b is the y-intercept — the y-value where the line crosses the y-axis. Read both off the graph and you can write the equation without a single point-by-point table. That connection is why slope sits at the center of linear-equation work rather than off to the side.

Pick the Two Points That Make Slope Reading Easy

Two points on a line determine its slope completely, and the easiest pair is almost always where the line passes through a grid intersection — a spot where a vertical and horizontal gridline cross. Those points let you count whole squares instead of estimating fractions of one.

Start at the y-intercept when it's clean. The y-intercept is the point where x = 0, so it's the spot where the line crosses the vertical axis. If a line crosses at (0, 3) and also at (2, 7), you can count from the first to the second: up 4, right 2, slope 2. No formula needed.

Look for slope triangles that fit inside single grid squares when the line is steep. A line with slope 3 rises three squares for every one it moves right, and at larger scales those triangles extend well off the visible graph. Zooming out or picking a pair of points farther apart reduces rounding error and reading error at the same time.

Avoid points that land between gridlines. Estimating half-squares introduces fractional error that compounds, and a graph drawn at a small scale can turn a true slope of 1.5 into a wrong answer of 1 or 2. If the line is a drawn curve that only looks straight (piecewise or hand-drawn), take points as far apart as the graph allows.

A practical habit: mark both chosen points with a dot and label their coordinates before you subtract. It forces the reader to state values rather than glance, and it makes sign errors visible before they reach the answer. Graders respond well to visible work, and so does anyone checking a machine-scored answer.

Work Through a Slope Calculation in Six Numbered Steps

Here's the routine that works on any line graph, in performance order, from a blank answer to a checked result.

1: Identify two points where the graphed line crosses intersections of gridlines. Label them P₁ = (x₁, y₁) and P₂ = (x₂, y₂) with the leftmost point as P₁. 2: Confirm the axis scale by reading the numbers on the x and y axes — note whether each gridline step represents 1, 2, 5, 10, or another value. Write the scale down next to the graph. 3: Read the actual coordinate values of both points using that scale, not the raw square count. 4: Subtract vertically for the rise (y₂ − y₁) and horizontally for the run (x₂ − x₁), carrying signs through both subtractions. 5: Divide the rise by the run to get m, then simplify the fraction and set the sign. 6: Check with the graph: if the line goes up from left to right, m must be positive; if down, m must be negative; a flat line must give 0.

Failure handling: if the run comes out zero, stop — that's a vertical line, and undefined is the correct answer, not a number. If the points you picked don't lie exactly on the line, choose another pair and recount. And if the graph's axes are labeled in different units from each other (minutes on x, dollars on y, say), the slope's value carries those units too, like dollars per minute.

Negative, Zero, and Undefined Slopes Behave Differently

Slope signs follow a simple rule from left to right. A line rising as it moves right is positive. Falling is negative. Flat is zero. Straight up is undefined. Every graph question asking "describe the slope" reduces to one of these four.

Line direction Rise Run Slope Equation shape
Up from left to right positive positive positive number y = 3x + 1
Down from left to right negative positive negative number y = −2x + 4
Horizontal 0 any nonzero 0 y = 5
Vertical any nonzero 0 undefined x = −3

The undefined case is the one students most often mistake for zero. Zero slope means horizontal (a flat line at y = 5, for example). Undefined slope means vertical (x = −3). They are opposites in shape and in behavior, and mixing them up costs points on tests at every level from middle school through the SAT.

Negative slopes also hide a trap in subtraction. From (1, 5) to (4, −1), the rise is −1 − 5 = −6 and the run is 4 − 1 = 3, so m = −2. The line falls two units for each unit right. Swap the points without adjusting the order and the same arithmetic still gives −2 — because both subtractions flip together — but swapping only one produces +2.

Horizontal and vertical lines are also single-variable equations: y = 5 for the horizontal line and x = −3 for the vertical, where the slope never appears. The equation y = mx + b can't write a vertical line at all, since m would be undefined.

When the Axis Scale Changes, the Slope Changes Too

Axis scale is the most under-tested part of reading slope from a graph. A line that rises 2 squares for every 4 squares right looks like slope 0.5 on a grid where each square is one unit. On a grid where each vertical square is worth 5 and each horizontal square is worth 2, that same visual line has slope 10/8 = 1.25. The picture is identical; the answer triples in size.

The rule: the slope you read from the picture is only correct if the vertical and horizontal scales match. When both axes step by the same amount per gridline, counting squares and using the formula give the same answer. When they differ, only the formula gives the real slope.

Textbook graphs sometimes use compressed y-axes to fit tall data — a bar or line chart where the vertical axis runs 0 to 1,000 in five gridlines (200 per step) while the horizontal runs 0 to 10 in five (2 per step) is common in statistics and business charts. The visual tilt of the line then says nothing directly about slope. Read the axis labels first, always.

Graphing calculators and apps follow a related rule. Settings on the TI-84 Plus and its CE editions and on Desmos default to a standard window where a square in the viewing area isn't literally square on the screen. The grid can look visually square while the numeric step is 1 on x and 1 on y, which is fine; what matters is that you never trust the pixel distance over the axis labels.

A verification path for any graph whose scale you doubt: check the two written axis numbers on each axis (for example, y from 0 to 10 and x from 0 to 10), count the gridline intervals between them, and divide to get the value per square. That number, paired with your counted squares, replaces estimation.

Read the Slope Straight Off the Equation and the Y-Intercept

If the graph shows a line and you need the slope but the grid intersections are messy, the y-intercept plus one clean point is enough. The y-intercept reads as a coordinate (0, b). That gives you one point for free.

Slope as a ratio of coefficients is another shortcut on some graphs. When a line's equation is in standard form ax + by = c, the slope is −a/b. A graph built from the line 3x + 2y = 6 has slope −3/2, which you can confirm by finding any two points and subtracting.

The form y = mx + b is the fastest path when the equation is sitting on the page. In y = 4x − 7, m = 4 and b = −7, so the graph climbs 4 for every 1 right and crosses the y-axis at (0, −7). Reading the equation first and using the graph as a check is usually faster than the reverse.

Slope also stands in for rates in real contexts. If an x-axis measures hours and a y-axis measures miles, slope is miles per hour. If x is price per unit and y is total cost, slope means cost per unit. If the x-axis counts items and y counts currency, a slope of 2.5 means $2.50 per item. Graph slopes carry units, and a numerical answer without the units is sometimes marked incomplete.

Word problems often hide the slope this way rather than as "find the slope." A graph of a phone plan's monthly cost over gigabytes used, drawn from a flat fee plus a per-gigabyte charge, has a slope equal to the per-gigabyte rate. Getting that vocabulary right is the difference between a full-credit response and a number alone.

Worked Examples That Cover the Common Graph Types

Four lines drawn on the same coordinate plane cover nearly every version of the problem found in classroom materials, from a slope of 2 down to an undefined vertical. Cramming them into one graph also checks that the reader can't confuse the answer for one line with the answer for another — a surprisingly common error.

Worked example 1: a line passing through (0, 1) and (3, 7). Rise 6, run 3, m = 2. Positive, moderately steep.

Worked example 2: a line through (0, 4) and (6, −2). Rise −6, run 6, m = −1. Falls at a 45-degree angle on equal scales.

Worked example 3: a flat line at y = 3 across the grid. Rise 0, run 5, m = 0. Horizontal.

Worked example 4: a vertical line at x = 2. Run 0. Undefined.

Example Points used Rise Run Slope
1 (0, 1), (3, 7) 6 3 2
2 (0, 4), (6, −2) −6 6 −1
3 (2, 3), (7, 3) 0 5 0
4 (2, 1), (2, 6) 5 0 undefined

Here's a fifth case worth adding, because it's the one that breaks the grid-intersection habit: a line that passes through (0, 1), (1.5, 2.5), and (3, 4). Rise 3 over run 3 gives slope 1, and no point lands on an integer grid intersection after the intercept. Counting squares would force an ugly estimate; the coordinate subtraction stays exact because the coordinates are exact. Reading the graph with a straightedge and labeling the decimal values is the fix.

Graph Slope Errors That Cause Wrong Answers, Not Just Sloppy Work

Several mistakes recur so often they're worth a checklist, and each one produces a specific wrong answer rather than a vague one.

Reversed order in only one subtraction. Reading rise as y₁ − y₂ but run as x₂ − x₁ flips the sign. Both subtractions must use the same point order. Estimating fractional points as whole squares. A line through (0, 0) and (1.5, 3) read as (1, 3) gives slope 3 instead of 2. Off-by-one reads of half-grid points are the leading cause of slope mistakes in hand-drawn graphs. Ignoring a mismatched scale. A compressed vertical axis turns a slope of 0.4 into a picture of 4. Treating undefined as zero. A vertical line and a horizontal line share the same y-intercept name (b) in some course vocabulary, and students often transfer the answer across. Centering on the origin when the line doesn't cross near it. The y-intercept isn't always visible or clean. Any two clean points work. Reading the visual tilt on a skewed window. On a graphing calculator, a square window where the x and y steps differ shows a steep-looking line that has slope close to 1 in numeric terms.

For high-stakes corrections, the check is arithmetic. Plug two point pairs into the formula separately, and if they disagree, the points aren't on the line or one coordinate was misread. The same line always produces the same slope.

Slope in Higher Contexts: Lines, Graphs, and Itself

Linear equations use slope as a constant, but the same visual idea appears across higher levels of math, and knowing the boundary helps avoid over-application.

For a straight line, slope is constant everywhere. For a curve, the visual idea becomes the slope of the tangent line at a point, and calculus defines that as a derivative. A parabola's graph near the top has tangent slopes that vary point by point, so "find the slope from a graph" only has the clean two-point answer for lines.

Slope also appears in statistics as the slope of a regression line, where it represents predicted change in y per unit of x. A regression line drawn on a scatterplot can be read with the same rise-over-run method, though its slope is usually stated by software like R's lm() function or a spreadsheet's LINEST, and the lines rarely pass through clean grid intersections.

Slope is also the tangent of the line's angle of inclination. A line making a 45-degree angle with the x-axis has slope 1; a line at 30 degrees has slope (depending on direction) ±0.577, the tangent of 30. That connection shows up in trigonometry and coordinate geometry courses and confirms that 45 degrees and slope 1 aren't a coincidence.

Note the common confusion with the word "slope" in geography and earth science: there it describes a hillside's grade as a percentage, meaning rise over run times 100. A 100% grade in road or terrain terms means the same ratio as a slope of 1 in algebra, but written 100% instead of 1. The two fields share the underlying math and not the notation.

FAQ

What is the slope of a line that passes through (2, 5) and (6, 13)?

The slope is 2. The rise is 13 − 5 = 8, the run is 6 − 2 = 4, and 8 divided by 4 is 2. Because the line rises as it moves right, the slope is positive, and any other pair of points on the same line will return the same value.

Why does my answer differ from what the graph looks like on my calculator?

The viewing window is probably unequal on the two axes. Use the Window menu (on the TI-84 Plus family) or Definite Zoom in Desmos to make x and y steps equal, then the visual tilt and the numeric slope will match. The numeric slope from two points remains correct either way.

Is a slope of 0 the same as undefined slope?

No. A slope of 0 belongs to a horizontal line such as y = 4, while undefined slope belongs to a vertical line such as x = 4. Horizontal lines run sideways with no rise; vertical lines rise with no run, and division by that zero run is what makes the slope undefined.

How many points do I need to find the slope from a graph?

Exactly two distinct points. That's the minimum that determines a line's rise and run, and any two points on a straight line produce the same slope. If the graph gives more than two, pick the two farthest apart that land on clean grid intersections for the most accurate count.

Does the order I pick the points in change the slope I get?

It doesn't, as long as you subtract in the same order for both coordinates. Starting at (3, 7) and ending at (0, 1) gives rise −6 and run −3, which still divides to 2. Reversing only one of the two subtractions produces −2 instead, and that's the only way order can break the answer.

What slope does a line with equation 2x + 5y = 10 have?

The slope is −2/5. Using the standard-form rule −a/b with a = 2 and b = 5 gives −0.4, which matches the point-based answer: the intercepts are (5, 0) and (0, 2), giving a rise of −2 over a run of 5.

Is slope ever expressed as a percentage?

In road grades and terrain, yes — a 100% grade equals a slope of 1, since the percentage is rise over run times 100. In algebra classes, slope is normally a number or a fraction, with percentages reserved for contexts explicitly labeled as grade or steepness.

What happens to slope when the y-intercept moves?

Nothing. Changing the y-intercept shifts the entire line up or down parallel to its original position, and the slope stays the same. Only a change in the line's steepness or direction of travel alters the slope, which is why b and m in y = mx + b are independent.