Vector Calculator
A vector calculator is a linear algebra tool that performs mathematical operations on vectors in two-dimensional or three-dimensional Cartesian coordinate space. The calculator supports operations including vector addition, subtraction, scalar multiplication, dot product, cross product, magnitude computation, and angle determination. It applies vector arithmetic formulas, such as multiplying corresponding elements and summing them for dot products, to ensure perfect precision. Physics and engineering students use this utility to analyze forces and spatial rotations.
Pick 2D or 3D, pick an operation, and the calculator returns the result. Supports the standard list of vector operations used in geometry, physics, and graphics.
Quick Answer
Perform vector algebra operations in 2D or 3D space. Enter vector coordinates to calculate addition, subtraction, dot product, cross product, and magnitude.
Dimension
Operation
Vector A
Vector B
Dot product A · B
32
Dot product checks orthogonality (zero means perpendicular). Cross product gives a vector perpendicular to both inputs whose magnitude equals |A||B|sin θ.
Examples
(1,2,3) · (4,5,6)
= 32
(1,0,0) × (0,1,0)
= (0, 0, 1)
|(3,4)|
= 5
angle((1,0), (0,1))
= 90°
How it works
Each operation is the standard one taught in linear algebra class. Component-wise for add/subtract/scalar; sums of products for dot; the right-hand-rule formula for cross; Pythagorean for magnitude; division by magnitude for unit vector.
Magnitude · |A| = √(x² + y² + z²)
Dot product · A · B = Σᵢ Aᵢ · Bᵢ
Cross product (3D) · A × B = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁)
Angle · cos θ = (A · B) / (|A| · |B|)
Learn the concept
These guides explain what the vectors this tool adds are describing.
Related calculators
- Matrix calculator for matrix operations that act on vectors as columns.
- Angle converter for switching the resulting angle between degrees and radians.
- Right triangle calculator when the question reduces to a right triangle.
- Distance formula calculator for the magnitude of the difference between two points.
- Scientific calculator for arithmetic checks.
- All education calculators.
Related Calculators
More tools from Education



