AmesWeb
Vector Calculator
Calculate vector magnitude, vector angle, vector direction,
and vector components for 2D and 3D vectors. This free
vector calculator converts between component form and
magnitude with angle.
Vector Magnitude, Angle, Direction and Components Calculator
Use this page as a vector magnitude calculator, vector angle calculator,
vector direction calculator, vector component calculator,
component form calculator, or 3D vector calculator.
Calculator Inputs
Vector Components
Magnitude and Direction Angle(s)
Use “.” as the decimal separator.
Results
|A| = √(Ax² + Ay²)
What this means
Enter values and click Calculate to convert between vector components and magnitude with direction angles.
2D Vector Diagram
For 2D vectors, the calculator also draws the vector from the origin and shows its x and y components.
How to Use the Vector Calculator
- Select Vector Components if you know x, y, and optionally z.
- Select Magnitude and Angle if you know the vector size and direction.
- Choose 2D or 3D mode.
- Enter the known values.
- Click Calculate to get magnitude, angle, direction, and component form.
Examples
| Case |
Input |
Use case |
| 2D vector |
A = <5, -6> |
Find magnitude and angle of a vector |
| 3D vector |
A = <3, 4, 12> |
Use as a 3D vector calculator |
| 2D magnitude-angle |
|A| = 10, θ = 30° |
Find x and y components of a vector |
| 3D magnitude-angle |
|A| = 15, θx = 60°, θy = 45°, θz = 60° |
Convert direction angles to component form |
About This Vector Calculator
This tool calculates vector magnitude, direction angle, and vector components for both 2D and 3D vectors. It can also convert between component form and magnitude-angle form, making it useful for common vector calculations in physics, mathematics, and engineering.
FAQ
How do you calculate the magnitude of a vector?
For a 2D vector, use √(x² + y²). For a 3D vector, use √(x² + y² + z²).
How do you find the direction angle of a vector?
In 2D, use atan2(y, x). In 3D, direction angles come from the direction cosines.
Can this calculator find vector components from magnitude and angle?
Yes. In 2D, it returns x and y components. In 3D, it returns x, y, and z components.
Is this also a component form calculator?
Yes. It converts between component form and magnitude-angle form for 2D and 3D vectors.
References
- Giancoli, Douglas C. Physics: Principles with Applications. Pearson.
- Halliday, Resnick, Walker. Fundamentals of Physics.
- OpenStax. University Physics. Vector fundamentals and component methods.