Home

Line Segment Calculator

Free online line segment calculator. Enter coordinates of two endpoints to compute length, midpoint, and slope. Use it to review the method and check your work.

Unfolds更多 ▾
Distance d = √[(x₂−x₁)² + (y₂−y₁)²] Midpoint M = ((x₁+x₂)/2, (y₁+y₂)/2) Slope k = (y₂−y₁)/(x₂−x₁) (x₂≠x₁)
—
—
—