Skip to main content

Distance Between Two Points

 

Distance between two points (2d) formula

\( d \;=\;  \sqrt{  \left( x_2 - x_1 \right)^2  +  \left( y_2 - y_1 \right)^2 }   \) 
Symbol English Metric
\( d \) = distance \( in\) \( mm \)
\( x_1 \) = x coordinate of first point \( in\) \( mm \)
\( y_1 \) = x coordinate of first point \( in\) \( mm \)
\( x_2 \) = x coordinate of second point \( in\) \( mm \)
\( y_2 \) = x coordinate of second point \( in\) \( mm \)

The distance between two points using two given coordinate points. 

Piping Designer Logo 1

 

 

 

 

 

 

Distance between two points (3d) formula

\( d \;=\;  \sqrt{  \left( x_2 - x_1 \right)^2  +  \left( y_2 - y_1 \right)^2  +  \left( z_2 - z_1 \right)^2 }  \) 
Symbol English Metric
\( d \) = distance \( in\) \( mm \)
\( x_1 \) = x coordinate of first point \( in\) \( mm \)
\( y_1 \) = x coordinate of first point \( in\) \( mm \)
\( z_1 \) = x coordinate of first point \( in\) \( mm \)
\( x_2 \) = x coordinate of second point \( in\) \( mm \)
\( y_2 \) = x coordinate of second point \( in\) \( mm \)
\( z_2 \) = x coordinate of second point \( in\) \( mm \)