Skip to main content
ToolsHub

Midpoint Calculator

Enter the coordinates of two points to get the midpoint and the distance between them.

Updated

Files never leave your browser
Point 1 (x₁, y₁)
Point 2 (x₂, y₂)

Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2).

Midpoint appears here

Enter the coordinates of two points to find the midpoint and the distance between them.

How to use Midpoint Calculator

The midpoint calculator finds the point exactly halfway between two points on a coordinate plane, and also reports the straight-line distance between them. Enter the x and y coordinates of both points and it applies the midpoint formula — the average of the two x-values and the average of the two y-values — to give the centre point, then uses the distance formula for the separation. It accepts negatives and decimals, so points in any quadrant work. Everything is computed in your browser with nothing uploaded.

  1. Enter the coordinates of the first point.
  2. Enter the coordinates of the second point.
  3. Read the midpoint coordinates.
  4. Check the distance between the points.

Your data never leaves your device — 100% private processing.

How the midpoint formula works

The midpoint formula is really just an average applied in two directions at once. The x-coordinate of the midpoint is the average of the two x-values, and the y-coordinate is the average of the two y-values, because the halfway point sits equally far from each end along both axes. Geometrically, the midpoint divides the line segment joining the two points into two equal halves and lies exactly on that segment. This makes it useful whenever you need a centre: bisecting a line in a construction, finding the middle of a bounding box, or averaging two positions. Because it is a simple average, swapping the order of the two points gives the same midpoint.

Midpoint examples
Point 1Point 2Midpoint
(0, 0)(4, 6)(2, 3)
(−2, −4)(2, 4)(0, 0)
(1, 1)(2, 4)(1.5, 2.5)

Midpoint and distance together

The midpoint tells you where the centre of a segment is; the distance tells you how long the segment is. Together they fully describe the relationship between two points along a straight line. The distance uses the Pythagorean theorem: the horizontal gap and the vertical gap form the two legs of a right triangle, and the straight-line distance is the hypotenuse. This is why a point at (0, 0) and one at (3, 4) are exactly 5 units apart — the classic 3-4-5 triangle. Reporting both values at once saves switching between tools when you are working through coordinate geometry, plotting, or any task where you need both the centre and the span of a segment.

Worked examples

Basic

Inputs: (0,0) and (4,6)

Result: Midpoint (2, 3)

3-4-5

Inputs: (0,0) and (3,4)

Result: Distance 5

Negatives

Inputs: (−2,−4) and (2,4)

Result: Midpoint (0, 0)

Glossary

Midpoint
The point exactly halfway between two given points.
Coordinate
A pair of numbers (x, y) locating a point on a plane.
Distance formula
√((x₂ − x₁)² + (y₂ − y₁)²), the straight-line distance between two points.
Line segment
The straight path connecting two points, which the midpoint bisects.

Related reading

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Related Calculators

Explore all Calculators.