Vector Angle Calculator

Enter two 2D or 3D vectors and instantly get the angle between them in degrees and radians.

Use the Vector Angle Calculator

A Vector A

B Vector B

Enter vector components and click
Calculate Angle

Copied!

Summary

The Vector Angle Calculator computes the angle between two vectors in 2D or 3D space using the dot product formula: cos(θ) = (A · B) / (|A| × |B|). Simply enter the X, Y (and optionally Z) components of each vector, switch between 2D and 3D mode, and get the angle in both degrees and radians instantly. This tool is useful for physics, engineering, computer graphics, and linear algebra problems.

How it works

  1. Select 2D or 3D mode using the toggle at the top.
  2. Enter the X and Y (and Z for 3D) components for Vector A.
  3. Enter the X and Y (and Z for 3D) components for Vector B.
  4. Click "Calculate Angle" or the result updates automatically.
  5. The angle between the vectors is shown in both degrees and radians.
  6. Use the "Swap Vectors" button to exchange the two vector inputs.

Use cases

  • Find the angle between force vectors in physics problems.
  • Compute the angle between edges or faces in 3D graphics and game development.
  • Verify dot product calculations in linear algebra homework.
  • Determine the angle of incidence between a light ray and a surface normal.
  • Calculate heading differences between two direction vectors in navigation.
  • Check perpendicularity or parallelism of vectors quickly.
  • Solve engineering problems involving resultant forces or velocities.
  • Validate rotation angles in robotics or animation rigs.

Frequently Asked Questions

Last updated: 2026-06-04 · Reviewed by Nham Vu