"Find the coordinates between two points" sounds like a midpoint question, and often it is. But between is a whole line of answers: the point a quarter of the way along, the point that splits the segment two to one, the point beyond the end on the same line. One formula names them all, and this guide builds it from the midpoint outward, then takes it onto the sphere, where between two cities the flat average quietly gives the wrong answer. The explorer below lets you click two points and read the pair; the arithmetic that follows is what the clicks are doing.
Home / Coordinates and Location Formats
How to Find Coordinates Between Two Points: Midpoint, Section Formula, and Beyond

Photo: Nataliya Vaitkevich / Pexels
Coordinate Explorer: Click Both Ends of the Segment
Click point A, then point B, and read the pair for each. Average the two x values and the two y values for the midpoint, or weight them with the section formula for any other point between them.
Map data © OpenStreetMap contributors. Coordinates are read from the map itself, in the WGS 84 system your phone uses.
The Midpoint: Between, Exactly Halfway
The midpoint of A (x1, y1) and B (x2, y2) is the average of the coordinates: ((x1 + x2) / 2, (y1 + y2) / 2). For A (2, 3) and B (8, 11): ((2 + 8) / 2, (3 + 11) / 2) = (5, 7). Verify by distance: from A to (5, 7) is sqrt(9 + 16) = 5, and from (5, 7) to B is also 5, on a segment of total length 10. The average works because halfway along the segment means halfway along each axis separately; the x coordinates average, the y coordinates average, and in three dimensions the z coordinates join in. This is the whole method for the commonest case, and it is worth noticing that it is a weighted average with equal weights, because the general case is the same idea with the weights changed.
The Section Formula: Any Point Along the Segment
To find the point at a fraction t of the way from A to B, compute A + t times (B minus A), coordinate by coordinate. At t = 0.25 for the same A and B: (2 + 0.25 times 6, 3 + 0.25 times 8) = (3.5, 5). At t = 0 you are standing on A; at t = 1, on B; at t = 0.5 the formula returns the midpoint (5, 7), which is the consistency check that the general case contains the special one. Textbook ratio form says the same thing in different clothes: the point dividing AB internally in the ratio m to n, measured from A, is ( (n times x1 + m times x2) / (m + n), (n times y1 + m times y2) / (m + n) ). For the ratio 2 to 1 from A: ((1 times 2 + 2 times 8) / 3, (1 times 3 + 2 times 11) / 3) = (18 / 3, 25 / 3) = (6, 8.33), which matches t = 2/3 in the fraction form. Note the weights cross: the coordinate of B carries the weight m, the share of the journey. Points beyond the segment use the same machinery with t outside 0 to 1: t = 1.5 continues half a segment past B to (11, 15), which is how surveyors and game developers extend a line without new ideas.

The Geographic Version: Between Two Cities, On a Sphere
Everything above assumes a flat page. Between two places on Earth, the naive average of latitudes and longitudes is close, and measurably wrong. Take New York (40.7128, minus 74.0060) and Boston (42.3601, minus 71.0589), 306.1 km apart. The flat average gives (41.5365, minus 72.5325). The true great circle midpoint, computed by converting both points to 3D vectors, averaging those, and converting back, is (41.5459, minus 72.5512). The two answers sit about 1.9 km apart: small on this hop, because the cities are close and at similar latitudes, and growing with distance and with the difference in latitude, since longitude lines converge toward the poles and the flat average ignores the convergence. The vector method is the same averaging idea as the flat midpoint, performed in the space where the geometry is honest, then projected back to latitude and longitude. It is also, not coincidentally, how the geographic centroid generalizes, and the 306.1 km itself comes from the haversine method in our guide to measuring distance on a map.
Three Dimensions and the Mistakes That Recur
In 3D, nothing changes except the guest list: average or weight the z coordinates with the same t. The midpoint of (1, 2, 3) and (5, 8, 9) is (3, 5, 6). The recurring errors are bookkeeping, not concept. Swapping the weights in ratio form, so the point lands nearer the wrong end; check by asking which endpoint the answer should hug. Averaging only one coordinate under time pressure; the formula applies to every coordinate, every time. Applying the flat average across the antimeridian, where longitudes jump from 179 to minus 179 and the honest between point sits near 180, not near 0; unwrap the longitudes before averaging, or use the vector method, which never sees the seam. Forgetting external division: a ratio stated from B, or a point beyond the segment, needs the t form or a sign change, and the fraction form makes both transparent. The neighboring skills live in how to find Cartesian coordinates and how to find coordinates on a map, and the written forms of the results are covered by coordinate notation.
Why the Formula Works: The Weighted Average Idea
Underneath the notation, the section formula is a weighted average, and seeing it once makes the weights impossible to forget. A point at fraction t from A to B is the average of the endpoints weighted by closeness: at t = 0.25 the point is near A, so A counts three times and B once, giving (3A + B) / 4, which for our example is ((6 + 8) / 4, (9 + 11) / 4) = (3.5, 5), the same answer as before. Nearness earns weight. That single intuition repairs the ratio form's crossed weights forever: the endpoint you stand closer to contributes more of itself. It also explains the midpoint's democracy, equal distance, equal weight, and it scales to the centroid of many points in how to find centroid coordinates, where every point's weight is its mass or its vote.
Applications That Use This Daily
Interpolation in data and games. A character moving between two waypoints, a temperature estimated between two weather stations, a color fading between two stops on a gradient: all are A + t(B minus A) with different costumes, and game code calls it lerp, for linear interpolation. Surveying and layout. Staking a point a set fraction along a line between two control points is the section formula with a tape measure, and the extension beyond B at t above 1 sets the next point on a straight road or fence line. Logistics. A depot placed a third of the way from warehouse to port, weighted by trip counts, is ratio division with money attached. Meeting points. The geographic midpoint of two cities is the fair meeting argument settled by arithmetic, with the spherical correction from the section above once distances grow. In each case the skill being exercised is identical: state the fraction, apply it to every coordinate, and sanity check the result against the endpoints it must live between, or beyond.
Checking Your Answer Like a Professional
Every between points answer has two cheap audits, and professionals run both. The bounding audit: an interior point's x must lie between the endpoints' x values, and its y between their y values, closer to the endpoint the fraction favors. (3.5, 5) passes for A (2, 3) and B (8, 11); an answer of (9, 5) fails on sight, no calculator needed. The distance audit: the distances from your point to A and to B must add to the full A to B distance for interior points, in the ratio the fraction promises. At t = 0.25 the legs are 2.5 and 7.5 on our example's total of 10; a point whose legs sum to more than 10 is off the line entirely, whatever its coordinates claim. These audits catch the swapped weights, the dropped coordinate, and the sign slip, the three errors that account for nearly every wrong answer in this family. They take twenty seconds, and they are the difference between computing a point and knowing one. The habit generalizes across this site's coordinate shelf, from the centroid to direction angles, where the identity check plays the same role.
Related Guides
This guide does not stand alone. The coordinates guides below take up the questions it leads into:
- How to Find the Coordinates of the Point of Intersection of Two Lines: The point of intersection of two lines is the one point that satisfies both equations at once, so finding it is solving the pair simultaneously.
- How to Find the Length Between Coordinates: The Distance Formula, in 2D, 3D, and on the Earth: The length between two coordinates is the distance formula, which is Pythagoras wearing coordinates: square the gap in x, square the gap in y,...
- How to Find Coordinates When the Midpoint Is Given: Work Backwards to the Endpoint: Most midpoint problems run forward: two endpoints, find the middle.
Frequently Asked Questions
What is the formula for the midpoint between two points?
Average the coordinates: ((x1 + x2) / 2, (y1 + y2) / 2). For A (2, 3) and B (8, 11), the midpoint is (5, 7). It works because halfway along the segment is halfway along each axis separately, and it extends directly to three dimensions by averaging the z coordinates too.
How do I find a point a quarter of the way between two points?
Use the section formula, A + t(B minus A), with t = 0.25. For A (2, 3) and B (8, 11), that gives (3.5, 5). The same formula with t = 0.5 returns the midpoint, and t values above 1 continue past B along the same line.
What is the difference between the ratio form and the fraction form?
They are the same formula in different notation. A point dividing AB in the ratio m to n from A corresponds to the fraction t = m / (m + n). The ratio 2 to 1 is t = 2/3. Watch the weights: in ratio form, each endpoint's coordinate is weighted by the other segment's share.
Why is the midpoint of two cities not just the average latitude and longitude?
Because longitude lines converge toward the poles, flat averaging distorts the result. The true midpoint is found by averaging the points' 3D vectors and converting back. For New York to Boston the two methods differ by about 1.9 km; the gap grows with distance and latitude difference.
How do I find coordinates between two points on a map in real life?
Read both points' coordinates with a map app or our coordinates on a map guide, then apply the midpoint or section formula. For short distances the flat formulas are fine; for hundreds of kilometers, use the spherical midpoint so longitude convergence does not shift your answer.
Photo credits: Nataliya Vaitkevich (Pexels); Lara Jameson (Pexels). Photos are served from this site; follow the credit to the library page for the original.