gizmobench

Midpoint Calculator

Enter two points and this midpoint calculator finds the point exactly halfway between them. It averages the x-coordinates and y-coordinates separately, writes out the substitution, and also gives the straight-line distance so you can check the geometry: the midpoint of (2, 3) and (8, 11) is (5, 7), ten units apart. Negative coordinates, decimals, commas and scientific notation are accepted. Everything runs in your browser and the last values stay only in this browser.

Endpoint A
Endpoint B

Use integers, decimals or fractions such as −4, 0.25 or 1/3. Type a standard minus sign (-) for negatives. Up to 100 digits per coordinate.

Midpoint M · exact(0, 2)

Decimal preview: (0, 2)

  1. x = (-4 + 4) / 2 = 0
  2. y = (-2 + 6) / 2 = 2

Segment projection · Schematic; axes scaled independently
xyAMB

A (-4, -2) · M (0, 2) · B (4, 6). Coincident or very close coordinates may overlap in this projection; the exact values above remain authoritative.

Batch worksheet

Up to 200 segments. One row per segment, with an ID followed by 4 coordinates separated by commas or tabs. Uses the mode and dimensions selected above. IDs stay attached to results and errors.

2 segments · 2 calculated
IDExact resultWorking / error
segment-1(0, 2)x = (-4 + 4) / 2 = 0; y = (-2 + 6) / 2 = 2
segment-2(1/2, 1/2)x = (1/3 + 2/3) / 2 = 1/2; y = (2/5 + 3/5) / 2 = 1/2

Coordinates use exact rational arithmetic. Decimal previews are rounded to 12 places; the diagram is schematic and uses the selected axes. These are Cartesian coordinates, not geographic distances. Coordinates are processed on this device and are not saved automatically.

Common questions

How do you find the midpoint between two points?
Add the two x-coordinates and divide by 2, then add the two y-coordinates and divide by 2. For (2, 3) and (8, 11), that is ((2 + 8) / 2, (3 + 11) / 2) = (5, 7).
Can one or both coordinates be negative?
Yes. A negative coordinate is averaged with the other coordinate normally, so the midpoint of (-4, 6) and (2, -2) is (-1, 2). The working keeps the signs visible.
What is the relationship between a midpoint and distance?
The midpoint is the center of the segment. The distance is the segment's length, calculated with the distance formula; the page shows both so you can verify the construction.
Does the order of the two points matter?
No. Swapping the first and second points gives the same midpoint and the same distance.

Coordinates use exact rational arithmetic. Decimal previews are rounded to 12 places; the diagram is schematic and uses the selected axes. These are Cartesian coordinates, not geographic distances.