Mathematics · Interactive tool
Vector Algebra
Calculate vector components, products, norms and projections.
Your inputs
Result
Calculated output
Enter inputs to calculate.
|A|=sqrt(ΣAi²); A·B=ΣAiBi; cosθ=(A·B)/(|A||B|). proj_B(A)=[(A·B)/(B·B)]B. Unit vectors require nonzero magnitude.
A×B=(AyBz−AzBy,AzBx−AxBz,AxBy−AyBx). A·(B×C) is the oriented scalar triple product. A and B must have equal dimensions; cross products require 3D vectors. For three points, the plane normal is (B−A)×(C−A), normalized. Axis direction angles satisfy cosα=Ax/|A|, cosβ=Ay/|A|, cosγ=Az/|A|; coordinate angles use the selected angular unit.