Home Math Midpoint Calculator

Midpoint Calculator

Find the middle of two points, the distance between them and the slope of the line through them.

Advertisement

How it works

Type the x and y of point A and of point B. The page gives the midpoint, the distance between the points and the slope of the line.

Advertisement

Formula

Midpoint x = (x1 + x2) / 2, midpoint y = (y1 + y2) / 2.
Distance = square root of ((x2 - x1) squared + (y2 - y1) squared).
Slope = (y2 - y1) / (x2 - x1), with no value when x1 = x2.

Sources

Example

Point A, x: 2; Point A, y: -3; Point B, x: 10; Point B, y: 9. Distance between the points: 14.42

Frequently asked questions

What if both points share the same x?

Then the line is vertical and the slope has no value. The page shows a dash for it, and the distance is just the gap in y.

How do I find the other end of a segment?

Double the midpoint and subtract the end you know: B = 2M - A.

Advertisement

Related calculators

Percentage Calculator

Find a percent of a number, what percent one number is of another, and percent change, all at once.

Fraction Calculator

Add, subtract, multiply and divide fractions, with the answer simplified.

Scientific Calculator

Online scientific calculator with trig, logs, powers, roots, factorial and degree or radian mode.

Quadratic Formula Calculator

Solve ax² + bx + c = 0, with the discriminant and the vertex.