Midpoint
Midpoint[{p1,p2}] gives the midpoint of the line segment connecting the points p1 and p2.
Midpoint[Line[{p1,p2}]] gives the midpoint of a line.
Examples
Midpoint[{{0, 0}, {2, 4}}]
(* {1, 2} *)Midpoint[Line[{{0, 0}, {10, 10}}]]
(* {5, 5} *)Please visit the official Wolfram Language Reference for more details.