331+ free tools. No sign-up. No hidden fees. Explore the toolkit

Midpoint Calculator

The midpoint is the point exactly halfway between two points — average the x-coordinates, average the y-coordinates, and you are there. This calculator finds the midpoint in 2D or 3D and shows the distance between the points too.

Find the exact midpoint between two points in 2D or 3D, and the distance between them — useful for geometry homework, plotting maps, splitting a line segment and checking coordinates.

Result

Save to Pinterest
Note: Midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2) in 2D, adding (z₁ + z₂)/2 in 3D. Distance = √((x₂ − x₁)² + (y₂ − y₁)²) in 2D, with a (z₂ − z₁)² term in 3D. Results are shown to 4 decimal places.

How It Works

The midpoint of a line segment is the point on the segment exactly halfway between its two ends. Because the halfway point of each coordinate is just the average of the two values, the midpoint formula averages each coordinate separately: in 2D, ((x₁ + x₂)/2, (y₁ + y₂)/2); in 3D, add the z-average (z₁ + z₂)/2. The midpoint is the same distance from both points, and it splits the segment into two equal halves. The steepness of the same segment is its slope.

The distance shown alongside comes from Pythagoras. In 2D, the straight-line distance between (x₁, y₁) and (x₂, y₂) is the hypotenuse of a right triangle with sides (x₂ − x₁) and (y₂ − y₁): distance = √((x₂ − x₁)² + (y₂ − y₁)²). In 3D, the same idea extends with a third term: distance = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²). If the two points are identical, the midpoint is that point itself and the distance is 0.

Worked Examples

2D: the midpoint of (2, 3) and (8, 7) is ((2 + 8)/2, (3 + 7)/2) = (5, 5). The distance is √(6² + 4²) = √52 ≈ 7.2111.

3D: the midpoint of (1, 2, 3) and (5, 6, 7) is ((1 + 5)/2, (2 + 6)/2, (3 + 7)/2) = (3, 4, 5). The distance is √(4² + 4² + 4²) = √48 ≈ 6.9282.

Assumptions

Last reviewed: 15 November 2026.

Built and tested by SumKitTool — see how we check our numbers.

How to Use This Calculator

Choose 2D or 3D, enter the two points, and the midpoint and distance update live as you type.

  1. Choose 2D or 3D — 3D adds a z-coordinate for each point.
  2. Enter both points — x and y (and z) for point 1 and point 2.
  3. Read the midpoint in the headline, with each coordinate and the distance in the table.

The Reset button restores the worked example ((2, 3) and (8, 7): midpoint (5, 5), distance 7.2111).

Tips and Practical Advice

Frequently Asked Questions

How do you find the midpoint between two points?

Average each coordinate separately: midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2). For (2, 3) and (8, 7) that is ((2 + 8)/2, (3 + 7)/2) = (5, 5). In 3D, average the z-coordinates the same way.

What is the midpoint formula in 3D?

Add the z-coordinate average: ((x₁ + x₂)/2, (y₁ + y₂)/2, (z₁ + z₂)/2). For (1, 2, 3) and (5, 6, 7) the midpoint is (3, 4, 5).

What is the distance between (2, 3) and (8, 7)?

About 7.2111. Distance = √((8 − 2)² + (7 − 3)²) = √(36 + 16) = √52 ≈ 7.2111. This calculator shows the distance alongside every midpoint.

What if the two points are the same?

Then the midpoint is that point itself, and the distance is 0. For example, the midpoint of (4, 4) and (4, 4) is (4, 4) with a distance of 0.

Last updated: