Unit & Physics
Free 2D & 3D Vector Math Calculator — Dot Product, Cross Product & Magnitude
Vectors are essential mathematical tools in physics, computer graphics, structural mechanics, and navigation. Performing multi-dimensional vector operations like cross products, dot products, and unit vector normalizations by hand requires meticulous calculations. Our free vector calculator provides fast, precise computations for 2D and 3D vector space operations. Use our cross product calculator step by step and vector magnitude solver 3d to compute vector sums, scalar products, vector products, magnitudes, and vector angles in seconds.
2D & 3D Vector Math Calculator
Calculate vector addition, dot product, cross product, magnitude, unit vectors & angles
Mathematical Formulas & Calculation Methods
3D Vector Magnitude Formula |A|
The length of vector A = (ax, ay, az) derived from the 3D Pythagorean theorem.
Dot Product (Scalar Product) A · B
Multiplies corresponding components to produce a scalar number.
Cross Product (Vector Product) A × B
Generates a new 3D vector perpendicular to both input vectors.
Angle Between Vectors θ
Calculates the interior angle θ between vectors A and B.
Worked Step-by-Step Examples
Example 1: 3D Vector Operations for A = (3, 4, 0) and B = (1, 2, 5)
"Find magnitude |A|, dot product A · B, cross product A × B, and angle θ."
Steps:
- Magnitude |A| = √(3² + 4² + 0²) = √(9 + 16) = √25 = 5.0.
- Magnitude |B| = √(1² + 2² + 5²) = √(1 + 4 + 25) = √30 ≈ 5.477.
- Dot Product A · B = (3 × 1) + (4 × 2) + (0 × 5) = 3 + 8 + 0 = 11.
- Cross Product A × B = ((4×5 - 0×2), (0×1 - 3×5), (3×2 - 4×1)) = (20, -15, 2).
- Angle cos(θ) = 11 / (5.0 × 5.477) = 11 / 27.386 = 0.4017 → θ = arccos(0.4017) = 66.32°.
What is 2D & 3D Vector Math Calculator?
A unit vector calculator online scales any non-zero vector down to a magnitude of exactly 1.0 while preserving its directional direction.
The dot product indicates whether two vectors are orthogonal (dot product = 0), pointing in similar directions (positive dot product), or pointing in opposite directions (negative dot product).
The cross product applies exclusively in 3D space to calculate normal vectors needed in 3D rendering, lighting shaders, and torque calculations.
How to Use 2D & 3D Vector Math Calculator
- 1Select dimension: 2D (x, y) or 3D (x, y, z).
- 2Enter components for Vector A and Vector B.
- 3Instantly view calculated magnitudes, dot products, cross products, unit vectors, and angle θ.
Key Features
- Supports both 2D and 3D Cartesian vector spaces.
- Calculates magnitude |A| and |B| step-by-step.
- Computes vector addition (A + B) and subtraction (A - B).
- Computes scalar dot product (A · B) and vector cross product (A × B).
- Calculates unit vectors  and Angle θ in both degrees and radians.
Benefits of Using 2D & 3D Vector Math Calculator
Practical Use Cases
Physics & Statics Students
Calculate force vectors, resultants, torque, and equilibrium moments.
3D Game Developers
Calculate surface normals, directional vectors, and camera ray directions.
Frequently Asked Questions
What is the difference between dot product and cross product?
The dot product results in a scalar (a single number), whereas the cross product (in 3D) results in a new vector that is perpendicular to both original vectors.
Explore Related Calculators
Matrix Calculator
Solve 2x2 & 3x3 matrix determinant, inverse, transpose, addition, & multiplication.
Math & AlgebraLogarithm & Exponential Calculator
Calculate logᵦ(x), natural log ln(x), log₁₀(x) and solve bˣ = y.
Math & AlgebraLCM & GCD (HCF) Calculator
Calculate Least Common Multiple, Greatest Common Divisor & Prime Factors.
Math & AlgebraTrigonometry & Right Triangle Solver
Solve right triangle sides/angles and evaluate sin, cos, tan, cot, sec, csc.