What this calculator does
The midpoint of a line segment is the point halfway between its two endpoints. You find it by averaging the x-coordinates and averaging the y-coordinates. This calculator does that arithmetic and also reports the horizontal and vertical change between the points and the distance between them. It works with positive and negative coordinates, fractions, and endpoints that share an x or y value. Use it to check homework, place a label in a drawing, or locate the center of a straight run.
How to use it
- Enter x1 and y1 for the first endpoint.
- Enter x2 and y2 for the second endpoint.
- Read the midpoint as a coordinate pair.
- Check the distance and the changes in x and y.
- Swap the points to confirm the midpoint stays the same.
How it works
Example calculations
Example 1: (2, 3) and (8, 7)
Δx is 6 and Δy is 4. The midpoint is (5, 5), and the distance is the square root of 52, about 7.21.
Example 2: (-4, 5) and (2, -3)
Δx is 6 and Δy is -8. The midpoint is (-1, 1), and the distance is the square root of 100, exactly 10.
Example 3: (1, 1) and (1, 9)
Δx is 0 and Δy is 8. The midpoint is (1, 5), and the distance is 8, a vertical segment.
What the result means
The midpoint is the balance point of a segment: it sits the same distance from each endpoint. That makes it useful for finding the center of a line on a map, splitting a beam into equal halves, or checking that a drawing is symmetric. The changes in x and y describe the segment's direction and length before the square root is taken. A zero Δx means the segment is vertical, and a zero Δy means it is horizontal. Distance is always positive unless the two points are identical, in which case the distance is 0 and the midpoint is the point itself. Keep the subtraction order consistent when you report Δx and Δy, because reversing the points flips their signs but not the midpoint or the distance.
Common mistakes
- Subtracting in the wrong order and reporting Δx or Δy with the wrong sign.
- Dividing only one coordinate by 2 instead of averaging both.
- Adding the coordinates but forgetting to divide by 2.
- Reporting distance as Δx + Δy instead of using the Pythagorean theorem.
- Mixing up the x and y values when writing the midpoint pair.
Assumptions and limits
- Both points use the same coordinate plane and scale.
- Coordinates may be positive, negative, or zero.
- The segment is straight, with no curve between the endpoints.
- Distance is measured in the same units as the coordinates.
- Displayed values are rounded to two decimal places.
Frequently asked questions
What is the midpoint formula?
Add the two x-coordinates and divide by 2, then do the same for the y-coordinates. For (2, 3) and (8, 7), the midpoint is ((2 + 8) / 2, (3 + 7) / 2) = (5, 5).
Does the order of the points matter?
No. Addition is commutative, so the midpoint is the same either way. The signs of Δx and Δy do flip if you reverse the points, but the distance does not.
How is distance different from the midpoint?
The midpoint is a location halfway between the points. Distance is the length of the straight segment joining them, found with the Pythagorean theorem.
Can the midpoint have decimals?
Yes. If the coordinates sum to an odd number, the midpoint lands on a half step, such as (2.5, 4).
What if the two points are the same?
The midpoint is that same point and the distance is 0. Δx and Δy are both 0.
Does this work in three dimensions?
No. This calculator uses two coordinates. A 3D midpoint also averages z, and a 3D distance adds the squared z difference.
Sources
2026 update
How to use the professional output
This page is not just a formula box. The result is designed to be checked, compared, and taken away.
- Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
- A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
- Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.
The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.
Go deeper
