The distance and midpoint formulas are the foundational tools for working with line segments in a coordinate plane. They let you find the length between any two points and locate the exact center of a segment. Both formulas come up constantly in coordinate geometry proofs and problems, so getting comfortable with them now pays off throughout the rest of the course.
The distance formula is rooted in the Pythagorean theorem, and the midpoint formula is just an averaging technique applied to coordinates. You'll use them for everything from verifying that a quadrilateral is a rectangle to solving applied problems involving maps and scale.
Distance and Midpoint Formulas

Distance Formula for Line Segments
The distance formula calculates the length of a line segment between two points in a coordinate plane. It works by treating the segment as the hypotenuse of a right triangle, then applying the Pythagorean theorem ().
For points and , the distance is:
Here's why this works: the horizontal distance between the points is and the vertical distance is . Those form the two legs of a right triangle, and the segment you care about is the hypotenuse. Squaring the differences, adding them, and taking the square root gives you that hypotenuse length.
Steps to find the distance:
- Identify the coordinates of both endpoints.
- Subtract the -values to get the horizontal difference, and the -values to get the vertical difference.
- Square each difference, then add the two squares together.
- Take the square root of that sum.
Note that it doesn't matter which point you call and which you call . Squaring eliminates any negative signs, so the order won't change your answer.
Example: Find the distance between and .
This is a clean answer because 3-4-5 is a Pythagorean triple. Most problems won't simplify this neatly, so be ready to leave answers in simplified radical form or round to a specified decimal place.

Midpoint Formula for Coordinates
The midpoint formula finds the point that divides a line segment into two equal parts. It does this by averaging: you take the average of the two -coordinates and the average of the two -coordinates.
For endpoints and , the midpoint is:
Think of it this way: the midpoint's -coordinate is exactly halfway between the two -values, and the same goes for . That's all an average does here.
Steps to find the midpoint:
- Identify the coordinates of both endpoints.
- Add the two -coordinates and divide by 2.
- Add the two -coordinates and divide by 2.
- Write the result as an ordered pair .
Example: Find the midpoint of the segment with endpoints and .
- -coordinate:
- -coordinate:
- Midpoint:
A useful check: the midpoint's coordinates should each fall between the corresponding endpoint values. Here, 2 is between and 6, and 7 is between 5 and 9, so the answer makes sense.

Applications of Distance and Midpoint
Knowing which formula to use matters just as much as knowing how to use it. A good rule of thumb:
- Use the distance formula when a problem asks for a length, how far apart two things are, or whether two segments are congruent.
- Use the midpoint formula when a problem asks for a center point, a bisector location, or the point equidistant from two endpoints.
In honors geometry, you'll also combine these formulas. For instance, you might find a midpoint first, then use the distance formula to verify that it's equidistant from both endpoints.
Example with scale: Two cities are located at and on a map where 1 unit = 10 miles. Find the distance between them.
-
-
units
-
Apply the scale: miles
Always remember to convert your answer using the given scale. The raw number from the formula is in map units, not real-world units, until you multiply.