Distância 2 Pontos 3D
- Created by
- Renato Passos, Eng. de Software
- Reviewed by
- Renato Passos, Eng. de Software
Last updated: Apr 18, 2026
Formula
euclidiana 3D
About this calculator
This calculator determines the distance between two points in three-dimensional space using the 3D Euclidean distance formula. Simply enter the (x, y, z) coordinates of each point and the result is computed instantly. It is a useful tool for students, engineers, and professionals working with analytic geometry.
The distance is calculated by the square root of the sum of the squares of the differences between corresponding coordinates: √((x2-x1)² + (y2-y1)² + (z2-z1)²). This calculation is a natural extension of the Pythagorean theorem to three dimensions, allowing measurement of the straight-line separation between two points in space.
Use this calculator whenever you need to know the distance between two points in 3D, such as in physics problems (trajectories), computer graphics (object positioning), engineering (calculating distances between components), or mathematics (spatial geometry). It is a simple and fast tool to avoid manual errors.
Caution: ensure coordinates are in the same reference system. The formula assumes Euclidean space, so it is not suitable for curved surfaces or non-Euclidean spaces. Also verify that the values are numeric and without conflicting units.
Frequently asked questions
How do I use the 3D distance calculator?
Enter the x, y, z coordinates of the first point in the Point A fields and the second point in the Point B fields. Click Calculate to get the distance.
What formula is used?
The formula is the square root of ((x2-x1)² + (y2-y1)² + (z2-z1)²), which is the Euclidean distance in three dimensions.
Can I use this calculator for negative coordinates?
Yes, the formula works with both positive and negative coordinates since differences are squared.
What if I need the distance in 2D?
For 2D, simply ignore the z coordinate (or set z=0 for both points). The result will be the distance in the xy plane.
Does the calculator consider Earth's curvature?
No, this calculator assumes a flat Euclidean space. For distances on Earth's surface, use a geodesic distance calculator.