MATH · FREE TOOL

Coordinate distance calculator

Calculate straight-line 2D or 3D distance and a midpoint from Cartesian coordinates.

On-device processing · No account · No ads

Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.

Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.

See where data goes →

Your inputs

Local calculator controls

Preparing the local calculator. If controls stay inactive, reload this page.

Use the active fields and the stated conventions. Exact integer/fraction tools retain exact values; floating-point results are rounded for display. Calculations stay on this device.

YOUR RESULT

Your coordinate distance result

Enter the active inputs, then choose Calculate. The method and limits are explained below.

How this calculation works

Distance=√[(x₂−x₁)²+(y₂−y₁)²+(z₂−z₁)²], omitting z in 2D. Each midpoint coordinate is the average of its pair. Coordinates must be within±1e12. Use the same unit and Cartesian frame throughout; latitude/longitude, routes and Earth curvature need a different model.

Reference: method and limitations. Method reviewed October 23, 2026.

Check the assumptions

Use the stated units and conventions. This tool supports the workflow described here; it does not infer missing information or outside rules.