gives the midpoint of the line segment connecting the points p1 and p2.


gives the midpoint of a line.



open allclose all

Basic Examples  (1)

Find the midpoint of two points:

With explicit Point objects, the output is also a Point object:

Scope  (5)

Midpoint works in 2D:

Midpoint works in 3D:

Midpoint works in nD:

Midpoint works on Point:

Midpoint works on symbolic coordinates:

Properties & Relations  (4)

The midpoint is equidistant from the two points:

For coordinates, Midpoint gives the same result as Mean:

The PerpendicularBisector passes through the Midpoint:

TriangleCenter[{a,b,c},"Midpoint"] is equivalent to Midpoint[{a,c}]:

Possible Issues  (2)

Midpoint behaves differently on symbolic points than Mean:

Midpoint behaves differently on Point objects than Mean:

Introduced in 2019