Euclidean Distance in 3D
Include the squared differences across all three coordinate axes.
Enter the details
Add the information requested below to get your result.
Your entries are used to produce the result in this browser.
Share or download
How to use this tool
What does the Euclidean Distance in 3D do?
Include the squared differences across all three coordinate axes. Enter the details above to see the result. The notes below explain the calculation method, any published formula, a worked example and important limitations.
When to use this tool
Include the squared differences across all three coordinate axes. Have First point X, First point Y and First point Z ready before you start. Keep an eye on number formats, percentages and units.
How to use the Euclidean Distance in 3D
- Enter the requested information: First point X, First point Y, First point Z, Second point X, Second point Y, Second point Z.
- Check each value, date, text entry, or unit before continuing.
- Tap the main button to see your result.
- Review the result and use Copy result when you need to reuse it.
- Choose Clear to remove the entries and start again.
Formula and calculation method
Published formula: sqrt((x2-x1)^2+(y2-y1)^2+(z2-z1)^2)
Include the squared differences across all three coordinate axes.
Euclidean Distance in 3D worked example
Distance from (0, 0, 0) to (2, 3, 6) is 7.
Inputs required
- First point X
- First point Y
- First point Z
- Second point X
- Second point Y
- Second point Z
Accuracy and limitations
For a reliable math result, enter the values in the requested format and keep units consistent. Check whether the formula expects a percentage, decimal, or whole number. Use consistent units and check all input values before relying on the result. Results are generated by the method built into this tool. Rounding, input format, unit selection, and assumptions can affect the output. For important decisions, verify the result independently with an appropriate trusted source.
Part of Basic Arithmetic.
Sources and further reading
These external references support the standards, concepts or browser methods related to this tool. The exact assumptions used by this calculator are described above.
- Algebra and Trigonometry — OpenStaxOpen textbook covering algebraic methods, equations and trigonometric relationships.
Frequently asked questions
What do I need to enter?
Start with First point X, First point Y, First point Z, Second point X. Follow the field labels and keep units and formats consistent.
How is the result worked out?
Include the squared differences across all three coordinate axes.
What should I double-check?
Use consistent units and check all input values before relying on the result.