Midpoint Calculator

Find the midpoint of a segment, or a missing endpoint.

Midpoint Calculator tool

Find
Dimensions
—
Result
—
Length of the whole segment
—
Distance from the midpoint to each end

About the Midpoint Calculator

The midpoint of a line segment is the average of its endpoints' coordinates, needed in geometry proofs, design layouts and splitting a route in half. This midpoint calculator finds it in two or three dimensions, so the midpoint of (2, 3) and (8, 7) is (5, 5), and it can also work backwards to find a missing endpoint when you know the other end and the midpoint.

The midpoint formula averages the coordinates: M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2), with a third average for z in 3D. To find a missing endpoint, reverse it: each coordinate of the missing end is twice the midpoint coordinate minus the known endpoint, x₂ = 2Mₓ − x₁. That works because the midpoint lies the same distance from both ends along each axis.

Example: the midpoint of (2, 3) and (8, 7) is ((2 + 8) ÷ 2, (3 + 7) ÷ 2) = (5, 5), and the segment is √(36 + 16) = √52 ≈ 7.2111 long. Going backwards, if one end is (2, 3) and the midpoint is (5, 5), the other end is (2 × 5 − 2, 2 × 5 − 3) = (8, 7). In 3D, the midpoint of (0, 0, 0) and (4, 6, 8) is (2, 3, 4).

Midpoints are used to bisect segments, to find the center of a circle from the ends of a diameter, and in computer graphics. For the length of the segment see the distance formula calculator, for its steepness the slope calculator, and for averages in general the average calculator.

How to use the Midpoint Calculator

  1. Choose what to findThe midpoint of two endpoints, or a missing endpoint.
  2. Choose 2D or 3DPick two or three coordinates per point.
  3. Enter the pointsType the endpoints, or one endpoint and the midpoint.
  4. Read the resultSee the point, the segment length and the working.

Midpoint Calculator features

  • Midpoint of a segment
  • Missing endpoint from a midpoint
  • 2D and 3D coordinates
  • Segment length included
  • Formula worked with your numbers
  • Decimals and negatives
  • Free and instant

Common uses

  • Coordinate geometry homework
  • Finding the center of a circle from a diameter
  • Bisecting lines in drawings and CAD
  • Halfway points on grid maps
  • Graphics and game development

Midpoints in practice: meeting halfway, centring, graphics and grouped data

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

The midpoint of a line segment is the point exactly halfway between its ends, found by averaging the coordinates. It is one of the simplest formulas in coordinate geometry, yet it turns up in design, construction, computer graphics, statistics and economics. This guide shows those uses, a worked example of meeting halfway, a warning about map coordinates and how repeated midpoints draw smooth curves.

Meeting halfway

Two friends at points (2, 8) and (10, 2) on a map grid want to meet halfway. The midpoint is ((2 + 10) ÷ 2, (8 + 2) ÷ 2) = (6, 5). Each friend is exactly 5 grid units from the meeting point, which you can check with the distance formula. On a real map, roads rarely run in straight lines, so the best meeting place is usually a café or station near the midpoint rather than the exact point.

Midpoints on a globe

For short distances, averaging latitudes and longitudes gives a good midpoint. Over long distances, the Earth's curvature matters: the true halfway point between two distant cities lies on the shortest route over the globe, the great circle, which can be far from the simple average of coordinates, especially at high latitudes. Online tools that calculate geographic midpoints use spherical formulas for this reason.

Centring things

Hanging a picture in the middle of a wall, placing a light in the centre of a ceiling or centring a logo on a page are all midpoint problems. For a wall 3.6 metres wide, the centre is 1.8 metres from either end. If the wall has a window off to one side, the midpoint of the remaining clear space, not of the whole wall, is often the better position, which is the same calculation applied to different endpoints.

Construction and set-out

Builders use midpoints to find centre lines of walls, foundations and roofs. The midpoint of a diagonal across a rectangular plot is also the centre of the plot, and both diagonals should cross at the same point if the rectangle is square. Checking that the two diagonals have the same midpoint and the same length is a quick test for a square layout.

Circles from three points

The centre of a circle passing through three points lies where the perpendicular bisectors of the chords meet. Each perpendicular bisector passes through a chord's midpoint at right angles to it. Engineers use this to find the centre of a curved wall or a broken round part from a few measured points along its edge.

Curves in computer graphics

Smooth curves in drawing programs and fonts are often Bézier curves, and one classic way to draw them, de Casteljau's algorithm, repeatedly takes midpoints of lines between control points. Each round of midpoints moves closer to the curve, and computers repeat the process until the curve looks smooth. The humble midpoint formula is therefore part of every letter you see on screen.

Grouped data in statistics

When data is grouped into ranges, such as ages 20 to 29 and 30 to 39, statisticians estimate the mean by using the midpoint of each range as a representative value. A group of 20 to 29 uses 24.5 as its midpoint. The estimate is approximate, because the real values within each group may not be evenly spread, but it works well for summarising large grouped tables.

The midpoint method in economics

Economists measure how much demand changes when prices change using elasticity, and the midpoint, or arc, method calculates percentage changes relative to the average of the starting and ending values. This makes the result the same whether the price rises or falls, avoiding the asymmetry of ordinary percentage changes.

Common mistakes

  • Subtracting the coordinates instead of adding them.
  • Averaging latitudes and longitudes over long distances.
  • Centring on a whole wall when only part of it is clear.
  • Forgetting to halve the sums.

Related tools

For distances, use Distance Formula Calculator. For slopes, try Slope Calculator, and for averages of lists, Average Calculator.

Halfway in time

Midpoints work for times as well as places. To find the time halfway between 2:30 pm and 5:10 pm, convert both to minutes after noon, 150 and 310, average them to get 230 minutes and convert back: 3:50 pm. The same method finds the midpoint of a shift for a break, the middle of a long journey for a rest stop or the halfway point of an exam for a time check.

Splitting a journey

On a long drive, the midpoint of the route is a natural place to plan a rest or fuel stop. Route planners measure the midpoint along the road rather than in a straight line, because roads curve and wind. If two drivers set off towards each other at the same time and the same speed, they meet at the road midpoint; if their speeds differ, they meet closer to the slower driver's start, which is a weighted point rather than the midpoint.

Limits

Results are exact for flat coordinate grids; geographic midpoints over long distances need spherical calculations.

Frequently asked questions

What is the midpoint formula?

M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). Add the x-coordinates and halve them, then do the same for the y-coordinates. In 3D, do the same for z.

How do I find a missing endpoint?

Double the midpoint and subtract the known endpoint, one coordinate at a time: x₂ = 2Mₓ − x₁ and y₂ = 2Mᵧ − y₁. With endpoint (2, 3) and midpoint (5, 5), the other end is (8, 7).

Is the midpoint the same as the average?

Yes. Each coordinate of the midpoint is the average of the endpoints' coordinates, which is why the formula divides each sum by 2. The same averaging idea finds the centroid of a triangle, using three points instead of two.

How do I find the center of a circle from a diameter?

The center is the midpoint of the diameter's two endpoints. For a diameter from (−3, 1) to (5, 7), the center is (1, 4). The radius is then the distance from the center to either endpoint.

Can the midpoint have fractions?

Yes. If the sum of the coordinates is odd, the midpoint has a half: the midpoint of (1, 2) and (4, 7) is (2.5, 4.5).

Does the order of the endpoints matter?

No. Addition does not care about order, so the midpoint of A and B is the same as the midpoint of B and A. Only the missing-endpoint mode needs to know which point is the known end.

How do I check a midpoint?

Measure from it to both endpoints with the distance formula. Both distances should be equal, and each should be half the length of the whole segment.

How do I divide a segment into thirds or other ratios?

Use the section formula. The point dividing the segment from A to B in the ratio m : n is ((n x₁ + m x₂) ÷ (m + n), (n y₁ + m y₂) ÷ (m + n)). The midpoint is the special case where m equals n.