- Mathematics, five units
How do you find the angle between two vectors?
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.
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.
Find the length of the vector v = (2, 3, 6).
Find the length of the vector u = (-1, 2, -2).
Calculate the scalar product of a = (3, -1, 4) and b = (2, 5, 1).
Determine whether vectors u = (1, 2, 3) and v = (2, 1, -4) are perpendicular.
Find the angle between the vectors p = (1, 0, 0) and q = (0, 1, 0).
Find the exact angle between u = (1, 1, 0) and v = (0, 1, 1).
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.
Private teachers for Mathematics, Five Units
Teachers on Lessoons, online or face to face. Each profile opens on the Lessoons site.
Featured teacher דביר הראלMathematics, Five Units teacher₪200 / hourרמת גןבואו להתחיל איתי את השנה החדשה בתחושת ביטחון עצמי והבנה מעמיקה של החומר! אצלי גדלים מנצחים. אני הייטקיסט בעל רקע רב שנים בהוראת מתמטיקה בתיכון, מדעי המחשב ואנגלית.Full profile
אבירם יעקביאןMathematics, Five Units teacher₪230 / hourראשון לציוןבוגר מתמטיקה בהצטיינות מהטכניון, מרצה ומתרגל מצטיין. בעל ניסיון עשיר ורב שנים. מלמד מתמטיקה בגובה העיניים, סבלני ואיכפתי:)Full profile
בנימין דוידובMathematics, Five Units teacher₪120 / hourאשקלוןמורה פרטי למתמטיקה/פיזיקה מזה כשבע שנים המלמד בצפון ובדרום - מגיש לבגרויות בכל הרמות טלפון - **********Full profile
יובל שפיראMathematics, Five Units teacher₪80 / hourעתליתיובל, בת 23 מעתלית, בוגרת 5 יח״ל מתמטיקה בציון 95, בעלת ניסיון בהדרכה והוראה. מציעה תגבור, הכנה למבחנים וחיזוק הבסיס. סבלנית, אחראית וניידת עם רכב 😊Full profile
נועם חביהMathematics, Five Units teacher₪100 / hourחיפהשמי נועם, גרה בקריות, מורה פרטית למתמטיקה מרמת ביסודי עד לרמת הגשה לבגרויות.Full profile
נועה טלMathematics, Five Units teacher₪130 / hourתל אביב -יפומורה פרטית לביולוגיה, מתמטיקה ומדעי המחשב. BSc בביולוגיה ומדעי המחשב + MSc בהנדסה (אונ׳ תל אביב)Full profile
אליהו רושהMathematics, Five Units teacher₪160 / hourירושליםבס"ד בוגר תואר ראשון במתמטיקה מהטכניון, מעל 16 שנים ניסיון בשיעורים פרטיים. שיעורים בכל הרמות- בגרויות עד סטודנטים בתואר ראשון.Full profile
עמרי שפרMathematics, Five Units teacher₪170 / hourירושליםסטודנט תואר שני להנדסת גרעין כימית בחו"ל, עם נסיון של שנים בהוראת מתמטיקה ומדעים באופן פרטי וכמורה בבתי ספר. כרגע בשל התואר מלמד רק בזום.Full profile