# Distance between Two 3D Points

## Distance between two points in a three dimension coordinate system - online calculator

The distance between two points in a three dimensional - 3D - coordinate system can be calculated as

*d = ((x _{2} - x_{1})^{2} + (y_{2} - y_{1})^{2} + (z_{2} - z_{1})^{2})^{1/2} (1) *

*where *

*d = distance (m, inches ...)*

*x, y, z = coordinates*

### Example - the Distance between two points in a three dimensional space

The distance between point *P _{1}(1,1,0)* and point

*P*can be calculated as

_{2}(2,1,2)*d = ((2 _{} - 1_{})^{2} + (1 - 1_{})^{2} + (2_{} - 0_{})^{2})^{1/2} *

* = 2.24*

### 3D Distance Calculator

x | y | z | |
---|---|---|---|

P_{1} | |||

P_{2} | |||

Load Calculator! |