📍 Distance & Midpoint Calculator

Euclidean distance and midpoint of a segment.

Also known as: Distance Formula · Midpoint Calculator · Calculate Distance Between Two Points

Loading calculator…

How to use the Distance & Midpoint Calculator

  1. Enter your values in the fields above — the defaults show a worked example.
  2. The result updates instantly as you type; change any input to compare scenarios.
  3. Copy or share the result, or open a related calculator below.

How it's calculated

d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²); M = ((x₁+x₂)/2, (y₁+y₂)/2, (z₁+z₂)/2).

Frequently asked questions

Is the Distance & Midpoint Calculator free?
Yes. The Distance & Midpoint Calculator on CalculatorSprint is completely free with no sign-up. Every calculation runs in your browser, so the numbers you enter are never sent to our servers.
How accurate is the Distance & Midpoint Calculator?
It uses the method described under “How it’s calculated” and keeps full precision internally, rounding only the displayed result.
Can I use the Distance & Midpoint Calculator on my phone or offline?
Yes. It works on any phone, tablet or computer. Install CalculatorSprint as an app from your browser menu (Add to Home Screen or Install app) and it keeps working offline.

Read more about the Distance & Midpoint Calculator

When to use the Distance & Midpoint Calculator

Use the Distance & Midpoint Calculator for distance and midpoint between two points in 2D or 3D. It is one of 73 free math calculators, and pairs well with the Slope Calculator, Pythagorean Theorem Calculator, Percentage Calculator and Scientific Calculator.

Tips for accurate results

Check that your input uses the expected format (decimals, fractions or one value per line), keep full precision until the final step, and use the worked formula below the result to verify the answer by hand or for homework.

Sources and review

Last reviewed

Sources:

Every calculator is checked against published reference values before release and re-reviewed when laws, rates or guidelines change. Read our methodology and editorial policy. Found a problem? Report it — we fix errors quickly.

Was this helpful?

More Math Calculators

See all Math Calculators →

Popular calculators

Results are estimates for information only. Calculations run privately in your browser.