Geometry formula reference

Distance Between Two Points in 3D

Computes Euclidean distance between two points in three-dimensional space.

Open in editor
LaTeXd=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}

Variables

  • Define every symbol and unit before substitution.
  • Check the domain, shape, and convention required by the formula.

How to use this formula

Computes Euclidean distance between two points in three-dimensional space.

Important notes

  • Verify assumptions and units before applying the expression.
  • Keep exact values until the final rounding step when possible.

Quick example

Use the distance between two points in 3d with a small known example, then verify the result independently.

Applicability, worked calculation, and verification

Assumptions and domain checks

  • For the Distance Between Two Points in 3D, verify assumptions and units before applying the expression.
  • For a real-valued result, each even-root radicand must be nonnegative unless complex values are intended.
  • Use one consistent unit system and confirm whether lengths, areas, volumes, and angles use the dimensions implied by the formula.

Worked example

Input

Output

Use the distance between two points in 3d with a small known example, then verify the result independently.

Common mistakes

  • Do not drop the radical boundary in Distance Between Two Points in 3D; verify exactly which terms are inside the root and whether the chosen root is valid.
  • For the Distance Between Two Points in 3D, do not report a length, area, or volume with the wrong unit dimension, and keep intermediate precision until the final rounding step.

Continue the workflow

Use Distance Between Two Points in 3D in your own work

  1. Check the domainMatch the variables and assumptions to the problem before substituting values.
  2. Copy the exact notationPreserve grouping, signs, and exponents in d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}.
  3. Edit or convertOpen the expression in the LaTeX editor, then export it for your document or web page.

Review and verification

Last reviewed: 2026-07-23

Automated quality check: Kept noindex until the missing evidence is supplied.

Formula references

  • Algebra and Trigonometry 2eOpenStax, Rice University — Reviewed algebra, functions, sequences, trigonometry, and analytic geometry definitions and examples.

Frequently asked questions

What is the Distance Between Two Points in 3D used for?

Computes Euclidean distance between two points in three-dimensional space.

Can I copy this formula as LaTeX?

Yes. Copy d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2} or open it in the LaTeX editor.

What should I check before using it?

Confirm that each variable, unit, domain restriction, and assumption matches the problem.

Reuse, attribution, and correction

Share this reference without losing its source

Copy a citation, permanent link, Markdown link, or self-contained embed card. Each reusable format points readers back to the maintained canonical page.

Report an issue

Search the whole reference

Symbols, formulas, guides, tools and commands

Start typing to search.

move · Enter open · Esc close