Learn · Grade 6 Mathematics

Distance between points on a grid line

Find the distance between two points that share an x-coordinate or a y-coordinate by counting units or by using absolute value.

Lesson 2 of 3About 20 minutesMA.6.GR.1.2

Written with AI assistance. No teacher has reviewed these lessons and questions yet.

01 · Learn the idea

Points on the same grid line

Plot (2, 1) and (2, 5). Both points have an x-coordinate of 2, so both sit on the same up-and-down grid line. One is straight above the other.

The distance between them is the number of units from one to the other. Count the spaces going up from (2, 1): to 2, to 3, to 4, to 5. That is 4 spaces, so the points are 4 units apart.

Only the coordinate that is different matters. The y-coordinates are 1 and 5, and 5 − 1 = 4. The shared x-coordinate, 2, tells you which line the points are on. It is not part of the distance.

The same idea works sideways. If two points share a y-coordinate, they sit on the same left-and-right grid line, and you compare their x-coordinates.

This lesson is only about points that share a coordinate. For those, the path between them runs along a grid line.

(2, 1)(2, 5)
The points (2, 1) and (2, 5) are on the same vertical grid line, 4 units apart.

02 · Build understanding

Crossing an axis: use absolute value

Now take (−3, 4) and (5, 4). They share the y-coordinate 4, so they are on the same horizontal grid line. But one is left of the y-axis and the other is right of it.

Walk from one to the other. From (−3, 4) you go 3 units to reach the y-axis, because |−3| = 3. Then you go 5 more units to reach (5, 4), because |5| = 5. In all you walk 3 + 5 = 8 units.

So there are two cases. When the points are on opposite sides of an axis, add the two absolute values. When they are on the same side, subtract the smaller absolute value from the larger one.

One rule covers both cases: subtract the two coordinates that differ, then take the absolute value. For this pair, 5 − (−3) = 8. In the other order, −3 − 5 = −8, and |−8| = 8. A distance is never negative.

(−3, 4)(5, 4)
The points (−3, 4) and (5, 4) are on the same horizontal grid line, 8 units apart.

distance = |difference of the coordinates that differ|

03 · Build understanding

Worked example: opposite sides of the x-axis

Find the distance between (−4, −2.5) and (−4, 3.5).

Step 1: Find the coordinate the points share. Both have x = −4, so they are on the same vertical grid line. You will compare the y-coordinates.

Step 2: See which side of the x-axis each point is on. −2.5 is below the x-axis and 3.5 is above it. They are on opposite sides.

Step 3: Find how far each point is from the x-axis. |−2.5| = 2.5 and |3.5| = 3.5.

Step 4: Add, because the path crosses the axis. 2.5 + 3.5 = 6. The points are 6 units apart.

Step 5: Check with subtraction. 3.5 − (−2.5) = 3.5 + 2.5 = 6. Both ways agree.

(−4, −2.5)(−4, 3.5)
The points (−4, −2.5) and (−4, 3.5) are on the same vertical grid line, 6 units apart.

04 · Build understanding

Worked example: the same side of the y-axis

Find the distance between (−5, −2) and (−1.5, −2).

Step 1: Find the coordinate the points share. Both have y = −2, so they are on the same horizontal grid line. You will compare the x-coordinates.

Step 2: See which side of the y-axis each point is on. −5 and −1.5 are both negative, so both points are left of the y-axis. The path between them does not cross it.

Step 3: Find how far each point is from the y-axis. |−5| = 5 and |−1.5| = 1.5.

Step 4: Subtract, because the points are on the same side. 5 − 1.5 = 3.5. The points are 3.5 units apart.

Step 5: Check by counting. From −5 to −2 is 3 whole units, and from −2 to −1.5 is half a unit more. That is 3.5 units.

(−5, −2)(−1.5, −2)
The points (−5, −2) and (−1.5, −2) are on the same horizontal grid line, 3.5 units apart.

05 · Build understanding

Worked example: across a lake

A park ranger maps a lake on a coordinate plane. Each unit on the map is 100 meters. The dock is at (2, −1.5) and a buoy is at (2, 4). A rope runs straight from the dock to the buoy. How long is the rope?

Step 1: Find the shared coordinate. Both points have x = 2, so the rope runs along a vertical grid line.

Step 2: Compare the y-coordinates. −1.5 is below the x-axis and 4 is above it, so add the absolute values: 1.5 + 4 = 5.5 units.

Step 3: Change map units to meters. Each unit is 100 meters, so 5.5 × 100 = 550. The rope is 550 meters long.

Step 4: Check. From the dock up to the x-axis is 150 meters. From the x-axis up to the buoy is 400 meters. 150 + 400 = 550 meters.

dock (2, −1.5)buoy (2, 4)
The dock at (2, −1.5) and the buoy at (2, 4) are on the same vertical grid line, 5.5 units apart.

06 · Build understanding

Four mistakes to watch for

Subtracting when the points are on opposite sides of an axis. For (−2, 6) and (7, 6), taking 7 − 2 = 5 misses the stretch from −2 to 0. The path crosses the y-axis, so the distance is 2 + 7 = 9 units.

Leaving a negative answer. For (4, −5) and (4, 3), the subtraction −5 − 3 gives −8. A distance can’t be negative. Take the absolute value: the points are 8 units apart.

Using the shared coordinate. For (6, 1) and (6, 4), the 6 only tells you which line the points are on. The distance comes from the y-coordinates: 4 − 1 = 3 units.

Counting grid lines in place of spaces. From 1 to 4 on a number line you pass the marks 1, 2, 3 and 4. That is four marks but only three spaces, and distance counts the spaces.

Apply and explain

Your turn

Priya says the distance between (−6, 2) and (3, 2) is 3 units because 6 − 3 = 3. Explain what went wrong and find the correct distance. Use the y-axis in your explanation.

Use paper or explain your thinking aloud before opening the solution.

Check your reasoning

The two points share the y-coordinate 2, so they are on one horizontal grid line. The point (−6, 2) is 6 units left of the y-axis and (3, 2) is 3 units right of it. They are on opposite sides, so the path between them crosses the y-axis and the two distances are added: 6 + 3 = 9 units. Priya subtracted, which only works when both points are on the same side of the axis.

  • Says the points are on opposite sides of the y-axis.
  • Uses the distances 6 and 3 from the y-axis, or the subtraction 3 − (−6).
  • Gives the correct distance, 9 units.

Ready to practice?

Try the questions, get feedback, and review your reasoning.

Distance between points on a grid line: practice →