Find the midpoint between two points, calculate distance, slope, and line equation. Supports endpoint finding, section formula, and 3D coordinates.
Midpoint
(5.0000, 5.0000)
Midpoint
(5.0000, 5.0000)
Distance
7.2111
Slope (m)
0.6667
Angle
33.69deg
Perpendicular Slope
-1.5000
Y-Intercept
1.6667
Slope-Intercept Form
y = 0.6667x + 1.6667
Standard Form
-0.6667x + 1y = 1.6667
Midpoint
(5.00, 5.00)
Quick-start with common scenarios
Test your skills with practice problems
Practice with 4 problems to test your understanding.
Midpoint formula: M = ((x1 + x2)/2, (y1 + y2)/2). Distance formula: d = sqrt((x2-x1)^2 + (y2-y1)^2). Slope formula: m = (y2 - y1)/(x2 - x1). To find an endpoint when given midpoint and one point: endpoint = (2*midpoint - known point). Section formula divides a line in ratio m:n: P = ((m*x2 + n*x1)/(m+n), (m*y2 + n*y1)/(m+n)).
The midpoint of a line segment is the point that divides the segment into two equal parts. It is located exactly halfway between the two endpoints. The midpoint formula averages the coordinates: M = ((x1+x2)/2, (y1+y2)/2). The section formula generalizes this to divide a segment in any ratio m:n, where the midpoint is the special case where m=n=1.
Midpoint formula: M = ((x1 + x2)/2, (y1 + y2)/2). Distance formula: d = sqrt((x2-x1)^2 + (y2-y1)^2). Slope formula: m = (y2 - y1)/(x2 - x1). To find an endpoint when given midpoint and one point: endpoint = (2*midpoint - known point). Section formula divides a line in ratio m:n: P = ((m*x2 + n*x1)/(m+n), (m*y2 + n*y1)/(m+n)).
Use the midpoint formula: M = ((x1 + x2)/2, (y1 + y2)/2). Simply average the x-coordinates and average the y-coordinates. For example, the midpoint of (2, 4) and (6, 8) is ((2+6)/2, (4+8)/2) = (4, 6).
The distance between two points is d = sqrt((x2-x1)^2 + (y2-y1)^2). This comes from the Pythagorean theorem. For points (0,0) and (3,4): d = sqrt(9+16) = sqrt(25) = 5.
If you know one endpoint (x1, y1) and the midpoint (Mx, My), the other endpoint is (2*Mx - x1, 2*My - y1). For example, if midpoint is (5, 7) and one point is (3, 4), the other point is (2*5-3, 2*7-4) = (7, 10).
The section formula finds a point that divides a line segment in a given ratio m:n. For internal division: P = ((m*x2 + n*x1)/(m+n), (m*y2 + n*y1)/(m+n)). The midpoint is the special case where m = n = 1.
Slope (m) = (y2 - y1)/(x2 - x1) = rise/run. It measures the steepness of a line. Positive slope goes up-right, negative slope goes down-right. A vertical line has undefined slope, a horizontal line has slope 0.
The perpendicular slope is the negative reciprocal of the original slope: m_perp = -1/m. If a line has slope 2, perpendicular lines have slope -1/2. Exception: horizontal and vertical lines are perpendicular (slopes 0 and undefined).
Last updated: 2025-01-15
Explore similar calculators
Midpoint
(5.0000, 5.0000)