Calculate the length and midpoint of a line segment connecting two points.
Endpoints
Segment Properties
Length5.0000
Midpoint(1.50, 2.00)
Midpoint Visualization
Line Segments
A line segment is a part of a line that is bounded by two distinct end points. The length represents the Euclidean distance between these points, while the midpoint is the exact center.
💡
Pro Tips
Midpoint Formula: M = ((x₁+x₂)/2, (y₁+y₂)/2).
Distance is always non-negative.
In 3D, simply add the z-component term (z₂-z₁)².
!
Fun Facts
"A line segment is the shortest path between two points in Euclidean space."
"The set of all points between A and B is convex."
"Line segments are fundamental in computer graphics for rendering polygons."