Midpoint Calculator

Find the exact midpoint between two points with this free midpoint calculator. Calculate midpoints in two-dimensional (2D) or three-dimensional (3D) space, see the formula, and follow each calculation step.

Calculate the Midpoint

Select a coordinate system and enter the coordinates of your two endpoints.

Point A

Point B

Reset

Midpoint Formula

The midpoint is the point exactly halfway between two endpoints of a line segment. To calculate it, find the average of each pair of corresponding coordinates.

2D Midpoint Formula

For two points A(x₁, y₁) and B(x₂, y₂), the midpoint M is:

M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)

Add the two x-coordinates and divide by two. Then add the two y-coordinates and divide by two.

3D Midpoint Formula

For two points A(x₁, y₁, z₁) and B(x₂, y₂, z₂), the midpoint is:

M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2, (z₁ + z₂) / 2)

The same averaging principle applies in three dimensions, with the z-coordinate included as a third component.

How to Calculate a Midpoint

  1. Identify the coordinates of the first endpoint.
  2. Identify the coordinates of the second endpoint.
  3. Add the corresponding x-coordinates and divide by two.
  4. Add the corresponding y-coordinates and divide by two.
  5. For 3D points, also average the two z-coordinates.
  6. Combine the calculated coordinates to obtain the midpoint.

Midpoint Calculation Examples

Example 1: Positive Coordinates

Find the midpoint between A(2, 4) and B(8, 10).

x = (2 + 8) / 2 = 5
y = (4 + 10) / 2 = 7
M = (5, 7)

Example 2: Positive and Negative Coordinates

Find the midpoint between A(-4, 6) and B(8, -2).

x = (-4 + 8) / 2 = 2
y = (6 + -2) / 2 = 2
M = (2, 2)

Example 3: Three-Dimensional Points

Find the midpoint between A(2, 4, 6) and B(8, 10, 12).

x = (2 + 8) / 2 = 5
y = (4 + 10) / 2 = 7
z = (6 + 12) / 2 = 9
M = (5, 7, 9)

Frequently Asked Questions

1. What is the midpoint between two points?

The midpoint is the point exactly halfway between two endpoints of a line segment. It divides the segment into two equal lengths.

2. What is the midpoint formula in 2D?

For points (x₁, y₁) and (x₂, y₂), calculate the average of each coordinate: M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2).

3. Can the midpoint have negative coordinates?

Yes. If the average of two coordinates is negative, the corresponding midpoint coordinate will also be negative.

4. Can I calculate the midpoint in 3D?

Yes. Average the x, y, and z coordinates separately to find the midpoint between two points in three-dimensional space.

5. Is the midpoint equidistant from both endpoints?

Yes. The distance from the midpoint to the first endpoint is always equal to the distance from the midpoint to the second endpoint.

6. What is the difference between a midpoint and an average?

A midpoint is the coordinate-wise average of two points. It represents the exact center of the line segment connecting those points.

Related Calculators

Explore other geometry and measurement calculators: