Copied

Midpoint Calculator

Calculate the midpoint between two points in 2D or 3D. Free, instant results, works with your local number format (commas or periods). Paste, compute, copy.

Number format

Choose how numeric results are displayed. The selected decimal separator (dot or comma) will also be used when parsing input numbers.

0.00
0.00
Click on any result to copy

How to calculate midpoint?

To calculate the midpoint of a line segment in a two-dimensional coordinate system, you need to use the coordinates of the two endpoints of the line segment.

The formula for finding the midpoint of a line segment with endpoints (x1, y1) and (x2, y2) is:

((x1 + x2) / 2, (y1 + y2) / 2)

To apply this formula, follow these steps:

  1. Identify the coordinates of the two endpoints of the line segment.
  2. Add the x-coordinates of the two endpoints and divide the result by 2 to find the x-coordinate of the midpoint.
  3. Add the y-coordinates of the two endpoints and divide the result by 2 to find the y-coordinate of the midpoint.
  4. Combine the x-coordinate and y-coordinate of the midpoint to obtain the midpoint as an ordered pair.

For example, let's say you have a line segment with endpoints (3, 5) and (9, 11). To find the midpoint, follow these steps:

  1. Coordinates of the endpoints are (3, 5) and (9, 11).
  2. (3 + 9) / 2 = 6
  3. So the x-coordinate of the midpoint is 6.
  4. (5 + 11) / 2 = 8
  5. So the y-coordinate of the midpoint is 8.
  6. Therefore, the midpoint of the line segment is (6, 8).