My Tools Garage

Midpoint Calculator

Find the midpoint and distance between two points.

in-browser

How to use

  1. 1 Enter the x and y values for the first point.
  2. 2 Enter the x and y values for the second point.
  3. 3 Read the midpoint and distance shown below.
  4. 4 Copy the summary if you need it elsewhere.

About Midpoint Calculator

The Midpoint Calculator finds the exact centre point between two coordinates on a plane and, as a bonus, the straight-line distance separating them.

Given point one (x₁, y₁) and point two (x₂, y₂), it averages the x-values and the y-values to return the midpoint, then applies the distance formula to report how far apart the points are.

This is the workhorse calculation behind geometry homework, map and grid problems, computer-graphics layout, and any task where you need the centre of a segment.

Rather than juggling the formula (x₁ + x₂)/2, (y₁ + y₂)/2 by hand and risking a sign slip on negative coordinates, you type the four numbers and read the answer immediately.

The distance value uses Math.hypot for numerical stability, so very large or very small magnitudes stay accurate.

Everything runs locally in your browser, so no coordinates are sent anywhere and the tool keeps working offline.

Negative numbers, decimals and identical points are all handled, and a clear message appears if a field is left blank or contains something that is not a real number.

FAQ

What formula does the midpoint use?

The midpoint is ((x₁ + x₂) / 2, (y₁ + y₂) / 2) — the average of the two x-values and the average of the two y-values.

Does it also give the distance?

Yes. Alongside the midpoint it reports the straight-line distance between the two points using the Pythagorean distance formula.