Math & Algebra Calculators

Midpoint Calculator

Find the midpoint between two points in a number line or coordinate plane.

Midpoint Calculator — Online Calculator

Midpoint Calculator

Point A

Point B

Advertisement

The Midpoint Calculator finds the exact central point equidistant from two endpoints on a number line, in 2D Cartesian plane coordinates (x,y)(x, y), or in 3D Euclidean space (x,y,z)(x, y, z). Finding midpoints is fundamental to geometry, algebra, civil engineering, computer graphics, and navigation.

What is a Midpoint?

In geometry, a midpoint is the point on a line segment that divides it into two congruent segments of equal length. Because it lies exactly halfway between the two endpoints, its coordinates are the simple arithmetic mean (average) of the corresponding coordinates of the endpoints.

Midpoint Formulas

1. 1D Number Line Midpoint

To find the center point between two values aa and bb: M=a+b2M = \frac{a + b}{2}

2. 2D Coordinate Geometry Midpoint

For two endpoints A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2): M=(x1+x22,  y1+y22)M = \left( \frac{x_1 + x_2}{2}, \; \frac{y_1 + y_2}{2} \right)

3. 3D Space Coordinates Midpoint

For two endpoints in three-dimensional space A(x1,y1,z1)A(x_1, y_1, z_1) and B(x2,y2,z2)B(x_2, y_2, z_2): M=(x1+x22,  y1+y22,  z1+z22)M = \left( \frac{x_1 + x_2}{2}, \; \frac{y_1 + y_2}{2}, \; \frac{z_1 + z_2}{2} \right)

4. Segment Length (Euclidean Distance)

The total distance dd between two points is given by the Pythagorean distance theorem: d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

Step-by-Step Worked Examples

Example 1: Finding 2D Midpoint Between Two Points

Find the midpoint between point A(2,−4)A(2, -4) and point B(8,6)B(8, 6):

  1. Calculate the X-Coordinate: xm=2+82=102=5x_m = \frac{2 + 8}{2} = \frac{10}{2} = 5
  2. Calculate the Y-Coordinate: ym=−4+62=22=1y_m = \frac{-4 + 6}{2} = \frac{2}{2} = 1
  3. Result: The midpoint MM is (5,1)(5, 1).

Example 2: Finding a Missing Endpoint Given the Midpoint

Suppose the midpoint MM of segment ABAB is (4,3)(4, 3), and endpoint AA is (1,1)(1, 1). Find endpoint B(x2,y2)B(x_2, y_2):

4=1+x22  ⟹  8=1+x2  ⟹  x2=74 = \frac{1 + x_2}{2} \implies 8 = 1 + x_2 \implies x_2 = 7 3=1+y22  ⟹  6=1+y2  ⟹  y2=53 = \frac{1 + y_2}{2} \implies 6 = 1 + y_2 \implies y_2 = 5

Endpoint BB is located at (7,5)(7, 5).

Frequently Asked Questions

Can a midpoint have negative coordinates?

Yes. If coordinates lie in quadrants II, III, or IV of the Cartesian coordinate system, the average can result in negative values or zero (e.g., the midpoint between (−4,2)(-4, 2) and (2,−6)(2, -6) is (−1,−2)(-1, -2)).

What is the difference between a midpoint and an average?

A midpoint is specifically the geometric center between two spatial locations or coordinates, whereas an average (mean) can apply to any set of two or more numbers. Geometrically, the midpoint is simply the coordinate-wise average of two endpoints.

Does the midpoint formula work for curved surfaces?

No. The standard midpoint formula assumes a flat Euclidean plane. For geographic coordinates (latitude and longitude) on Earth's spherical surface, navigation calculations require Great-Circle distance and spherical trigonometry.

Related Tools

Related Tools