01 / 20

Coordinate
Distance

Find the distance between points along horizontal and vertical directions on the coordinate plane.

SHSAT Math

The Coordinate Plane

Every point is named by an ordered pair \( (x, y) \). The first number \( x \) tells how far left or right; the second number \( y \) tells how far up or down.

x y

\( (3, 2) \)

\( x = 3 \)

\( y = 2 \)

What Is Coordinate Distance?

The distance between two points is how far apart they are. When two points lie on the same horizontal line or the same vertical line, the distance is just the number of units between them.

Horizontal Distance
Same \( y \)-value. Count units left-to-right, or subtract the \( x \)-values.
Vertical Distance
Same \( x \)-value. Count units up-and-down, or subtract the \( y \)-values.

Why It Matters

Coordinate distance is a building block on the SHSAT. You will use it to find side lengths of rectangles and triangles, calculate perimeters, and set up the distance formula for diagonal segments.

Horizontal Distance Rule

For two points with the same \( y \)-value, \( (x_1, y) \) and \( (x_2, y) \):

\( (2, 4) \)

\( (8, 4) \)

6 units

\( |8 - 2| = 6 \)

Vertical Distance Rule

For two points with the same \( x \)-value, \( (x, y_1) \) and \( (x, y_2) \):

\( (5, 9) \)

\( (5, 1) \)

8 units

\( |9 - 1| = 8 \)

Horizontal vs. Vertical

The trick is knowing which coordinate stays the same. Match the equal coordinate, then subtract the other one.

Horizontal Vertical
Stays the same\( y \)-value\( x \)-value
You subtractthe \( x \)-valuesthe \( y \)-values
Formula\( |x_2 - x_1| \)\( |y_2 - y_1| \)
Directionleft ↔ rightup ↕ down

Why Absolute Value?

Distance is always positive — you can't walk a negative number of steps. The absolute value bars \( |\;\;| \) make sure the answer is never negative, no matter which point you subtract first.

How to Apply It

1
Check which coordinate matches. Same \( y \) means horizontal; same \( x \) means vertical.
2
Subtract the changing coordinate. Take the difference of the two non-matching values.
3
Take the absolute value. Drop any negative sign — distance is positive.
4
Check by counting. Count grid squares between the points to confirm.

Worked Example 1

Find the distance between \( A(-3, 2) \) and \( B(4, 2) \).

y

\( A(-3, 2) \)

\( B(4, 2) \)

7 units

Worked Example 2

Find the distance between \( P(2, -1) \) and \( Q(2, 6) \).

\( Q(2, 6) \)

\( P(2, -1) \)

7 units

Worked Example 3

A rectangle has corners at \( (1, 1) \), \( (7, 1) \), \( (7, 5) \), and \( (1, 5) \). What is its perimeter?

\( (1, 1) \)

\( (7, 1) \)

\( (7, 5) \)

\( (1, 5) \)

6 units 4 units

Common Mistakes

✕ Subtracting the wrong coordinate
For horizontal distance, subtract \( x \)-values — not \( y \)-values.
✕ Forgetting absolute value
A distance can never be negative. \( |2 - 8| = 6 \), not \( -6 \).
✕ Negative sign errors
\( 4 - (-3) = 7 \), not \( 1 \). Subtracting a negative adds.
✕ Mixing up the points
If both coordinates differ, the points are not on a straight grid line.

Quick Summary

Situation How to Tell Distance
Horizontalsame \( y \)\( |x_2 - x_1| \)
Verticalsame \( x \)\( |y_2 - y_1| \)
Both differdiagonaldistance formula

Check Your Understanding

Answer the next 5 questions. Each tests whether you can find horizontal or vertical distance on the coordinate plane.

Question 1 of 5

Find the distance between \( (2, 5) \) and \( (9, 5) \).

Question 2 of 5

Find the distance between \( (4, -2) \) and \( (4, 6) \).

Question 3 of 5

Find the distance between \( (-5, 3) \) and \( (3, 3) \).

Question 4 of 5

A line segment runs from \( (6, 10) \) to \( (6, -4) \). How long is it?

Question 5 of 5

A rectangle has corners at \( (2, 1) \), \( (10, 1) \), \( (10, 4) \), and \( (2, 4) \). What is its perimeter?