First point A = (2, 4, 6). Second point B = (8, 10, 12).
MATH / ANALYTIC GEOMETRY
3D Midpoint Calculator
Find the midpoint of a line segment in three-dimensional Cartesian space. Inspect the equation, substituted values, result, and interpretation limits in one guided workspace.
- 01 Calculated in this tab
- 02 Values stay in this browser tab
- 03 Use boundary
COORDINATE AVERAGES / EQUAL HALF-SHIFTS
Find the center of a 3D segment one coordinate at a time
Use this explainer when you need to prove that a point is exactly halfway between two 3D coordinates, not just accept three averaged numbers. With the reviewed default points A = (2, 4, 6) and B = (8, 10, 12), the calculator averages each coordinate independently to return M = (5, 7, 9). The same output also shows that the first half-shift (3, 3, 3) matches the second half-shift (3, 3, 3).
Worked default example
- Entered endpoints
- First point A = (2, 4, 6). Second point B = (8, 10, 12).
- Average the x-coordinates
- x-mid = (x1 + x2) / 2 = (2 + 8) / 2 = 5.
- Average the y-coordinates
- y-mid = (y1 + y2) / 2 = (4 + 10) / 2 = 7.
- Average the z-coordinates
- z-mid = (z1 + z2) / 2 = (6 + 12) / 2 = 9.
- Returned midpoint
- Read the main result and the two supporting metrics together: M = (5, 7, 9).
- Halfway check
- A to M = (3, 3, 3) and M to B = (3, 3, 3), so the point returned by the calculator sits exactly halfway along the same straight segment.
What to enter and how to read the result
Enter x, y, and z for the first endpoint and x, y, and z for the second endpoint on one Cartesian coordinate system and one consistent unit scale. The main result card reports the midpoint x-coordinate first. The two supporting metrics underneath report midpoint y and midpoint z, and all three values together form the midpoint (5, 7, 9).
What the calculator actually does
Nirmion evaluates the coordinate-wise midpoint formula M = ((x1 + x2) / 2, (y1 + y2) / 2, (z1 + z2) / 2). In the reviewed default example, the calculator averages 2 and 8 to get 5, 4 and 10 to get 7, and 6 and 12 to get 9. Because each coordinate is averaged independently, the returned point creates two equal segment steps: (3, 3, 3) from A to M and (3, 3, 3) from M to B.
Where this model stops helping
Use this page only for straight segments in one Cartesian frame. It does not calculate a midpoint on a road network, a curved path, a weighted center of mass, or a midpoint between latitude and longitude on Earth's surface. Mixed units, mixed coordinate systems, and projected map data need conversion before you apply this formula.
Reference and next checks
The linked OpenStax section states the midpoint rule as coordinate-wise averaging in rectangular coordinates. This 3D calculator applies that same averaging step to z as well, which is the same workflow used by the reviewed calculator definition. If you need the straight-line distance of the same segment, the distance from a point to a plane, or the magnitude of a translated 3D vector, use the related calculators below.
Read OpenStax on midpoint formulas in rectangular coordinatesThe same midpoint only works when A to M and M to B stay equal. Here both half-shifts are (3, 3, 3) and (3, 3, 3).
3D midpoint audit with equal half-shifts on the segment
An isometric-style 3D plot showing point A (2, 4, 6), midpoint M (5, 7, 9), and point B (8, 10, 12), plus a coordinate table that averages each axis independently.
x-mid = (x1 + x2) / 2 = (2 + 8) / 2 = 5.
y-mid = (y1 + y2) / 2 = (4 + 10) / 2 = 7.
z-mid = (z1 + z2) / 2 = (6 + 12) / 2 = 9.
A to M = (3, 3, 3) and M to B = (3, 3, 3), so the point returned by the calculator sits exactly halfway along the same straight segment.
Continue the 3D coordinate workflow
Continue the 3D coordinate workflow
COMMON QUESTIONS
3D midpoint calculator FAQs
Why does the result panel show only the x-coordinate first?
This calculator workspace uses one primary result card plus supporting metrics. On the midpoint tool, the primary card shows midpoint x, while midpoint y and midpoint z appear immediately below it. Read all three together as M = (5, 7, 9).
Can the midpoint include negatives or decimals?
Yes. The midpoint is just the average on each axis, so negative values and decimal endpoints are valid as long as both points use the same coordinate system and unit scale.
Does this give the halfway point on a route or on the Earth?
No. This page returns the Cartesian midpoint of a straight segment. Roads, travel paths, and latitude-longitude coordinates need different models that account for path shape or Earth's curvature.
Use boundary
Calculation path
Find the midpoint of a line segment in three-dimensional Cartesian space. The page evaluates the displayed equation from your supplied values and presents both symbolic and substituted KaTeX working so the arithmetic can be checked.
M=((x1+x2)/2,(y1+y2)/2,(z1+z2)/2)
What you provide
What you provide
- First point x, using the same scenario as the other inputs
- First point y, using the same scenario as the other inputs
- First point z, using the same scenario as the other inputs
- Second point x, using the same scenario as the other inputs
- Second point y, using the same scenario as the other inputs
- Second point z, using the same scenario as the other inputs
What you receive
What you receive
- Midpoint x-coordinate from the stated equation
- A symbolic formula plus substituted working with your values
- Visible assumptions, field guidance, and an authoritative learning reference
Use boundary
Choose the maximum decimal places shown. This does not increase source accuracy.
Coordinates and lengths use one consistent Cartesian scale; rounding is applied only to the displayed result.
Use internally consistent units and retain extra precision when carrying the result into another calculation.
Reviewed reference factors