Free Midpoint Calculator (2D & 3D)

Free midpoint calculator: find the midpoint and exact distance between two points in 2D or 3D, or the missing endpoint from a midpoint, with steps and a graph.

  • No upload, 100% private
  • Instant, in your browser
  • 100% free, no signup
Loading tool…
Read the complete guideMidpoint and Distance Formulas Explained, in 2D and 3D →

About the Midpoint Calculator tool

The midpoint of a line segment is the point exactly halfway between its two ends. Its coordinates are simply the averages of the endpoints’ coordinates: M = ((x₁ + x₂)/2, (y₁ + y₂)/2). Along with the distance formula, which comes straight from Pythagoras, it is one of the basic tools of coordinate geometry, used for bisecting segments, finding centres of circles and checking properties of shapes.

This calculator gives the midpoint and the exact distance between two points in two or three dimensions. Coordinates can be integers, decimals or fractions, and the answers stay exact: the midpoint of (1/2, 1/3) and (2, −1) is (5/4, −1/3), and the distance is written as a simplified surd such as 2√5 as well as a decimal. In 2D the points, segment and midpoint are plotted on a grid.

The second mode works backwards. If you know one endpoint and the midpoint, the missing endpoint is 2M − A, so the calculator returns it with the working and a check that its midpoint really is the one you entered — a common textbook question that is easy to get backwards.

How to use Midpoint Calculator

  1. Choose “Midpoint & distance” or “Find endpoint”, and 2D or 3D.
  2. Enter the coordinates of Point 1 and Point 2 (or the known endpoint A and the midpoint M).
  3. Read the midpoint or missing endpoint in the result card.
  4. Check the distance between the points and the decimal forms.
  5. Click “Show steps” to see the averages and the distance formula worked out.

Features

2D and 3D

Midpoint and distance for points in the plane or in space.

Exact fractions and surds

Midpoints stay as fractions and distances are simplified, like 2√10.

Find a missing endpoint

Reverse the midpoint formula from one endpoint and the midpoint.

Graph in 2D

Shows both points, the segment and the midpoint.

Worked steps

Each coordinate average and the distance calculation are shown.

When to use it

  • Find the centre of a circle from the ends of a diameter.
  • Locate the halfway point between two map grid references.
  • Solve coordinate-geometry homework on midpoints and distances.
  • Find the other end of a segment given its midpoint in a proof question.
  • Measure the straight-line distance between two points in a 3D model.

Frequently asked questions

What is the midpoint formula?

M = ((x₁ + x₂)/2, (y₁ + y₂)/2). In 3D add (z₁ + z₂)/2. It is simply the average of each coordinate.

What is the distance formula?

d = √((x₂ − x₁)² + (y₂ − y₁)²), plus (z₂ − z₁)² in 3D. It is the Pythagorean theorem applied to the horizontal and vertical differences.

How do I find an endpoint from the midpoint?

Double the midpoint and subtract the known endpoint: B = 2M − A. If A = (1, 2) and M = (3, 4), then B = (5, 6).

Does the order of the points matter?

No. Swapping the points gives the same midpoint and the same distance.

Related tools