Midpoint Formula Calculator

Find the midpoint between two points in 2D or 3D with AI-powered step-by-step solutions

Drag & drop or click to add images or PDF

Math Input
Midpoint of (1, 2) and (5, 8)
Midpoint of (-3, 4) and (7, -2)
Midpoint of (1, 2, 3) and (5, 8, 11)
Find midpoint between origin and (10, 6)

What is the Midpoint Formula?

The midpoint formula finds the point exactly halfway between two given points. It's just the average of the coordinates:

2D form — for points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2):

M=(x1+x22,y1+y22)M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)

3D form — for points (x1,y1,z1)(x_1, y_1, z_1) and (x2,y2,z2)(x_2, y_2, z_2):

M=(x1+x22,y1+y22,z1+z22)M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2}\right)

Why averaging works: the midpoint divides the segment in a 1:11:1 ratio, and the coordinates of any point on the segment are weighted averages of the endpoints. With equal weights (1/21/2 each), you get the simple arithmetic mean.

The midpoint formula appears constantly in coordinate geometry: finding the center of a circle from its diameter, the centroid of a triangle, parallelograms, perpendicular bisectors, and any problem involving 'halfway between'.

How to Use the Midpoint Formula

Step-by-Step

  1. Identify the two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2).
  2. Average the x-coordinates: x1+x22\frac{x_1 + x_2}{2}.
  3. Average the y-coordinates: y1+y22\frac{y_1 + y_2}{2}.
  4. Combine into the midpoint (Mx,My)(M_x, M_y).

No subtraction, no squares, no roots — much simpler than the distance formula.

Reverse Problem: Find Endpoint from Midpoint

If M=(Mx,My)M = (M_x, M_y) is the midpoint of (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), you can solve for either endpoint:

x2=2Mxx1,y2=2Myy1x_2 = 2 M_x - x_1, \quad y_2 = 2 M_y - y_1

Double the midpoint, subtract the known endpoint.

Generalization: Section Formula

For a point dividing a segment in ratio m:nm : n (not just 1:11:1):

P=(mx2+nx1m+n,my2+ny1m+n)P = \left(\frac{m x_2 + n x_1}{m + n}, \frac{m y_2 + n y_1}{m + n}\right)

The midpoint formula is the special case m=n=1m = n = 1.

Geometric Applications

  • Center of a circle from diameter endpoints: just the midpoint.
  • Centroid of a triangle: average of all three vertex coordinates (generalizes midpoint to 3 points).
  • Perpendicular bisector: a line through the midpoint perpendicular to the original segment.
  • Diagonals of a parallelogram: the midpoints of both diagonals coincide — useful for proving a quadrilateral is a parallelogram.

Common Mistakes to Avoid

  • Subtracting instead of adding: midpoint averages — x1+x22\frac{x_1 + x_2}{2}, not x2x12\frac{x_2 - x_1}{2}. Subtraction belongs to the distance formula.
  • Forgetting to divide each coordinate: the divisor 2 applies separately to the x-sum and the y-sum. It's not a single division at the end.
  • Sign errors with negative coordinates: 3+72=2\frac{-3 + 7}{2} = 2, not 2-2 or 55. Add carefully.
  • Mixing midpoint and slope formulas: midpoint averages, slope subtracts. They look similar but answer different questions.
  • Forgetting to update for 3D: if your problem is in 3D, include the z-average. If 2D, don't add a phantom z.

Examples

Step 1: Average xx: (1+5)/2=3(1 + 5)/2 = 3
Step 2: Average yy: (2+8)/2=5(2 + 8)/2 = 5
Step 3: Midpoint =(3,5)= (3, 5)
Answer: (3,5)(3, 5)

Step 1: Average xx: (3+7)/2=4/2=2(-3 + 7)/2 = 4/2 = 2
Step 2: Average yy: (4+(2))/2=2/2=1(4 + (-2))/2 = 2/2 = 1
Step 3: Midpoint =(2,1)= (2, 1)
Answer: (2,1)(2, 1)

Step 1: Bx=2MxAx=231=5B_x = 2 M_x - A_x = 2 \cdot 3 - 1 = 5
Step 2: By=2MyAy=252=8B_y = 2 M_y - A_y = 2 \cdot 5 - 2 = 8
Step 3: B=(5,8)B = (5, 8)
Step 4: Verify: midpoint of (1,2)(1, 2) and (5,8)(5, 8) is (3,5)(3, 5)
Answer: B=(5,8)B = (5, 8)

Frequently Asked Questions

Taking the arithmetic mean (average) of each coordinate. The midpoint divides the segment into two equal parts, and the average of two equally-weighted points is just their sum divided by two.

The midpoint averages two points (the middle of a segment). The centroid averages three or more points — for a triangle, it averages all three vertex coordinates: ((x₁+x₂+x₃)/3, (y₁+y₂+y₃)/3).

Yes. If the sum of two integer coordinates is odd, the midpoint coordinate will be a half-integer. For example, the midpoint of (1, 2) and (4, 7) is (2.5, 4.5).

There isn't a 'midpoint' for more than two points, but the natural generalization is the centroid — average all coordinates: ((Σxᵢ)/n, (Σyᵢ)/n).

Related Solvers

Pythagorean Theorem CalculatorArea CalculatorLinear Equation Calculator
Try AI-Math for Free

Get step-by-step solutions to any math problem. Upload a photo or type your question.

Start Solving