Wiki
Calculator
-- Make calculations easier!
Tweet
Print
Home
>
Math
>
Geometry
> Distance between two points(3 dimension)
Distance between two points(3 dimension)
Formula
d
distance
x1
x-axis of first point
y1
y-axis of first point
x2
x-axis of second point
y2
y-axis of second point
z1
z-axis of third point
z2
z-axis of third point
Formula description
This shows the distance between two points on the three dimensions.
Calculator (
how to use calculator?
)
x1
y1
x2
y2
z1
z2
d
Precision
0
1
2
3
4
5
6
7
8
9
Formula code
C
Java
JavaScript
LaTeX
d = sqrt(pow((x2-x1),2)+pow((y2-y1),2)+pow((z2-z1),2))
d= Math.sqrt(Math.pow((x2-x1),2)+Math.pow((y2-y1),2)+Math.pow((z2-z1),2))
d=Math.sqrt(Math.pow((x2-x1),2)+Math.pow((y2-y1),2)+Math.pow((z2-z1),2))
d = \sqrt{(x2-x1)^2+(y2-y1)^2+(z2-z1)^2}
References
wikipedia:Distance between two points(3 dimension).
Comment or add more code
If you cannot find the formula or calculator you want, please tell us what you want and we will add it for you ASAP. If you want anything else or find any error on this page, please just let us know. If you know the formula in other languages, you are welcome to add it. Thanks for contributing to wikicalculator.com!
Comment
Add code for the formula
Please help us do better by providing your opinions(<= 500 characters):
Language:
(<= 500 characters)
Name
Email
Home Page