Formula
2D: M = ( (x₁ + x₂) / 2 , (y₁ + y₂) / 2 )
3D: M = ( (x₁ + x₂) / 2 , (y₁ + y₂) / 2 , (z₁ + z₂) / 2 )
Find the midpoint of a line segment between two points — the formula is simply the average of each coordinate.
2D: M = ( (x₁ + x₂) / 2 , (y₁ + y₂) / 2 )
3D: M = ( (x₁ + x₂) / 2 , (y₁ + y₂) / 2 , (z₁ + z₂) / 2 )