Distance and Section Formula Calculator

Enter two points to find the distance between them, the midpoint, and the point that divides the segment in a chosen ratio m:n. Steps are shown.
Distance
✉ Email me this result
</> Embed this calculator

Paste this into any website or blog post. It is free — the small "powered by" link must stay visible.

How it works

Distance = √((x₂-x₁)² + (y₂-y₁)²). Section point = ((mx₂+nx₁)/(m+n), (my₂+ny₁)/(m+n)).

Frequently Asked Questions

What ratio gives the midpoint?
A ratio of 1:1 divides the segment exactly in half, which is the midpoint.