Vector Calculator

Perform vector operations in 2D and 3D space. Calculate dot product, cross product, magnitude, and more.

Vector Calculator
Vector A
Vector B
Operations (A & B)
Single Vector (A)

About Vector Calculator

This calculator handles operations for 2D and 3D vectors. Vectors are mathematical objects that have both magnitude and direction, widely used in physics, engineering, and computer graphics.

How to Use?

  1. Select 2D or 3D mode at the top right of the calculator.
  2. Enter the X, Y, (and Z) components for Vector A and Vector B.
  3. Click on an operation button to see the result.

Features

  • 2D & 3D Support: Switch seamlessly between two and three dimensions.
  • Vector Arithmetic: Add and subtract vectors easily.
  • Products: Calculate Dot Product (scalar) and Cross Product (vector, 3D only).
  • Analysis: Find Magnitude, Unit Vector, and the Angle between two vectors.

FAQ

What is a Dot Product?

The dot product (scalar product) of two vectors is a real number equal to the product of their magnitudes multiplied by the cosine of the angle between them. Algebraically, it is the sum of the products of the corresponding components.

What is a Cross Product?

The cross product (vector product) of two vectors in 3D space is a vector that is perpendicular to both input vectors. Its magnitude is equal to the area of the parallelogram spanned by the vectors.

How do you find the Angle between vectors?

The angle θ can be found using the dot product formula:A · B = |A| |B| cos(θ). Therefore, θ = arccos((A · B) / (|A| |B|)).