Unit Vector Calculator
Enter a 2D or 3D vector and instantly get its unit vector, magnitude, and step-by-step normalization.
Vector Components
Mode:
Step-by-step Working
Result
Enter a vector on the left to see the unit vector here.
Magnitude ||v||
Unit Vector û = v / ||v||
Notation
Copied!
Summary
Enter a 2D or 3D vector and instantly get its unit vector, magnitude, and step-by-step normalization.
How it works
- Choose 2D or 3D mode using the toggle.
- Enter the x, y (and optionally z) components of your vector.
- Click "Calculate" or press Enter to compute.
- The tool calculates the magnitude: ||v|| = sqrt(x² + y² + z²).
- Each unit vector component is displayed: x/||v||, y/||v||, z/||v||.
- Copy any result value with one click.
Use cases
- Finding a normalized direction vector for 3D graphics or game physics.
- Computing surface normals in computer graphics.
- Normalizing feature vectors before machine learning calculations.
- Checking homework answers for linear algebra assignments.
- Converting displacement vectors to pure direction in navigation.
- Physics problems requiring a direction-only representation of a force.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu