Skip to content
Formula

Distance between two points in space

Analytical Geometry • Three Dimensions • Coordinates and Distance

Formula

The distance between and is .

How to use it

  1. 1Subtract the coordinates one pair at a time, square each difference, and add.
  2. 2When only is needed, stop before taking the square root.

Worked example

Find the distance between and .

Step-by-step

  1. 1

    Why: Subtract each coordinate of the first point from the second.

  2. 2

    Why: Square each difference and add.

  3. 3

Answer

Watch out

Square each difference before adding; adding the differences first gives a wrong value.

Also known as

distance formula in 3D, length of a segment in space

Appears in past papers

2026 (II)

2026 (I)

2025 (II)

2025 (I)

2024 (II)

2023 (I)

2022 (II)

2019 (I)

2018 (II)

2018 (I)

2017 (I)