Free. No ads. No sign-up. Your info stays on your phone.

Distance formula calculator

Enter the x and y of each point.

    Share it with a mom who needs it

    📌 Save to Pinterest

    Add this tool to your website

    Bloggers, teachers and clinics: copy this code to show this free tool on your own page. It has no ads and saves nothing on our side.

    What is the distance formula?

    The distance between (x₁, y₁) and (x₂, y₂) is √((x₂ − x₁)² + (y₂ − y₁)²). From (1, 2) to (4, 6): √(3² + 4²) = √25 = 5. The midpoint is the average of the x's and the average of the y's: (2.5, 4).

    How we calculate this

    The distance formula is the Pythagorean theorem on a graph: the change in x and the change in y are the two legs of a right triangle.

    See all our sources

    Questions moms ask

    How do I find the midpoint?

    Add the two x values and divide by 2, then do the same for the y values.

    Does the order of the points matter?

    No. Squaring removes any minus sign, so the distance is the same either way.

    Is it saved?

    Your last entries are saved on this device only.

    Related tools

    This tool gives an estimate, not medical advice. Every pregnancy and every baby is different. If you're worried about anything, talk to your doctor or midwife.