CALCORA CALCULATOR

Midpoint Calculator

Find the midpoint between two points.

Enter values and calculate.

How to use

Enter the required values and calculate. Check units and assumptions before applying the result.

Formula and notes

This tool uses a standard mathematical formula with basic input validation.

Related calculators

All Calculators · Percentage Calculator · Average Calculator

Midpoint formula

For points (x₁, y₁) and (x₂, y₂), the midpoint is M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2).

Worked example

For A(2, 4) and B(8, 10), the midpoint is ((2 + 8) ÷ 2, (4 + 10) ÷ 2) = (5, 7). Each coordinate is averaged independently.

Why the midpoint is useful

The midpoint identifies the point halfway between two coordinates. It is useful in coordinate geometry, line-segment construction and checking the centre of a pair of points.

Midpoint and line segments

The midpoint lies exactly halfway along the straight segment joining the two input points. If the endpoints are the same, the midpoint is that same coordinate. Negative coordinates are valid and are averaged using the same formula.

Unit consistency

Coordinates should use the same coordinate system and units. The midpoint inherits the coordinate units of the input points.

Coordinate example with negative values

For A(−4, 6) and B(8, −2), the midpoint is ((−4 + 8) ÷ 2, (6 − 2) ÷ 2) = (2, 2). The same averaging rule works across all four coordinate quadrants.

Checking the result

The midpoint should have each coordinate between the corresponding endpoint coordinates. This provides a simple visual or numerical sanity check.

Midpoint as a geometric check

The midpoint divides the segment into two equal lengths. After calculating it, you can verify that its horizontal and vertical differences from the two endpoints are equal.

Midpoint and distance are different results

The midpoint is the average of the two endpoints, while distance measures how far apart they are. For points A(2, 3) and B(8, 11), the midpoint is (5, 7). The segment length is √[(8 − 2)² + (11 − 3)²] = 10 units. A midpoint alone does not tell you the segment length, and a distance alone does not tell you where the segment lies on the coordinate plane.

Using the midpoint in geometry

Midpoints help locate the centre of a line segment, bisect a segment, or check the coordinates of a construction. For a horizontal segment, the y-coordinates are equal; for a vertical segment, the x-coordinates are equal. The averaging formula still works in both cases. This calculator assumes Cartesian coordinates on a flat plane; geographic latitude and longitude require care because the Earth is curved and longitude scale varies with latitude.

Midpoint formula for coordinates

The midpoint lies exactly halfway between two endpoints. For points A(x₁,y₁) and B(x₂,y₂), average the corresponding coordinates: M = ((x₁+x₂)/2, (y₁+y₂)/2). The formula works with positive, negative and decimal coordinates because each coordinate is averaged independently.

Worked example with negative coordinates

Let A = (−4, 2) and B = (6, 8). The midpoint x-coordinate is (−4 + 6) ÷ 2 = 1; the y-coordinate is (2 + 8) ÷ 2 = 5. Therefore, M = (1, 5). Check: the x-coordinate 1 is halfway between −4 and 6, and y = 5 is halfway between 2 and 8.

Midpoint formula in one dimension and 3D

On a number line, the midpoint of a and b is (a+b)/2. In three dimensions, average x, y and z separately: M = ((x₁+x₂)/2, (y₁+y₂)/2, (z₁+z₂)/2). Use the same coordinate system and units for both points. Geographic latitude and longitude are not ordinary flat Cartesian coordinates over large distances, so use a geospatial method when working with positions on Earth.

How to calculate and verify a midpoint

  1. Write both endpoints in the same coordinate system.
  2. Add the two x-coordinates and divide the sum by two.
  3. Repeat for the y-coordinates, and for z if working in three dimensions.
  4. Check that each midpoint coordinate lies halfway between the corresponding endpoint coordinates.

For A = (2.5, −3) and B = (7.5, 5), the midpoint is ((2.5+7.5)/2, (−3+5)/2) = (5, 1). A quick verification is that moving from x = 2.5 to x = 5 is the same coordinate difference as moving from x = 5 to x = 7.5; the same is true for y. The midpoint need not be an integer even when some inputs are integers.

Use matching units and coordinate conventions for both points. If one point is in metres and the other in centimetres, convert before averaging. The midpoint formula gives the centre of a straight line segment in ordinary Cartesian space; it does not automatically find the midpoint along a curved road, a flight path or the Earth’s surface. For map coordinates over large distances, use a suitable geographic calculation rather than averaging latitude and longitude as if they were flat x-y coordinates.

Midpoint calculator FAQs

Can the midpoint have a negative coordinate?

Yes. If the endpoints’ average is negative, the midpoint coordinate is negative.

Is midpoint the same as distance?

No. Midpoint gives the location halfway between endpoints; distance gives the length of the segment.

What if both endpoints are identical?

The midpoint is that same point because averaging equal coordinates returns the original coordinates.