Calculate Midpoint of a Line

Online calculation of the midpoint between two points in the coordinate system

Midpoint Calculator

Midpoint of a Line Segment

The midpoint M of a line segment between two points A(x₁,y₁) and B(x₂,y₂) is the arithmetic mean of the coordinates.

X-coordinate of point A
Y-coordinate of point A
X-coordinate of point B
Y-coordinate of point B
Result
Midpoint M - X:
Midpoint M - Y:

Visualization

Midpoint of a line

The graphic shows the midpoint M as the exact center between points A and B.
The midpoint divides the line segment into two equal-length sections.

What is the Midpoint of a Line Segment?

The midpoint of a line segment is the point that lies exactly in the middle between two given points:

  • Symmetry: Equal distance to both endpoints
  • Bisection: Divides the segment into two equal parts
  • Arithmetic mean: Average of the coordinates
  • Uniqueness: Each segment has exactly one midpoint
  • Commutativity: Order of points doesn't matter
  • Linearity: Simple mathematical calculation

The Arithmetic Mean in Geometry

The midpoint calculation is based on the arithmetic mean of the coordinates:

X-Coordinate
\[x_M = \frac{x_1 + x_2}{2}\]

Average of the X-values

Y-Coordinate
\[y_M = \frac{y_1 + y_2}{2}\]

Average of the Y-values

Symmetry and Geometric Properties

The midpoint has important symmetry properties:

Equal Distances
\[|AM| = |MB| = \frac{|AB|}{2}\]

Midpoint divides segment symmetrically

Vector Representation
\[\vec{OM} = \frac{\vec{OA} + \vec{OB}}{2}\]

Midpoint as vector average

Formulas for the Midpoint

Main Formula - Midpoint Between Two Points
\[M\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)\]

Coordinates of the midpoint as arithmetic mean

X-Coordinate of Midpoint
\[x_M = \frac{x_1 + x_2}{2}\]

Average of the X-coordinates

Y-Coordinate of Midpoint
\[y_M = \frac{y_1 + y_2}{2}\]

Average of the Y-coordinates

Distance from Midpoint
\[d_{AM} = d_{MB} = \frac{d_{AB}}{2}\]

Equal distance to both endpoints

Vector Form
\[\vec{r}_M = \frac{\vec{r}_A + \vec{r}_B}{2}\]

Midpoint as vector average

Example

Example Calculation
A(0,0) B(4,6)
Calculate X-Coordinate
\[x_M = \frac{0 + 4}{2} = \frac{4}{2} = 2\]

X-coordinate of the midpoint is 2

Calculate Y-Coordinate
\[y_M = \frac{0 + 6}{2} = \frac{6}{2} = 3\]

Y-coordinate of the midpoint is 3

Result
M(2, 3)

The midpoint is located at coordinates (2, 3)

Applications

Computer graphics, cartography, architecture, mechanical engineering, navigation.

Understanding the Midpoint of a Line Segment

The midpoint of a line segment is a fundamental concept in geometry and refers to the point that lies exactly in the middle between two given points. It divides the segment into two equal-length sections and has important symmetry properties.

Mathematical Definition

The midpoint M of a line segment between points A(x₁,y₁) and B(x₂,y₂) is defined as:

\[M\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)\]

This formula results from the arithmetic mean of the corresponding coordinates.

Geometric Properties

Symmetry

The midpoint lies exactly in the middle between both endpoints. The distances |AM| and |MB| are equal.

Uniqueness

Each line segment has exactly one midpoint. This is uniquely determined.

Commutativity

The order of points doesn't matter. M(A,B) = M(B,A).

Linearity

The calculation is linear in the coordinates and easy to perform.

Practical Applications

Midpoint calculation is found in many practical areas:

  • Computer graphics: Interpolation between points, Bezier curves
  • Cartography: Center determination, distance measurements
  • Architecture: Symmetry points, construction drawings
  • Mechanical engineering: Center of gravity calculations, tolerance determination
  • Navigation: Waypoints, route optimization
  • Surveying: Boundary points, area calculations

Extended Concepts

Center of Mass

For equally weighted points, the midpoint corresponds to the center of mass of the system.

Vector Representation

The midpoint can be represented as a vector average: (A⃗ + B⃗)/2.

3D Extension

The concept can be directly extended to three dimensions: M(x,y,z).

Weighted Midpoint

With weights, differently important points can be considered.

Historical Context

Midpoint calculation belongs to the oldest geometric concepts and was already known to the ancient Greeks. It forms the basis for many advanced geometric constructions and mathematical procedures.

Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?


More graphics functions

Angle of two lines  •  Angle of two vectors  •  Center of a straight line  •  Distance of two points  •  Distance of a point and a line  •  Rise over Run  •  Slope of a line  •  Straight line equation  •  Circular arc  •  Helix  •  Koch snowflake  •