Skip to main content
🔢 Geometry

Midpoint Calculator

Find the midpoint of the line segment between two points with M = ((x₁+x₂)/2, (y₁+y₂)/2). Also returns the distance between the points and the slope of the segment.

Midpoint formula
Distance & slope
Negatives & decimals
Step shown
100% Free
🔢 Open All Math Calculators 📖 Read the Guide

Midpoint formula — Quick answer

The midpoint of the segment joining two points is the average of their coordinates.

M = ( (x₁ + x₂) / 2 , (y₁ + y₂) / 2 )

Worked example: for (2, 3) and (8, 7) → midpoint (5, 5) · distance 7.2111 · slope 0.6667.

Quick midpoint examples

Point 1Point 2Midpoint
(2, 3)(8, 7)(5, 5)
(-4, -2)(6, 8)(1, 3)
(0, 0)(10, 4)(5, 2)
(1.5, 2)(4.5, 6)(3, 4)

The midpoint is exactly halfway — the same distance from each endpoint.

🔢 Midpoint Calculator

Enter the coordinates of both points. Negatives and decimals are fine.

Midpoint (x, y)
Distance between points
Slope of segment
Δx & Δy

ℹ️ The midpoint averages the coordinates. Distance uses √(Δx² + Δy²); slope is Δy ÷ Δx (undefined for a vertical segment).

The midpoint of a line segment is the point exactly halfway between its two endpoints. You find it by averaging the coordinates: M = ((x₁ + x₂)/2, (y₁ + y₂)/2). It's one of the first tools in coordinate geometry — used to bisect segments, find the centre of a circle from a diameter, and build perpendicular bisectors. This calculator returns the midpoint plus the segment's distance and slope.

Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: the midpoint and distance formulas, recomputed in code.

The midpoint formula

Midpoint
M = ( (x₁ + x₂) / 2 , (y₁ + y₂) / 2 )
Distance (bonus)
d = √( (x₂ − x₁)² + (y₂ − y₁)² )
Slope (bonus)
m = (y₂ − y₁) / (x₂ − x₁)

The midpoint formula is just two averages: one for x and one for y. Because it's an average, the order of the points doesn't matter and negative coordinates work exactly as written. The same two points also define a distance (how far apart they are) and a slope (how steep the line through them is), both of which this tool reports alongside the midpoint.

Worked example — (2, 3) and (8, 7)

Scenario: find the midpoint of the segment joining (2, 3) and (8, 7).

Average the x's and y's
M = ( (2 + 8)/2 , (3 + 7)/2 ) = ( 5 , 5 )
Distance
√( (8−2)² + (7−3)² ) = √(36 + 16) = √52 = 7.2111
Slope
(7 − 3) / (8 − 2) = 4 / 6 = 0.6667

The midpoint is (5, 5) — sitting exactly between the two points, the same 3.6056 units from each. A second example with negatives: (-4, -2) and (6, 8) average to (1, 3), with a distance of √(100 + 100) = √200 ≈ 14.1421. The midpoint formula never changes; you just keep the signs.

Frequently Asked Questions

What is the midpoint formula?

M = ((x₁ + x₂)/2, (y₁ + y₂)/2). Average the x's and average the y's. (2,3) & (8,7) → (5, 5).

How do I find the midpoint between two points?

Add the x-coordinates and divide by 2; add the y-coordinates and divide by 2. The result is the exact centre of the segment.

Does it work with negative coordinates?

Yes — keep the signs. (-4,-2) & (6,8) → (1, 3). Decimals work the same way.

What is the difference between midpoint and distance?

Midpoint is a point (the centre); distance is a length (how far apart). (2,3)&(8,7): midpoint (5,5), distance √52 ≈ 7.21.

What is the midpoint used for?

Bisecting segments, finding a circle's centre from a diameter, perpendicular bisectors, centroids and reflections.

Need more math tools?

Explore distance, slope, Pythagorean, circle and more across the AI Calculator math suite.

🔢 Open Math Calculators — Free

No registration required · 350+ calculators · PDF report export