SME
Grade 8 Math · Problem type

Distance between two points

Use this for “Find the distance between (−9, −12) and (0, 0)” or “How long is the segment on the grid?”

Chart

−6−6−5−5−4−4−3−3−2−2−1−1112233445566xy8 across6 upd = 10 units(−4, −2)(4, 4)
From (−4, −2) to (4, 4): legs 8 across and 6 up.
d² = 8² + 6² = 64 + 36 = 100
d = √100 = 10 units
This is an example. Type your own values to start a new problem.
d
=
(
−
(
)
)
2
+
(
−
(
)
)
2

Formulas

d
=
√(
(
x₂
−
x₁
)
2
+
(
y₂
−
y₁
)
2
)
(distance
=
√((second
x
−
first
x)²
+
(second
y
−
first
y)²))
10 = √((4 − (−4))² + (4 − (−2))²)

Assumptions

•
The distance between two points is the hypotenuse of a right triangle.
•
Its legs go straight across and straight up, along the grid lines.
•
Count each leg on the grid, or subtract the coordinates.

Step-by-step

WE KNOW
x₁ = −4 (first x), y₁ = −2 (first y), x₂ = 4 (second x), y₂ = 4 (second y)
FIND
distance (d)
Step 1 · Find distance (d)
Use d = √((x₂ − x₁)² + (y₂ − y₁)²) (distance = √((second x − first x)² + (second y − first y)²))
The legs are the change in x and the change in y. Square, add, take the root.
d
=
√((4
−
(−4))²
+
(4
−
(−2))²)
Across: 4 − (−4) = 8
Up: 4 − (−2) = 6
d
=
√
8
2
+
6
2
=
√
64 + 36
d
=
√
100
d
=
10
Check
Put the numbers back in. Both sides should match.
10 = √((4 − (−4))² + (4 − (−2))²) ✓
Topic check
See what you know: 5 questions on this topic
New questions each time. Pass to mark it complete.

Refresh

Nothing to review first. This is a starting point.

Related lessons

© 2026 SME. All rights reserved.