Loading…

Midpoint Formula Calculator

Math Geometry • Coordinate Geometry

View all topics

Find the midpoint \(M\) of a line segment between points \(A\) and \(B\) in 2D or 3D: \(M=\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2},\frac{z_1+z_2}{2}\right)\)

Inputs accept 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.

Point A
Point B
Display options

Diagram controls: wheel/trackpad to zoom • drag to pan (2D) • in 3D: drag to rotate, hold Shift/Alt (or right-drag) to pan • touch: 1-finger rotate, 2-finger pan, pinch to zoom • “Reset view” restores fit.

Ready
Enter two points and click Calculate.
Segment diagram (pan/zoom enabled)

The midpoint \(M\) is marked on the segment \(\\overline{AB}\).

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is the midpoint of a line segment in coordinate geometry?

The midpoint is the point exactly halfway between endpoints A and B. Each midpoint coordinate is the average of the corresponding endpoint coordinates.

What is the midpoint formula in 2D and 3D?

In 2D, M = ((x1 + x2)/2, (y1 + y2)/2). In 3D, add the z-coordinate: M = ((x1 + x2)/2, (y1 + y2)/2, (z1 + z2)/2).

Why do parentheses matter in the midpoint formula?

You must add the two coordinates first and then divide by 2. Writing x1 + x2/2 is not the same as (x1 + x2)/2.

Can the midpoint have negative or decimal coordinates?

Yes. If an endpoint coordinate is negative or fractional, it is included in the average normally, and the midpoint can be negative or fractional as well.