Math Calculators, Lessons and Formulas

It is time to solve your math problem

mathportal.org

Midpoint Calculator

google play badge app store badge

This calculator finds the midpoint between two points in two or three-dimensional space. The calculator can also determine the endpoint of a line segment given its midpoint and one endpoint.

Tutorial

This calculator solves two types of midpoint problems. The first type is to find the midpoint if two endpoints are given, while the second type is to find the endpoint if the midpoint and endpoint are given.

Midpoint formula

If A(x1,y2) and B(x1,y2) are two endpoints of a line segment, then the midpoint formula is:

M((x1+x2)/2 , (y1+y2)/2)

Midpoint problems

Example 1:

Find the midpoint coordinates of the line segment AB with endpoints A(1, 5) and B(7, 1).

Midpoint of a line segment

In this example the constants x1, y1, x2, and y2 are x1 = 1, y1 = 5, x2 = 7 and y2 = 1.

M((x1+x2)/2, (y1+y2)/2)
M((1+7)/2, (5+1)/2)
M(8/2, 6/2)
M(4, 3)

Hence, the midpoint of the segment AB is M(4, 3).

The following video shows the complete solution.

Midpoint visualisation (created with Manim)

Midpoint in 3D?

The midpoint formula in three dimensions is similar to the two-dimensional case.

M((x1+x2)/2 , (y1+y2)/2, (z1+z2)/2)

Example 3:

Given that the endpoints are A(-3, 4, 6) and B(2, 1, 12), find the midpoint coordinates.

Solution:

Since the points are in space, we need to find six constants: x1, y1, z1, x2, y2 and z2. x1 = -3, y1 = 4, z1 = 6, x2 = 2, y2 = 1, z2 = 12. Now we can apply midpoint formula.

M((x1+x2)/2, (y1+y2)/2, (z1+z2)/2)
M((-3+2)/2, (4+1)/2, (6+12)/2)
M(1/2, 5/2, 9)

Hence, the midpoint is M(1/2, 5/2, 9).

How to find endpoint?

If M(xm, ym) is the midpoint and A(xm, ym) is one endpoint, then the formula for the second endpoint is

B(2xm - x1, 2xm - y1)

Example 3:

Find the endpoint of a line segment if the middle point is M(4,4) and the one endpoint is A(1,2).

How to find endpoint of a line segment

B(2xm-x1, 2xm-y1)
B(2·4-1, 2·4-2)
B(8-1,8-2)
B(7,6)

Hence, the second endpoint is B(7, 6).

Resources
Midpoint calculator
Find the midpoint of the line segment.
help ↓↓ examples ↓↓
0123456789/.C
A(1,-3), B(-5,2)
thumb_up 450 thumb_down

Get Widget Code

Examples
ex 1:
What are the coordinates of the midpoint of the line segment AB with endpoints A(-4, 8) and B(-2, 3)?
ex 2:
What is the midpoint of a line segment with endpoints (-1, 4, 3/2) and (5/2, -1, 1/2)?
ex 3:
What is the endpoint of a line segment whose midpoint is M(1,3) and second endpoint is A(4,2)?
ex 4:
Find the second endpoint of a line segment whose middle point is M(1/2, 4, -3) and its first endpoint is A(-1/2, 4/3, 5/2).
Find more worked-out examples in our database of solved problems.
452 861 664 solved problems
working...