Enter Coordinate Values
Use 2D for line segments on a plane, or switch to 3D for spatial midpoint calculations.
Plotly Graph
The chart displays Point A, Point B, and the midpoint on the same segment.
Example Data Table
| Case | Mode | Point A | Point B | Midpoint | Distance |
|---|---|---|---|---|---|
| Example 1 | 2D | (2, 4) | (8, 10) | (5, 7) | 8.4853 |
| Example 2 | 2D | (-6, 3) | (4, -5) | (-1, -1) | 12.8062 |
| Example 3 | 3D | (1, 2, 3) | (7, 8, 9) | (4, 5, 6) | 10.3923 |
Formula Used
2D Midpoint Formula
M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)
Average each matching coordinate. The x-values produce the midpoint’s x-coordinate, and the y-values produce the midpoint’s y-coordinate.
3D Midpoint Formula
M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2, (z₁ + z₂) / 2)
The same averaging idea extends to space. Each axis is averaged independently to find the midpoint between two endpoints.
Distance Formula
2D: d = √[(x₂ - x₁)² + (y₂ - y₁)²]
3D: d = √[(x₂ - x₁)² + (y₂ - y₁)² + (z₂ - z₁)²]
Distance is not required to find a midpoint, but it adds valuable context for coordinate geometry, plotting, and segment analysis.
How to Use This Calculator
- Choose 2D or 3D mode, depending on whether your points lie on a plane or in space.
- Enter the coordinates for Point A and Point B. Fill z-values only when using 3D mode.
- Select the number of decimal places you want in the final answer.
- Add a unit label if you want coordinates and distances displayed with units.
- Press Calculate Midpoint to show the result above the form.
- Review the midpoint, distance, location, slope, bisector, and plotted graph.
- Use the CSV or PDF buttons to export your result summary.
Frequently Asked Questions
1) What does a midpoint represent?
A midpoint is the exact point halfway between two endpoints. It divides a segment into two equal parts and is found by averaging corresponding coordinates.
2) Can this calculator handle negative coordinates?
Yes. Negative, positive, and decimal values all work. The midpoint formula simply averages coordinates, so signs are handled naturally.
3) What is the difference between 2D and 3D midpoint calculations?
In 2D, you average x and y. In 3D, you also average z. The idea stays the same, but space adds one more axis.
4) Why does the tool show distance too?
Distance adds geometric context. It tells you how far apart the endpoints are and helps when reviewing scale, plotting, and verification.
5) What happens if both endpoints are identical?
The midpoint equals that same point, and the distance becomes zero. In 2D, the perpendicular bisector is not uniquely defined for identical points.
6) Why is slope unavailable in 3D mode?
Slope is commonly defined for a line on a plane. In 3D, a line needs directional components rather than a single slope value.
7) Can I export my results?
Yes. The page includes CSV export for spreadsheet use and PDF export for easy reporting, sharing, or saving calculation summaries.
8) Is this useful for geometry and graphing practice?
Absolutely. It helps with coordinate geometry, graph interpretation, line segment analysis, classroom exercises, and quick checks during homework or planning work.