Loading…

Dot Product Calculator in 3d

Math Geometry • Three Dimensional Geometry

View all topics

Dot Product Calculator – 3D Vectors (Angle & Projection)

Compute the dot product \(A\cdot B\) for 3D vectors, then find \(\cos\theta\), the angle between vectors, and the scalar/vector projection.

Inputs accept 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.

Vectors

Options

Drag to rotate • Shift+drag to pan • wheel/trackpad to zoom. “Reset view” fits both vectors.

Ready
3D vectors (interactive)

Vector \(A\) and \(B\) start at the origin. If projection is enabled, the decomposition shows “parallel” and “perpendicular” components.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is the dot product of two 3D vectors?

The dot product is A·B = AxBx + AyBy + AzBz. It produces a scalar that measures how aligned the vectors are.

How do I find the angle between two vectors using the dot product?

Use cos(theta) = (A·B)/(|A||B|) and theta = arccos(cos(theta)). The angle is undefined if either vector has zero length.

What is the difference between scalar projection and vector projection?

Scalar projection comp_B(A) = (A·B)/|B| is a signed length, while vector projection proj_B(A) = (A·B)/(B·B) * B is a vector pointing along B.

When are two vectors orthogonal?

Two vectors are orthogonal (perpendicular) when their dot product is 0, meaning cos(theta) = 0 and theta = 90 degrees.