3D Distance & Midpoint
Distance and midpoint between two 3D points
About this calculator
The 3D Distance & Midpoint Calculator finds the straight-line (Euclidean) distance between two points in three-dimensional space using d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²), along with the midpoint, the squared distance, and the displacement vector. Use it for geometry, physics, 3D graphics, and engineering problems.
How to use the 3D Distance & Midpoint calculator
- Enter the measurements you know into the input fields.
- Read the computed properties — they update instantly as you type.
- Compare the diagram with your figure to confirm the setup is right.
- Copy the page URL to share the exact calculation.
Common examples
- P₁(1, 2, 3), P₂(4, 6, 3) → distance 5, midpoint (2.5, 4, 3), displacement (3, 4, 0)
- Origin to (2, 3, 6) → distance 7 (a 2-3-6 Pythagorean triple in 3D)
- (0, 0, 0) to (1, 1, 1) → distance √3 ≈ 1.7321, distance² exactly 3
- (−1, −2, −3) to (1, 2, 3) → distance ≈ 7.4833, midpoint at the origin
Frequently asked questions
How does the 3D Distance & Midpoint calculator work?
Enter the known measurements of your figure and the calculator applies the standard geometric formulas to find the remaining properties, alongside a diagram that reflects your numbers. All values are computed with high-precision arithmetic.
When would I use the 3D Distance & Midpoint calculator?
It helps with geometry homework, technical drawing, construction and DIY layout, and any situation where you know some measurements of a shape and need the rest.
How accurate are the results?
Formulas are evaluated at 30 significant digits of precision internally, including roots and trigonometric functions. Displayed values are rounded for readability, but the underlying computation does not accumulate floating-point drift.
Can I share a specific calculation with someone else?
Yes. Every value you enter updates the URL, so copying the address bar and sharing the link reopens the exact same figure and results for whoever clicks it.