If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

## Basic geometry and measurement

### Course: Basic geometry and measurement>Unit 13

Lesson 4: Pythagorean theorem and distance between points

# Distance formula review

Review the distance formula and how to apply it to solve problems.

## What is the distance formula?

The formula gives the distance between two points left parenthesis, start color #1fab54, x, start subscript, 1, end subscript, end color #1fab54, comma, start color #e07d10, y, start subscript, 1, end subscript, end color #e07d10, right parenthesis and left parenthesis, start color #1fab54, x, start subscript, 2, end subscript, end color #1fab54, comma, start color #e07d10, y, start subscript, 2, end subscript, end color #e07d10, right parenthesis on the coordinate plane:
square root of, left parenthesis, start color #1fab54, x, start subscript, 2, end subscript, minus, x, start subscript, 1, end subscript, end color #1fab54, right parenthesis, squared, plus, left parenthesis, start color #e07d10, y, start subscript, 2, end subscript, minus, y, start subscript, 1, end subscript, end color #e07d10, right parenthesis, squared, end square root
It is derived from the Pythagorean theorem.

## What problems can I solve with the distance formula?

Given two points on the plane, you can find their distance. For example, let's find the distance between left parenthesis, start color #1fab54, 1, end color #1fab54, comma, start color #e07d10, 2, end color #e07d10, right parenthesis and left parenthesis, start color #1fab54, 9, end color #1fab54, comma, start color #e07d10, 8, end color #e07d10, right parenthesis:
\begin{aligned} &\phantom{=}\sqrt{(\greenD{x_2 - x_1})^2 + (\goldD{y_2 - y_1})^2} \\\\ &=\sqrt{(\greenD{9 -1})^2 + (\goldD{8 - 2})^2}\quad\small\gray{\text{Plug in coordinates}} \\\\ &=\sqrt{8^2+6^2} \\\\ &=\sqrt{100} \\\\ &=10 \end{aligned}
Notice: we were careful to put the x-coordinates together and the y-coordinates together and not mix them up.