Vector Calculator
Perform various vector operations in 2D or 3D space.
Select Operation
Select Dimension
Results
Vector 1:
0
Vector 2:
0
Result:
0
Vector Visualization
How it works
Vector operations are performed component-wise:
- Addition: (a₁, a₂) + (b₁, b₂) = (a₁ + b₁, a₂ + b₂)
- Subtraction: (a₁, a₂) - (b₁, b₂) = (a₁ - b₁, a₂ - b₂)
- Dot Product: (a₁, a₂) · (b₁, b₂) = a₁b₁ + a₂b₂
- Cross Product (3D): (a₁, a₂, a₃) × (b₁, b₂, b₃) = (a₂b₃ - a₃b₂, a₃b₁ - a₁b₃, a₁b₂ - a₂b₁)
- Angle: θ = arccos((a·b)/(|a||b|))