3D Vector Angle Calculator

Enter two 3D vectors to calculate their angle with clarity and precision. Toggle degrees or radians, and see normalized components and magnitudes for context. We show dot products, formulas, and intermediate steps for learning and verification. Export calculations to CSV and PDF instantly anywhere.

Inputs

Reset

Example Data Table

AxAyAz BxByBz Angle (deg)
12345612.933154
10001090.000000
00100-1180.000000

Formula Used

The angle θ between vectors A and B is determined from the dot product identity:

A·B = |A||B| cos(θ)θ = arccos( (A·B) / (|A||B|) )

Where |A| = √(Ax² + Ay² + Az²) and similarly for |B|. Zero vectors have undefined angles.

How to Use

  1. Enter components for both vectors in the input fields.
  2. Choose your preferred unit and rounding precision.
  3. Click Compute Angle to generate results and steps.
  4. Use the buttons to download results as CSV or PDF.
  5. Try the example table for validation and quick checks.

FAQs

The angle is undefined because division by the product of magnitudes fails. At least one magnitude would be zero.

Finite precision can push cos(θ) outside [−1,1]. We clamp to that range before using arccos.

Yes. Inputs like 1e-3 or -2.5E4 are accepted and validated.

Most users prefer 4–8 decimals. You can choose between 0 and 12 according to your needs.

No. The angle between A and B equals the angle between B and A because the dot product is commutative.

Direction cosines are outside this tool’s scope. You can extend it to include α, β, γ if required.

Related Calculators

Row Reduction RREF CalculatorDiagonalization Checker CalculatorLU Decomposition Steps CalculatorQR Decomposition Steps Calculatormatrix calculator with variablesGauss-Jordan inverse calculatorPolynomial linear independence calculatorLinear independence of matrix calculatorComplex matrix inverse calculatorQR decomposition least squares

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.