What the Dot Product Tells You
The dot product multiplies matching components of two vectors and adds them: a · b = a₁b₁ + a₂b₂ + … It gives one number, not a vector. That number measures how much the two vectors point the same way.
| Result | Meaning | Angle |
|---|---|---|
| Positive | Pointing broadly the same way | Acute, below 90° |
| Zero | Perpendicular (orthogonal) | Exactly 90° |
| Negative | Pointing broadly opposite ways | Obtuse, above 90° |
Two Ways to Compute It
Algebraically, add the products of the components. Geometrically, a · b = |a||b|cos θ. Putting them together gives the formula for the angle between vectors.
a = (3, −2, 5), b = (4, 1, 2)
- a · b = 3·4 + (−2)·1 + 5·2 = 12 − 2 + 10 = 20.
- |a| = √(9 + 4 + 25) = √38 ≈ 6.164.
- |b| = √(16 + 1 + 4) = √21 ≈ 4.583.
- cos θ = 20 ÷ (6.164 × 4.583) ≈ 0.708, so θ ≈ 44.9°.
Answer: a · b = 20, θ ≈ 44.9°
a = (2, 3), b = (−3, 2)
- 2·(−3) + 3·2 = −6 + 6 = 0.
Answer: a · b = 0, so a ⊥ b
Projection: How Much of a Lies Along b
The projection of a onto b is (a · b ÷ b · b) b. It is the shadow of a on the line through b, and it is the formula behind “work done by a force”: moving an object by d = (3, 4) m under a force F = (10, 5) N does F · d = 30 + 20 = 50 J of work, because only the component of the force along the motion counts.
Find k: Making Vectors Perpendicular
Set the dot product to zero
- 4k − 2 + 6 = 0.
- 4k = −4.
Answer: k = −1
When k appears in both vectors you get a quadratic. For (k, 3) and (k, −12): k² − 36 = 0, so k = 6 or k = −6. The calculator handles both cases.
Dot Products Beyond 3D
Nothing changes in more dimensions: you still add the products. Search engines and AI models rely on this. Two text embeddings with hundreds of components are compared by cosine similarity, which is exactly a · b ÷ (|a||b|). A value near 1 means very similar and near 0 means unrelated. For vectors with more than three components the calculator draws each product aᵢbᵢ as a bar, so you can see which components drive the result.
What We Think Is Overrated, Underrated and Wrong
A Worked Example With Real Numbers
For a = (1, 2, 3) and b = (4, 5, 6): a·b = 4 + 10 + 18 = 32. The lengths are |a| = √14 = 3.742 and |b| = √77 = 8.775, so cos θ = 32 ÷ 32.83 = 0.9746 and θ ≈ 12.93°.
In physics, work is a dot product: a 10 N force at 30° to a 5 m displacement does 10 × 5 × cos 30° = 43.30 J.
Our Take: What Is Overrated, Underrated and Plain Wrong
Overrated: the component formula alone. a·b = |a||b| cos θ is what explains why the result tells you the angle.
Underrated: the zero test. Two non-zero vectors are perpendicular exactly when their dot product is 0.
Plain wrong: saying the dot product is a vector. It is a single number.
Dot Product Mistakes That Cost Marks
- Multiplying vectors that have different numbers of components.
- Forgetting minus signs on negative components.
- Using degrees in a calculator set to radians when finding the angle.
- Confusing a · b with the cross product a × b.
- Dividing by |b| instead of |b|² in the projection formula.
Why Students Get Stuck on Dot Products, and What a Good Calculator Should Do
Searching for help with dot products usually starts late at night with one problem that will not work out. It gives a number, not a vector, and the angle formula is easy to misuse. A good calculator fixes that by showing each step, checking its own answer and explaining the idea in plain words. This section covers what students struggle with, what they want, and how this page responds.
In short: students need to use the dot product to find angles and test for perpendicular vectors, not just see a final number, and a calculator earns trust only when its steps can be checked.
Understand the pain points
What students get stuck on
Most mistakes here are not about arithmetic. They come from one rule applied the wrong way round, which is why seeing every step matters.
- Treating the result as a vectorDot product of (1,2,3) and (4,-5,6)↗
- Forgetting that a zero dot product means perpendicularAngle between (1,0) and (1,1)↗
- Rounding the angle too earlyDot product of (2,3) and (-3,2)↗
- Mixing up the dot product and the cross productDot product of (1,2,3) and (3,2,1)↗
Understand the frustrations and desires
What they feel, and what they want
Each frustration points to a wish: a clearer step, a built-in check, an explanation in plain words.
- Wants the multiply-and-add shown
- Wants the angle in degrees and radians
- Wants the projection of one vector onto another
Build the page around their intent
Each intent has a place on this page
The page follows intent, not features, so each need has a clear starting point.
- I need an answer now: type the problem into the calculator at the top of this page.Dot product of (1,2,3) and (4,-5,6)↗
- I need to understand: the sections below explain the idea in plain words and list the common mistakes.
- I need to check my work: every step is shown, so the first line that differs from yours is the one to study.
- I need practice: open the solver, tap + and choose Create Practice Test.
- I need it explained aloud: in the solver, tap + and choose Create Video.