What a midpoint means

The midpoint is the point exactly halfway along the straight line segment joining two endpoints. It is not the point halfway by travel time on a curved route, the center of a bounding box with extra features, or the average of all coordinates in a larger dataset. On a Cartesian plane, find it by averaging the x coordinates and averaging the y coordinates separately. The result uses the same coordinate system and units as the endpoints. A midpoint can be useful for placing a label, locating a brace, splitting a segment, or checking a drawing. The calculation assumes both endpoints belong to one common coordinate system with consistent axes.

Enter corresponding coordinates

Provide x₁ and y₁ for the first endpoint and x₂ and y₂ for the second. Keep the pairings intact: do not combine the first x with the second y by accident. A negative coordinate is valid and represents a position on the negative side of an axis. The formula adds corresponding coordinates before dividing by two. If the points are measured in feet, the midpoint coordinates are in feet; if they are in meters, the result is in meters. Coordinate values are not automatically converted, and a point in one origin system cannot be averaged meaningfully with a point from another.

Why the average lands halfway

The horizontal displacement from the first point to the second is x₂ − x₁. Moving half that displacement from x₁ gives x₁ + (x₂ − x₁)/2, which simplifies to (x₁+x₂)/2. The same reasoning applies vertically. Substituting both coordinates produces the midpoint formula. This derivation also shows that the midpoint is unchanged when the endpoints are listed in reverse order. It lies on the segment’s straight line, and its distance from each endpoint is equal. These properties make the midpoint a useful geometric check rather than merely an arithmetic average.

Worked example with a 3-4 endpoint

Take endpoints A = (0, 0) meters and B = (3, 4) meters. Average x values: (0 + 3)/2 = 1.5. Average y values: (0 + 4)/2 = 2. The midpoint is (1.5, 2) meters. The segment length is 5 meters by the Pythagorean theorem, and each half from an endpoint to the midpoint is 2.5 meters. The length check is optional, but it confirms that the point is halfway rather than merely somewhere along the line. Keep the coordinate units and axis labels with the answer.

Handle negative coordinates

Suppose one endpoint is (-6, 2) and the other is (4, -8). The midpoint is ((-6 + 4)/2, (2 + -8)/2) = (-1, -3). Adding signed values before dividing preserves the direction of each coordinate. Do not take absolute values unless the problem explicitly asks for distances from an origin. A negative midpoint coordinate is ordinary on a Cartesian plane. If a physical map uses a local origin, explain what that origin represents before interpreting the coordinate in feet, meters, pixels, or another unit.

Do not confuse midpoint and distance

The midpoint is a point with coordinates. Distance is a scalar length calculated from coordinate differences. For endpoints (x₁,y₁) and (x₂,y₂), distance is √((x₂−x₁)²+(y₂−y₁)²), while midpoint averages the two coordinate pairs. A point halfway across a segment does not have a value equal to half the distance in each coordinate unless the geometry happens to align that way. Use the midpoint result for location and the distance formula for length. A line’s slope is another quantity and should not be substituted for either.

Check with equal displacements

After finding M, compute M − A and B − M for each coordinate. The two displacement pairs should match: (xM−x₁, yM−y₁) equals (x₂−xM, y₂−yM). This check works with positive, negative, horizontal, vertical, and diagonal segments. If one coordinate matches but the other does not, a value was likely paired with the wrong endpoint or a sign was lost. The midpoint of a horizontal segment has the average x and the shared y; the midpoint of a vertical segment has the shared x and average y. These special cases make quick visual checks easy.

Use consistent units and scales

Coordinates must use the same linear unit and scale on each axis for the ordinary geometric interpretation. If x is in meters and y is in centimeters, convert one axis before averaging or clearly describe the coordinate system as anisotropic. Pixel coordinates in an image can be averaged directly for a screen midpoint, but the result is a pixel location rather than a physical distance unless a scale conversion is applied. Do not mix latitude-longitude degrees with planar feet or meters without a suitable map projection. The calculator performs arithmetic on supplied coordinates; it does not choose a projection or datum.

Use midpoint in practical layouts

A midpoint can guide a label, light, bracket, divider, inspection mark, or centerline between two surveyed points. The geometric location may still need adjustment for thickness, clearance, access, snap points, or a curved surface. If a physical segment is not straight, the coordinate midpoint of its endpoints is not necessarily the midpoint along the curve. For a route or arc, use the relevant path parameter instead. Keep the ideal point and any design offset separate so the geometry can be audited before practical constraints are applied.

Use symmetry as a second check

If a segment is reflected through its midpoint, each endpoint should land on the other endpoint. In coordinates, adding the two endpoint vectors gives twice the midpoint vector. This symmetry check is useful in CAD, maps, and classroom work because it tests both axes at once. A midpoint that is correct in x but not y is not the center of the segment. When the endpoints share one coordinate, the midpoint should retain that coordinate exactly. When they are opposites around the origin, the midpoint should be the origin. These simple cases are valuable before relying on a long decimal result.

Keep transformed data together

If a drawing is translated, rotated, or scaled, apply the same transformation to both endpoints before finding the midpoint, or transform the already calculated midpoint with the same operation. Translation commutes with averaging, and a consistent affine transformation preserves the halfway relationship. Transforming only one endpoint changes the segment and answers a different question. This matters when coordinates move between CAD layers, image pixels, and physical measurements. Save the source coordinates and transformation metadata so the placement can be reconstructed without guessing which point revision was used.

Midpoint in three dimensions

For endpoints (x₁,y₁,z₁) and (x₂,y₂,z₂), the same principle averages all three corresponding coordinates. This page is for two-dimensional coordinates, so a three-dimensional model needs a z coordinate and a suitable 3D midpoint calculation. Averaging only x and y can produce a plan-view midpoint while ignoring height. State whether a result is a map projection, floor plan, or spatial point. The name “midpoint” does not by itself specify how many dimensions or which coordinate reference system are involved.

Precision and rounding

Keep coordinate precision through the averages and round the displayed point only after both coordinates have been calculated. If endpoints were surveyed to the nearest millimeter, a midpoint with many more decimal places does not have that physical accuracy. In a graphics system, fractional pixels may be rounded by the renderer, while the mathematical midpoint can remain fractional. Record the rounding rule when the point controls a cut, placement, or tolerance. A coordinate average can be exact in arithmetic even when the measurements that produced the coordinates are approximate.

Choose a coordinate origin deliberately

The midpoint shifts numerically when the origin changes, but the physical point does not if both endpoints are transformed consistently. A local construction grid, a map datum, and a screen coordinate system can use different origins or axis directions. Confirm whether y increases upward or downward and whether the units are signed. Transform both endpoints before averaging, not one endpoint afterward. Keeping the original coordinate pair and the chosen reference frame in the record prevents a correct midpoint from being placed incorrectly in a different drawing.

Record a reproducible result

Save the two endpoint pairs, axis labels, units, coordinate reference, formula, midpoint, and rounding rule. A small sketch can show the segment and the resulting point. If the midpoint is later offset for a bracket, annotate the offset separately instead of overwriting the geometric value. This record makes it easy to reverse-check by adding the two half-displacements. It also helps identify whether a later disagreement comes from arithmetic, a changed origin, a screen transformation, or a practical design adjustment.

Limits of the calculation

The midpoint formula does not determine a curved-path halfway point, a weighted center of multiple points, a centroid of a polygon, a geographic midpoint over a sphere, or a physical installation location after clearance rules. Those tasks require their own model and inputs. This calculator returns the coordinate average of two endpoints in a common Cartesian plane. Use it for the stated geometry, then apply projection, design, or measurement rules separately when the application requires them.