Vector operations
Addition and subtraction work component-wise. The dot product returns a scalar. The cross product (3D only) returns a perpendicular vector. Scalar multiplication scales each component.
Perform vector operations including addition, subtraction, dot product, cross product, and scalar multiplication.
Last updated
Dimensions
Operation
Vector 1
Vector 2
Real-valued vectors only
This calculator works with real number components. Complex-valued vectors are not supported.
Cross product is 3D only
The cross product is defined for three-dimensional vectors. Switch to 3D mode to use it.
Result
Sum of the input vectors.
Step-by-step
Linear Algebra
A general-purpose vector calculator that performs addition, subtraction, dot product, cross product, and scalar multiplication on 2D or 3D vectors.
Addition and subtraction work component-wise. The dot product returns a scalar. The cross product (3D only) returns a perpendicular vector. Scalar multiplication scales each component.
A worked example helps translate the vector calculator maths into a realistic scenario so the user can compare the headline result with a concrete set of inputs.
That matters because a result is easier to trust when the page shows how the same logic behaves in a practical case instead of leaving the formula abstract.
Use the vector calculator output as a planning aid, then compare it with the assumptions, units, and caveats shown elsewhere on the page before acting on the number alone.
That extra interpretation step matters because a calculator can simplify the arithmetic but still cannot replace real-world context such as local rules, contract terms, or individual circumstances.
Frequently asked questions
Addition, subtraction, cross product, and scalar multiplication return vectors. The dot product returns a scalar (a single number).
The cross product is defined only in three dimensions because it produces a vector perpendicular to both inputs, which requires a third dimension.
The safest manual check is to follow the same formula or rule one step at a time and compare that working with the calculator output. That catches sign errors, bracket mistakes, and input-order mixups without requiring any extra method beyond the underlying maths itself.
Also in Linear Algebra
Related
These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.
Add multiple 2D or 3D vectors component-wise and find the resultant vector with magnitude.
Subtract two vectors component-wise in 2D or 3D, with magnitude and step-by-step work.
Use this dot product calculator to compute the scalar product of 2D or 3D vectors, angle between vectors, cosine similarity, orthogonality, scalar projection.
Calculate the cross product of two 3D vectors with steps, area, unit normal, right-hand-rule direction, and reversed-order checks.