Mathematics / Calcora

Distance Between Points Calculator

Estimate distance between points using clear inputs and transparent formulas, with results intended for planning and comparison.

Calculator

Distance Between Points Calculator

Input guide The meaning of every value is explained below its field.

The numeric value for “First point x” used directly in this formula; enter it with the unit and meaning shown in the field label.
The numeric value for “First point y” used directly in this formula; enter it with the unit and meaning shown in the field label.
The numeric value for “First point z” used directly in this formula; enter it with the unit and meaning shown in the field label.
The numeric value for “Second point x” used directly in this formula; enter it with the unit and meaning shown in the field label.
The numeric value for “Second point y” used directly in this formula; enter it with the unit and meaning shown in the field label.
The numeric value for “Second point z” used directly in this formula; enter it with the unit and meaning shown in the field label.

Estimate distance between points using clear inputs and transparent formulas, with results intended for planning and comparison.

How to use this calculator

For distance between points calculator, enter First point x, First point y, First point z, Second point x, the remaining displayed fields using the unit or format beside each field. Select Calculate to apply the formula below, review all returned values together, and use Reset to restore the demonstrated inputs before testing another scenario.

Formula & calculation method

distance = sqrt(pow(x2-x1,2)+pow(y2-y1,2)+pow(z2-z1,2)); squaredDistance = pow(x2-x1,2)+pow(y2-y1,2)+pow(z2-z1,2)

Worked example

For a reproducible distance between points calculator example, use First point x: 0; First point y: 0; First point z: 0; Second point x: 3; plus the remaining displayed defaults. The first returned value, distance between points, is calculated with sqrt(pow(x2-x1,2)+pow(y2-y1,2)+pow(z2-z1,2)); the other results describe the same scenario. Change one input at a time and keep its unit consistent when comparing scenarios.