Missing Coordinate Calculator
Some coordinate geometry problems hand you part of a segment and ask for the piece that is missing: the point halfway between two endpoints, the far endpoint when you know one end and the middle, or the length of the segment itself. This calculator covers exactly those three jobs. Pick the problem type, enter the two points it asks for, and it applies the midpoint, endpoint, or distance formula with the answer rounded to two decimal places.
Quick Answer
The midpoint of (2, 4) and (6, 10) is (4.00, 7.00): average the x values, then average the y values. Switch the Problem Type to Find Missing Endpoint and the second-point fields are relabelled Midpoint: together with the known endpoint in the first fields, they take the segment’s midpoint. Or pick Calculate Distance to get the segment length, 7.21 units for these two points.
- This tool does three jobs only: midpoint, missing endpoint, and distance. There is no ratio or section-formula mode.
- In Missing Endpoint mode the second point is the midpoint, and the second-point fields are labelled Midpoint in that mode.
- Every answer is rounded to two decimal places, so keep radical form by hand when an exact distance is required.
- Midpoint and distance do not care about point order; the endpoint mode does.
How to use this calculator
Start with the Problem Type menu, because it changes what the second point means. For Find Midpoint and Calculate Distance, both points are endpoints of the segment. For Find Missing Endpoint, the first point is the endpoint you know and the second point is the midpoint of the segment, and the second-point fields switch their labels to Midpoint so the boxes say what they mean.
Enter all four coordinates and press Calculate. Leaving any coordinate blank stops the tool with a prompt to enter all coordinates, and leaving the problem type unselected stops it earlier with a prompt to select a type. Results appear under the buttons with a short label, Midpoint, Missing Endpoint, or Distance, and a reading badge restates which mode produced the answer so a screenshot keeps its context.
The three formulas, and where they come from
All three modes come from two ideas: averaging, and the Pythagorean theorem. The midpoint formula averages each coordinate: M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2), as taught in Khan Academy’s analytic geometry preparation on distance and midpoints. The endpoint formula is that same equation rearranged: if M is the midpoint and A is the known endpoint, the missing endpoint is (2xₘ – xₐ, 2yₘ – yₐ).
The distance formula is Pythagoras on the coordinate differences: d = √((x₂ – x₁)² + (y₂ – y₁)²). The horizontal and vertical gaps are the two legs of a right triangle and the segment is its hypotenuse, which is why the answer can never be negative and why point order does not matter here. For longer multi-point distance work, such as adding up a path across several points, the distance calculator covers the broader job, and the Euclidean distance calculator focuses on this same two-point formula in isolation.
Worked example: one segment, three answers
Take the segment from (2, 4) to (6, 10), the pre-filled values in the calculator. Midpoint mode averages each pair: ((2 + 6) / 2, (4 + 10) / 2) = (4.00, 7.00). Distance mode subtracts and squares: √((6 – 2)² + (10 – 4)²) = √(16 + 36) = √52, shown as 7.21 units.
The endpoint mode closes the loop. Keep (2, 4) as the known endpoint and enter the midpoint (4, 7) in the second-point fields, which endpoint mode labels Midpoint: (2 × 4 – 2, 2 × 7 – 4) = (6, 10), the far endpoint you started with. That round trip is the fastest way to check you have the modes straight, and it is also how you can verify a homework answer: feed your result back through the midpoint mode and see whether the original midpoint comes out.
| Mode | Inputs | Result |
|---|---|---|
| Find Midpoint | (2, 4) and (6, 10) | (4.00, 7.00) |
| Calculate Distance | (2, 4) and (6, 10) | 7.21 units |
| Find Missing Endpoint | Endpoint (2, 4), midpoint (4, 7) | (6.00, 10.00) |
| Find Midpoint, negatives | (-4, 2) and (4, -4) | (0.00, -1.00) |
What competing calculators miss
Most rival tools split these three jobs across separate pages. CalculatorSoup’s midpoint page handles midpoints and explains endpoints in prose, but the endpoint math itself lives on a different tool, and OnlyCalculators runs separate endpoint and midpoint calculators, the endpoint one adding 3D and slope output this tool does not claim. Splitting the jobs is fine until a problem gives you a midpoint and asks for an endpoint, which is the single most common missing-coordinate question in school geometry.
The gap this page closes is mode honesty. Rival pages and, frankly, this page’s own earlier text described section formulas, ratios, and step-by-step verification that the tool never had. Here the three modes are named exactly, the endpoint mode labels its second input fields Midpoint up front, and the limits are printed on the page: no ratio problems, no slope, no 3D, no exact radical form. A student who needs a balance point of weighted coordinates rather than a segment midpoint is after a different average, covered by the center of mass calculator for XY coordinates.
Mistakes that produce a confident wrong answer
The endpoint mode is the trap. Its second-point fields are labelled Midpoint while the mode is selected, and entering two endpoints there doubles the second one and subtracts the first, producing a point that is not on your segment at all. Check the label on the result: it should say Missing Endpoint, and the fields labelled Midpoint should hold the midpoint, not a second endpoint.
Two smaller traps follow. Swapping x and y in one point mirrors the answer across the diagonal, which still looks plausible on a quick glance. And rounding cuts both ways: a distance shown as 7.21 units is √52 underneath, so an exam answer of 2√13 or √52 will not match the decimal digit for digit even though the tool agrees with it. Use the decimal to check magnitude, then present the exact form your course asks for.
Frequently asked questions
Three things only, chosen in the Problem Type menu: the midpoint of two endpoints, a missing endpoint from one endpoint and the midpoint, and the distance between two points. It does not do section-formula ratio problems, slope, or 3D points, even though pages about missing coordinates often list them.
Pick Find Missing Endpoint, enter the endpoint you know as the first point, and enter the midpoint in the second-point fields, which this mode labels Midpoint. The tool doubles the midpoint and subtracts the known endpoint, coordinate by coordinate. Entering two endpoints in this mode gives a wrong answer, because the second pair is read as the midpoint.
Midpoint = ((x1 + x2) / 2, (y1 + y2) / 2). You average the x-coordinates and average the y-coordinates. For (2, 4) and (6, 10) that is ((2 + 6) / 2, (4 + 10) / 2) = (4, 7).
It is the Pythagorean theorem applied to the coordinate differences: d = sqrt((x2 – x1) squared + (y2 – y1) squared). For (2, 4) and (6, 10) the differences are 4 and 6, so d = sqrt(16 + 36) = sqrt(52), shown as 7.21 units.
Yes. All three modes accept negative values, and the endpoint mode depends on them: with a known endpoint of (-4, 2) and a midpoint of (0, -1), the missing endpoint is (2 x 0 – (-4), 2 x -1 – 2) = (4, -4). Watch the double negative when you check the math by hand.
Every result on this tool is formatted to two decimal places, so a midpoint of (4.5, 7.25) shows in full, but a distance of sqrt(52) shows as 7.21 units instead of the exact radical. For homework that asks for an exact answer, keep the square root form from the formula section and use the decimal as a check.
For midpoint and distance, no: averaging and squaring give the same result either way round. For the missing endpoint mode, yes: the first point must be the known endpoint and the second point must be the midpoint, or the doubling math points at the wrong place.
No. There is no ratio input on this tool, so a point dividing a segment in a ratio such as 1:2 cannot be entered. Use the midpoint mode only when the ratio is 1:1, which is what a midpoint is.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- Khan Academy. Getting Ready for Analytic Geometry: Distance and Midpoints. Accessed October 22, 2026.
- Mathematics LibreTexts, Cosumnes River College Corequisite Codex. The Pythagorean Theorem, Distance Formula, and Midpoint Formula (including Finding an Unknown Endpoint). Accessed October 22, 2026.
- Mometrix Academy. Calculations Using Points on a Graph: Distance and Midpoint Formulas. Accessed October 22, 2026.
- Khan Academy. Distance and Midpoint Formulas (unit overview). Accessed October 22, 2026.
- OpenStax, Rice University. Intermediate Algebra 2e, Section 11.1: Distance and Midpoint Formulas; Circles. Accessed October 22, 2026.
