What would you like to understand?

Popular destinationsCalculatorsCoursesPracticeFormulas

Unlock Premium Help

Explore every tutor and study workspace for seven days, with no daily AI cap during the trial.

Choose a billing period
Ask a parent to pay

Nothing is charged during the first seven days. Unless you cancel, the plan you selected begins when the trial ends and renews on its stated schedule. Manage cancellation from your plan page. Stripe handles the payment details.

Unit Vector Calculator

Normalize a nonzero vector to length one without changing its direction.

Describe the mathematical object

Unit Vector inputs

Enter components or matrix values in the order shown. Dimensions are checked before the operation runs.

Vector resultEnter the known values

The method, result, and an independent check will appear here.

Method for this result

  1. Complete the inputs and calculate.

Magnitude or dot-product check

  1. The check will use a different relationship or reverse operation where possible.

Objects, dimensions, and roles

Symbols and inputs for Unit Vector Calculator
SymbolQuantityMeaning
vThe original vectorIts components can be any units: metres, newtons, or plain numbers.
|v|MagnitudeThe length of v, always positive, in the same unit as the components.
ûUnit vectorSame direction, length 1, and no unit at all because the units cancel in the division.
cos α, cos β, cos γDirection cosinesThe three components of û. Each is the cosine of the angle between v and one axis.

The operation and what it preserves

û = v / |v|, where |v| = √(v₁² + v₂² + v₃²)

Follow one object through the operation

  1. The vector: v = (3, −6, 6)
  2. Square each component: 3² = 9, (−6)² = 36, 6² = 36
  3. Add and take the square root: |v| = √(9 + 36 + 36) = √81 = 9
  4. Divide every component by 9: û = (3/9, −6/9, 6/9)
  5. Simplify: û = (1/3, −2/3, 2/3) ≈ (0.3333, −0.6667, 0.6667)
  6. Check the length is 1: √(1/9 + 4/9 + 4/9) = √(9/9) = √1 = 1
  7. Read the direction angles: cos α = 1/3 gives α = 70.53° from the x-axis, and cos γ = 2/3 gives γ = 48.19° from the z-axis

Vectors, their lengths, and the unit vector that comes out

Vectors, their lengths, and the unit vector that comes out
Vector v|v|Unit vector û
(3, 4)5(0.6, 0.8)
(−5, 12)13(−0.3846, 0.9231)
(1, 1)√2 ≈ 1.4142(0.7071, 0.7071)
(2, 3, 6)7(0.2857, 0.4286, 0.8571)
(3, −6, 6)9(0.3333, −0.6667, 0.6667)
(1, 0, 0)1(1, 0, 0), already a unit vector
(0, 0, 0)0undefined, there is no direction to keep

Change the vector or matrix case

  1. A different case: a 2D vector and its compass angle: v = (−5, 12)
  2. Magnitude: √(25 + 144) = √169 = 13
  3. Unit vector: û = (−5/13, 12/13) ≈ (−0.3846, 0.9231)
  4. Find the angle from the positive x-axis: θ = 112.62°, in the second quadrant because x is negative and y is positive
  5. Confirm from the angle: (cos 112.62°, sin 112.62°) = (−0.3846, 0.9231), matching û exactly
  6. Now try the zero vector: v = (0, 0, 0) has |v| = 0
  7. The division fails: 0/0 is undefined, so the zero vector has no unit vector and no direction

Order and dimension mistakes to catch

û = (3, −6, 6) / 9 = (0.333, −6, 6)

Only the first component was divided. The division applies to every component.

Repair: û = (3/9, −6/9, 6/9) = (0.3333, −0.6667, 0.6667).

|v| = 3 + (−6) + 6 = 3

Components were added instead of squared, added and rooted, so the sign cancellation destroys the length.

Repair: √(9 + 36 + 36) = 9.

Rounding û to (0.33, −0.67, 0.67) and using it in later work

Its length is 1.0033, not 1, and that error compounds through every dot product afterwards.

Repair: Keep the exact fractions 1/3, −2/3, 2/3, or carry at least six decimals.

Questions about the transformed result

What is a unit vector actually for?

It separates direction from size. A force of 90 N along (3, −6, 6) is just 90 × û, and a directional derivative needs the direction alone with the length stripped out, which is exactly what û supplies.

What are direction cosines?

They are the three components of û, and each one is the cosine of the angle between v and an axis. For (3, −6, 6) they are 1/3, −2/3 and 2/3, giving axis angles of 70.53°, 131.81° and 48.19°. Their squares always add to 1.

Does the zero vector have a unit vector?

No. Its length is 0, and dividing by 0 has no answer. That matches the geometry: the zero vector has no direction to preserve, so any code doing this needs a guard before it divides.

Is a unit vector the same thing as a normalized vector?

Yes, they are two words for the identical object. 'Unit vector' names the result and 'normalize' names the action of producing it, which is why i, j and k are the standard unit vectors along the three axes.

Understand the result from Unit Vector Calculator

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.

Calculators related to Unit Vector Calculator

See all calculators →

Matrix calculator

Explore this resource with editable values, visible working, and a result you can check.

Open free tool

3D calculator

Explore this resource with editable values, visible working, and a result you can check.

Open free tool

Graphing calculator

Explore this resource with editable values, visible working, and a result you can check.

Open free tool

Understand vectors and linear algebra behind this calculator

A calculator can check the arithmetic; use the vectors and linear algebra subject guide to rebuild the method, vectors and linear algebra practice questions to test selection, and the math formula library to confirm conditions and notation.