Home · Math · Plane Geometry · Midpoint Calculator

Midpoint Calculator

Midpoint of the segment between two points - the component-wise average - with the segment's length.

Your figures

Example result — edit the figures to make it yours

3

Midpoint x

Midpoint y5.00
Segment length7.21

midpoint (3, 5) (1, 2) (5, 8) Points (1, 2) and (5, 8)
The shape for your figures, drawn and labelled from the same values the result is computed from — change a figure and the drawing follows.

What this calculator does

Midpoint of the segment between two points - the component-wise average - with the segment's length. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Midpoint = ((x1 + x2)/2, (y1 + y2)/2)

The midpoint averages the endpoints coordinate by coordinate. It lies exactly halfway along the segment, so the segment length shown is twice the distance from either endpoint to the midpoint.

Coordinates may be negative. Both axes must use the same unit for the length to be meaningful.

Worked example

With the example inputs this page opens with (x1 1, y1 2, x2 5, y2 8), the result is 3.00 — midpoint x. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying x1
x1Midpoint x
0.52.75
0.82.90
13.00
1.253.13
1.53.25
23.50

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Midpoint Calculator work?

Midpoint of the segment between two points - the component-wise average - with the segment's length. Point 1 - Point 2 -> Midpoint x. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Midpoint Calculator need?

Point 1 - Point 2 -> Midpoint x. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Midpoint Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.