Dot Product Calculator – Angle Between Vectors
u·v = Σuᵢvᵢ: (2,3)·(4,1) = 11, giving angle arccos(11/√221)≈42.3°.
- Zero dot product flags perpendicular vectors instantly.
Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.
How the Dot Product Calculator Works
The dot product multiplies matching components and sums them: for u = (2,3) and v = (4,1), u·v = 2×4 + 3×1 = 11. Its geometric meaning comes from u·v = |u||v|cos θ: with |u| = √13 ≈ 3.606 and |v| = √17 ≈ 4.123, cos θ = 11/14.866 ≈ 0.740, so θ ≈ 42.3°. A zero dot product means cos θ = 0 — the vectors are perpendicular; (2,3)·(−3,2) = −6+6 = 0 confirms a right angle. The calculator lists each component product, the sum, both magnitudes, and the angle, in 2D through 6D. Work applications follow directly: the projection of u onto v equals (u·v/|v|²)v, and physics computes work as F·d — a force of (3,4) moving through (2,0) does 6 units of work.
- 1
Enter both vectors
Matching dimensions, 2D to 6D
- 2
Multiply components
Each uᵢvᵢ product is listed
- 3
Sum the products
u·v = 11 for the example
- 4
Extract the angle
θ = arccos(u·v/(|u||v|)) ≈ 42.3°, with a perpendicularity flag
Use Cases
Physics Work
W = F·d: force (3,4) through displacement (2,0) gives 6 J
Graphics Lighting
Brightness scales with the dot of surface normal and light direction
Orthogonality Tests
Zero dot product certifies perpendicular feature vectors
Tips
- 1
u·v = 0 ⇔ perpendicular (for nonzero vectors)
- 2
Order does not matter: u·v = v·u
- 3
The dot product is a scalar, never a vector
Common Mistakes
Multiplying mismatched components across different dimensions
Confusing the dot (scalar) product with the cross (vector) product
Forgetting the magnitudes when computing the angle
Reading u·v = 11 as an angle — cos θ = 11/(√13·√17) first
FAQs
What is (2,3)·(4,1)?
What angle does that represent?
How do I test perpendicularity?
Is the dot product commutative?
What is the work done by force (3,4) over (2,0)?
Related tools
Pick another tool to continue your calculation.
Absolute Value Calculator – |x| with Properties
Calculate the absolute value of any number.
Calculus Calculator - Derivatives and Integrals Online
Calculate derivatives and integrals online with our free calculus calculator. Solve differentiation and integration problems with step-by-step solutions. Essential tool for calculus students and professionals.
2D Cross Product Calculator – Signed Area
Calculate cross product of two 2D vectors.
Euler Totient Calculator – φ(n) Coprimes
Calculate Euler totient function φ(n).
Fibonacci Calculator – Any Term & Sequence
Calculate any Fibonacci number and display the sequence.
Hyperbolic Functions Calculator – sinh, cosh
Calculate hyperbolic trigonometric functions.