Midpoint Calculator

First point (x₁, y₁)
Second point (x₂, y₂)
Math Updated 31 Oct 2026

Finds the point exactly halfway between two points on a coordinate plane, using the midpoint formula ((x₁ + x₂)/2, (y₁ + y₂)/2). It also works in reverse: give one endpoint and the midpoint and it finds the other endpoint. The length of the segment, the distance from each end to the midpoint and the slope of the segment are shown too, so you can check geometry homework or split a line on a plan into two equal halves.

  • Points are on a flat Cartesian (x, y) plane. For places on a map, the midpoint of latitude and longitude is only approximate over long distances.

Formula

M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2); missing endpoint: (x₂, y₂) = (2x − x₁, 2y − y₁)
  • Each coordinate of the midpoint is the average of the matching coordinates of the two endpoints.
  • Rearranging the formula gives the other endpoint: double the midpoint and subtract the known endpoint.
  • The segment length uses the distance formula √((x₂ − x₁)² + (y₂ − y₁)²); the midpoint is half that distance from each end.
  • Results of 1 or more are rounded to 4 decimal places, smaller ones to 6 significant figures; results of 10¹⁵ or more, or below 10⁻⁶, use scientific notation.

Midpoint of (2, 3) and (8, 11)

Inputs
  • Find the: mid
  • x₁: 2
  • y₁: 3
  • x₂: 8
  • y₂: 11

x = (2 + 8) ÷ 2 = 5 and y = (3 + 11) ÷ 2 = 7, so the midpoint is (5, 7). The segment is √(6² + 8²) = 10 long, so the midpoint is 5 from each end.

Sources & references

  • Midpoint
    Wolfram MathWorld · Retrieved 31 Oct 2026

    The midpoint of the segment from (x₁, y₁) to (x₂, y₂) is ((x₁ + x₂)/2, (y₁ + y₂)/2).

Frequently asked questions

What is the midpoint formula?
M = ((x₁ + x₂)/2, (y₁ + y₂)/2). Average the x-coordinates and average the y-coordinates. The midpoint of (−4, 1) and (6, 5) is (1, 3).
How do I find an endpoint from the midpoint?
Double the midpoint and subtract the known endpoint. If one end is (1, 2) and the midpoint is (4, 6), the other end is (2 × 4 − 1, 2 × 6 − 2) = (7, 10).
Does the midpoint formula work with negative coordinates?
Yes. Add the coordinates with their signs: the midpoint of (−3, −5) and (7, 1) is (4 ÷ 2, −4 ÷ 2) = (2, −2).
How do I find the midpoint in 3D?
Average the z-coordinates as well: ((x₁ + x₂)/2, (y₁ + y₂)/2, (z₁ + z₂)/2).

Related calculators

Slope Calculator Finds the slope (gradient) of the straight line through two points, m = (y₂ − y₁) ÷ (x₂ − x₁), along with the equation of the line in slope-intercept form y = mx + b. You also get the y-intercept, the angle the line makes with the x-axis in degrees, the slope as a percentage grade, the rise and run between the points and the distance between them. Vertical and horizontal lines are handled correctly. Pythagorean Theorem Calculator Solves a right triangle with the Pythagorean theorem, a² + b² = c². Give any two of the two legs, the hypotenuse, the area and the perimeter, and it finds the missing sides, then adds the area, perimeter, both acute angles and the height dropped onto the hypotenuse. Lengths can be in metric or imperial units, from millimetres to nautical miles, and the area in anything from square millimetres to acres. Handy for checking that a corner is square, sizing a ladder or ramp, or finding a diagonal. Area Calculator Finds the area of 2D shapes: rectangle, square, triangle (from base and height, three sides, two sides and the angle between them, or two angles and the side between them), circle, semicircle, circular sector, ellipse, trapezoid, parallelogram (three ways), rhombus (three ways), kite (two ways), regular pentagon, hexagon and octagon, annulus (ring), any quadrilateral from its diagonals and any regular polygon. Pick the shape, enter its dimensions in any length unit (angles in degrees or radians), and you get the area in that unit squared, plus square metres and square feet, and the perimeter where the inputs fix it. Handy for working out the area of a room, a garden bed or a patio before buying flooring, mulch or bricks. Mean Calculator Calculates the three classical (Pythagorean) means of a data set: the arithmetic mean (the everyday average), the geometric mean (for growth rates and ratios) and the harmonic mean (for rates such as speeds and prices per unit). Choose one or show all three side by side, with the sum, product or reciprocal sum each one is built from.