Free original lessons

Plot Two Points, Draw the Line, and Compute Slope

Learn to plot ordered pairs on a grid, connect them with a straight line, and calculate slope using rise over run with clear steps and practice.

Free lesson
Four exercises
Worked answers

Algebra and Function Practice

This lesson teaches a reliable procedure for graphing a line from two ordered pairs and finding its slope. You will plot each point, draw the line through them, mark the vertical change (rise) and horizontal change (run), and compute slope as rise divided by run. The method works for any two distinct points, including points with negative coordinates. A consistent convention is used throughout: subtract coordinates in the same point order in both numerator and denominator, and use one uniform grid scale per graph. All numerical examples are hypothetical and chosen for easy arithmetic; measure your own grid and tools when applying the method.

Practice materials: Printable downloads are not available for this lesson yet. Use the instructions and four exercises below.

Plotting Ordered Pairs on a Grid

An ordered pair (x, y) gives a horizontal position x and a vertical position y. Start at the origin (0,0). Move along the x-axis by the first number: right for positive, left for negative. Then move parallel to the y-axis by the second number: up for positive, down for negative. Mark the point where these two moves meet.

Use a sharp pencil and a straightedge. Label each point with its coordinates so you can check your work. If a coordinate is zero, the point lies on an axis: (0, y) is on the y-axis, and (x, 0) is on the x-axis.

  1. Draw and label the x-axis and y-axis; mark the origin.
  2. For the first ordered pair, move horizontally from the origin by the x-value.
  3. From that position, move vertically by the y-value and mark the point.
  4. Label the point with its ordered pair.
  5. Repeat for the second ordered pair.

Drawing the Line and Marking Rise and Run

Place a straightedge so it passes through both plotted points. Draw a straight line through them and extend it a little beyond each point. The line represents all points that satisfy the same linear relationship.

To prepare for slope, choose one point as the start and the other as the end. Draw a vertical segment from the start point to the horizontal level of the end point; this is the rise. Draw a horizontal segment from that level to the end point; this is the run. Label the rise and run with their signed values or with arrows showing direction.

  1. Align a straightedge through both points and draw the line.
  2. Mark the start point and the end point on the line.
  3. Draw a vertical segment for the rise from the start point to the end point's horizontal level.
  4. Draw a horizontal segment for the run from the end of the rise to the end point.
  5. Label the rise and run, noting whether each is positive (up or right) or negative (down or left).

Computing Slope as Rise over Run

Slope measures steepness and direction. Using two points (x1, y1) and (x2, y2), slope m = (y2 - y1) / (x2 - x1). The numerator is the vertical change (rise), and the denominator is the horizontal change (run). Keep the order of subtraction consistent: if you subtract the first point's coordinates from the second, do the same for both x and y.

A positive slope rises from left to right; a negative slope falls from left to right. A slope of zero is horizontal, and an undefined slope occurs when the run is zero (a vertical line). Simplify the fraction when possible, and check that the sign matches the direction you marked on the grid.

  1. Identify (x1, y1) and (x2, y2) from the two plotted points.
  2. Compute the rise: y2 - y1.
  3. Compute the run: x2 - x1.
  4. Divide rise by run to get slope m.
  5. Simplify the fraction and compare its sign with the drawn line.

Worked example

Plot the points (1, 2) and (4, 8), draw the line through them, mark rise and run, and compute the slope.

Worked answer

Plot (1, 2): move 1 right and 2 up from the origin. Plot (4, 8): move 4 right and 8 up. Draw a straight line through both points. From (1, 2) to (4, 8), the rise is 8 - 2 = 6 and the run is 4 - 1 = 3. Slope m = 6/3 = 2. The line rises from left to right, matching the positive slope.

Four practice exercises

Exercise 1

Plot (2, 3) and (5, 9), draw the line, mark rise and run, and compute the slope.

Show answer and check

Slope = 2.

Why: Rise = 9 - 3 = 6; run = 5 - 2 = 3; m = 6/3 = 2. The line rises from left to right.

Check: Recompute using the points in reverse order: (3-9)/(2-5) = (-6)/(-3) = 2. Confirm the drawn line rises from left to right.

Exercise 2

Plot (-1, 4) and (3, -4), draw the line, mark rise and run, and compute the slope.

Show answer and check

Slope = -2.

Why: Rise = -4 - 4 = -8; run = 3 - (-1) = 4; m = -8/4 = -2. The line falls from left to right.

Check: Reverse the order: (4-(-4))/(-1-3) = 8/(-4) = -2. Confirm the drawn line falls from left to right.

Exercise 3

Plot (0, 1) and (4, 1), draw the line, mark rise and run, and compute the slope.

Show answer and check

Slope = 0.

Why: Rise = 1 - 1 = 0; run = 4 - 0 = 4; m = 0/4 = 0. The line is horizontal.

Check: Any two points on a horizontal line have equal y-values, so the rise is zero. Confirm the drawn line is horizontal.

Exercise 4

Plot (3, -2) and (3, 5), draw the line, mark rise and run, and compute the slope.

Show answer and check

Slope is undefined.

Why: Rise = 5 - (-2) = 7; run = 3 - 3 = 0. Division by zero is undefined, so the line is vertical.

Check: Any two points on a vertical line have equal x-values, so the run is zero. Confirm the drawn line is vertical and that no numerical slope can be assigned.

Common mistakes

Self-check rubric

Questions and answers

Does the order of the two points change the slope?

No. Reversing both points reverses the sign of both rise and run, so the quotient stays the same. For example, (2-4)/(1-3) and (4-2)/(3-1) both equal 1.

What if the two points have the same x-coordinate?

The run is zero, so the slope is undefined and the line is vertical. You cannot divide by zero.

What if the two points have the same y-coordinate?

The rise is zero, so the slope is zero and the line is horizontal.

How do I check my slope after drawing?

Pick any two clear points on your drawn line and recompute rise over run. The result should match your earlier calculation.

Worksheet preview

Full printable sheet preview

Fit-to-screen preview. Download the PDF to print at actual size.