Midpoint Calculator
Find the midpoint between two points in 2D or 3D coordinates by averaging each pair of coordinates.
Midpoint
(5, 6)
X coordinate
5
Average of the x-coordinates
Y coordinate
6
Average of the y-coordinates
The midpoint is the point exactly halfway between two points, found by averaging each coordinate pair.
Last updated: August 2026
How this calculator is verified
Checked by True Calculator automated test suite on
- Formula verified against a published worked example in the automated test suite
- Edge cases (zero, negative, boundary and unit-mismatch inputs) covered by unit tests
The full verification method is on our how we verify page. Found an error? Tell us and we will re-check it.
When to Use This Calculator
The midpoint answers 'exactly halfway between where and where?'. Logistics teams in India use it to pick neutral meet points between two depot locations on a coordinate grid, and families plan rest stops midway between two cities when travelling. In construction, contractors centre a beam or a gate between two marked walls by averaging the coordinates of the anchors. Designers split an image or a poster into balanced halves using the midpoint of its corners, and surveyors mark the centre of a boundary line. Students meet the midpoint constantly in coordinate geometry, where it is the first step to finding centroids and centres of a line segment. The 3D mode extends the same idea to architecture and engineering drawings, where a structural element must sit exactly between two support points in space.
How to Use This Calculator
- Step 1: Choose 2D or 3D depending on whether your points have z-coordinates.
- Step 2: Enter the x and y coordinates of the first point in the first column.
- Step 3: Enter the x and y coordinates of the second point in the second column.
- Step 4: Read the midpoint coordinates, which average each pair of inputs.
Worked Example
A travel planner in Mumbai wants the halfway point between New Delhi at (28.61, 77.21) and Mumbai at (19.08, 72.88) on a map grid. The calculator averages the latitudes to (28.61 + 19.08) / 2 = 23.85 and the longitudes to (77.21 + 72.88) / 2 = 75.05, so the midpoint is about (23.85, 75.05). For a 2D example, the segment from (2, 3) to (8, 9) meets at (5, 6), and in 3D the segment from (1, 2, 3) to (5, 6, 7) meets at (3, 4, 5), all exact halves.
Tips and Common Mistakes
- •Tip 1: Check the sign of each coordinate — the midpoint of (−1, 4) and (5, −2) is (2, 1), so negatives can still yield positives.
- •Tip 2: Use the same point ordering as your map or graph so you can plot the result directly.
- •Tip 3: For distances over roads rather than straight lines, the geometric midpoint is a rough guide — actual halfway driving points differ.
- ✗Mistake 1: Averaging x with y — the x-coordinates are averaged together and the y-coordinates together.
- ✗Mistake 2: Forgetting that 3D input requires the z fields; leaving them at 0 treats the segment as flat.
Frequently Asked Questions
What is the midpoint of a line segment?
It is the point exactly halfway between the two ends. For points (2, 3) and (8, 9), the midpoint is (5, 6), found by averaging the x-coordinates and the y-coordinates separately.
How is the midpoint formula written?
Midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2). The same rule extends to 3D by also averaging the z-coordinates, so (1, 2, 3) and (5, 6, 7) meet at (3, 4, 5).
Can the midpoint have negative coordinates?
Yes — coordinates can be negative on either side of the origin. The midpoint of (−1, 4) and (5, −2) is (2, 1), which is positive even though both end points have a negative coordinate.
When would I use a midpoint in real life?
Whenever you need the exact middle of two locations or values: splitting a route between two cities for a rest stop, centring an object between two walls, or dividing an interval on a number line in half.
Does the midpoint lie on the line between the two points?
Yes — the midpoint is always collinear with the two endpoints and lies on the segment connecting them. It divides the segment into two equal-length halves.
Compare these tools
- Percentage Calculator — Calculate percentages, percentage difference and percentage change instantly
- Rounding Calculator — Round any number to the nearest value, or up and down, to any decimal places
- Standard Form Calculator — Convert numbers to and from standard form (scientific notation) with one click
You might also need
Related calculators from other categories
Statistics
Covariance Calculator
Calculate sample or population covariance between two paired series, with the correlation coefficient. See how two variables move together.
Date
Age Difference Calculator
Find the age difference between two dates in years, months and days, plus total days, weeks and months. See who is older at a glance.
Statistics
Correlation Coefficient Calculator
Compute the Pearson correlation coefficient between two data series. See r, r² and the direction and strength of the relationship.
Date
Date Difference Calculator
Count the exact days, weeks, months, years and business days between two dates, with hours and minutes too. Perfect for deadlines, leave and projects.