Vector Calculator
Dot Product / Cross Product / Angle / Projection
Vector A
Vector B
Vector Calculator Guide
Supported Operations
- Dot Product: A·B = ax×bx + ay×by + az×bz
- Cross Product: A×B (3D only), result is a vector
- Magnitude: |A| = √(x²+y²+z²)
- Angle: cosθ = A·B / (|A|×|B|)
- Projection: proj_B(A) = (A·B/|B|²) × B
- Normalization: A/|A|, unit vector
Usage Tips
- Switch between 2D and 3D modes
- Cross product only works with 3D vectors
- All calculations done locally in your browser
- Angle results displayed in degrees