• Mathematics, five units

How do you find the angle between two vectors?

Quick answer

To find the angle between two vectors, calculate their scalar product and divide it by the product of their lengths. The result is the cosine of the angle between them. Applying the inverse cosine function yields the angle. A scalar product of zero means the cosine is zero and the vectors meet at a right angle.

The topic explained

Finding vector length in space

A vector in three-dimensional space has three components corresponding to the x, y, and z axes. Its length, written with double bars around the vector name, is the square root of the sum of the squares of those three components. This is the Pythagorean theorem applied in three dimensions: first across the base plane, and then vertically to the third coordinate.

Because squaring any real number produces a positive value or zero, vector length is always non-negative. If you need the distance between two points in space, subtract the starting point coordinates from the terminal point coordinates to create a displacement vector, then compute its length. Distance and vector length use the exact same calculation.

Calculating the scalar product and angle

To find the angle between two vectors, start with their scalar product, also called the dot product. Multiply matching components together and add the three results. The output is a single number, not another vector. For example, the scalar product of (1, 2, 3) and (2, 1, -4) is (1)(2) + (2)(1) + (3)(-4), which equals 2 + 2 - 12 = -8.

The scalar product equals the length of the first vector times the length of the second vector times the cosine of the included angle. To isolate the angle, divide the scalar product by the product of both lengths to get the cosine value, then take the inverse cosine on your calculator.

What the sign reveals and common pitfalls

The sign of the scalar product reveals the angle without full computation. A positive scalar product means the angle is acute. A negative scalar product means the angle is obtuse. A scalar product of exactly zero means the cosine is zero, which proves the vectors are perpendicular at ninety degrees. This zero test is the fastest way to prove that a triangle contains a right angle.

Watch out for two common errors: never add components before multiplying, and never forget to divide by the product of lengths. If your cosine value turns out greater than 1 or less than -1, you forgot to divide by the vector lengths.

Free printable worksheet

Vector Length and Angle Practice Worksheet

Designed for 12th-grade mathematics students. Compute vector magnitudes, scalar products, and angles between three-dimensional vectors step by step.

Free, no sign-up. The answer key prints on the second page. Regenerating a new worksheet on the same topic needs a free account.

Free printable worksheetlessoons.com
Vector Length and Angle Practice WorksheetName:
  1. Find the length of the vector v = (2, 3, 6).

  2. Find the length of the vector u = (-1, 2, -2).

  3. Calculate the scalar product of a = (3, -1, 4) and b = (2, 5, 1).

  4. Determine whether vectors u = (1, 2, 3) and v = (2, 1, -4) are perpendicular.

  5. Find the angle between the vectors p = (1, 0, 0) and q = (0, 1, 0).

  6. Find the exact angle between u = (1, 1, 0) and v = (0, 1, 1).

More topics and worksheets at lessoons.com© 2026 Lessons

Common questions

What is the difference between vector addition and the scalar product?

Vector addition combines matching components and produces a new vector with three components. The scalar product multiplies matching components and adds those numbers together, producing a single scalar value.

Can the length of a vector ever be negative?

No. Vector length represents a geometric distance in space. Because each component is squared before summing, the radicand is always non-negative, yielding a length greater than or equal to zero.

How do you know if two vectors are perpendicular without finding the angle?

Calculate their scalar product. If the scalar product is zero, the vectors are perpendicular. You do not need to calculate their lengths or use inverse cosine.

Why is my cosine value greater than 1 when finding an angle?

A cosine value outside the range of -1 to 1 means you forgot to divide the scalar product by the lengths of the two vectors. Divide by both magnitudes before taking the inverse cosine.

Still have a question? Ask Lessi

Any question about this subject. Lessi answers right here, step by step.

Try asking

Asking needs a free account; your question is kept while you sign up. Answers are written by AI and can contain mistakes. Lessi doesn’t give medical or legal advice.

Learn it with a teacher

Learn this topic live with Lessi

Lessi, the AI teacher, explains it out loud on a board, with short quizzes, at your pace. The first 60 minutes are free.

Prefer a private teacher?

Private teachers for Mathematics, Five Units

Teachers on Lessoons, online or face to face. Each profile opens on the Lessoons site.

See all 2,728 teachers