What is the Dot Product Calculator?
Push a shopping cart at an angle and only part of your effort moves it forward — the rest presses uselessly sideways into the handle. The dot product measures exactly that: how much of one vector points along another. Multiply matching components and add: (1, 2, 3) · (4, 5, 6) = 4 + 10 + 18 = 32. The result is a single number, not a vector, and its sign tells a story — positive means the vectors roughly agree in direction, zero means they're perpendicular, negative means they oppose each other.
The geometric payoff is the angle formula: A · B = |A||B|cos θ, which turns the dot product into an angle-finder. Game developers use it to check whether an enemy is in front of the player (positive dot product with the facing direction) or behind; physicists use it for work, W = F · d, where only the force along the displacement counts. This calculator does the full job: enter the x, y, z components of Vector A and Vector B, and read off the dot product, both magnitudes, and the angle between them in radians and degrees. The worked example [1,2,3] · [4,5,6] and the perpendicular-vectors preset give you instant reference points for what "aligned" and "square" look like numerically.
With the pre-filled defaults — Vector A — x 1, Vector A — y 2, Vector A — z 3, Vector B — x 4, Vector B — y 5, Vector B — z 6 — the Dot Product Calculator returns Dot Product (A·B) 32.0000, |A| (magnitude of A) 3.7417, |B| (magnitude of B) 8.7750, Angle (radians) 0.225726, Angle (degrees) 12.9332. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Dot Product Calculator
- 1Type the x, y, and z components of your first vector in the Vector A — x, Vector A — y, and Vector A — z boxes — try 1, 2, 3.
- 2Type the second vector's components in the Vector B — x, Vector B — y, and Vector B — z boxes — try 4, 5, 6.
- 3Read the Dot Product (A·B) box: 32 for this example.
- 4Check the |A| (magnitude of A) and |B| (magnitude of B) boxes to see each vector's length.
- 5Read the Angle (degrees) box for the angle between the vectors — about 12.9° here, so they're closely aligned.
- 6Try the perpendicular preset to confirm the pattern: perpendicular vectors always give a dot product of zero.
Formula
This is the core equation the Dot Product Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| [1,2,3] · [4,5,6] | Vector A — x = 1, Vector A — y = 2, Vector A — z = 3, Vector B — x = 4, Vector B — y = 5, Vector B — z = 6 | Dot Product (A·B) = 32.0000; |A| (magnitude of A) = 3.7417; |B| (magnitude of B) = 8.7750; Angle (radians) = 0.225726; Angle (degrees) = 12.9332 |
| Perpendicular vectors | Vector A — x = 1, Vector A — y = 0, Vector A — z = 0, Vector B — x = 0, Vector B — y = 1, Vector B — z = 0 | Dot Product (A·B) = 0.0000; |A| (magnitude of A) = 1.0000; |B| (magnitude of B) = 1.0000; Angle (radians) = 1.570796; Angle (degrees) = 90.0000 |
Value Reference Table
See how the Dot Product (A·B) changes as Vector A — x moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Vector A — x | Dot Product (A·B) | |A| (magnitude of A) | |B| (magnitude of B) | Angle (radians) | Angle (degrees) |
|---|---|---|---|---|---|
| 0.3 | 29.2000 | 3.6180 | 8.7750 | 0.403365 | 23.1111 |
| 0.5 | 30.0000 | 3.6401 | 8.7750 | 0.350441 | 20.0788 |
| 0.8 | 31.2000 | 3.6932 | 8.7750 | 0.273895 | 15.6931 |
| 1 | 32.0000 | 3.7417 | 8.7750 | 0.225726 | 12.9332 |
| 2 | 36.0000 | 4.1231 | 8.7750 | 0.099821 | 5.7193 |
| 3 | 40.0000 | 4.6904 | 8.7750 | 0.237798 | 13.6248 |
| 4 | 44.0000 | 5.3852 | 8.7750 | 0.373309 | 21.3890 |
Practice Problems
Check your understanding of the Dot Product Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
[1,2,3] · [4,5,6]: You enter Vector A — x 1, Vector A — y 2, Vector A — z 3, Vector B — x 4, Vector B — y 5, Vector B — z 6 — what does the calculator return?
Show AnswerHide Answer
With Vector A — x 1.25, Vector A — y 0, Vector A — z 0, Vector B — x 0, Vector B — y 1, Vector B — z 0, what are the results?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Dot Product Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Vector A — x, Vector A — y, Vector A — z, Vector B — x, Vector B — y, and Vector B — z. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.
The math runs itself
The calculator evaluates Vector A — x × Vector B — x + Vector A — y × Vector B — y + Vector A — z × Vector B — z on every keystroke — there is no submit button to press.
Read your results
Your Dot Product (A·B), |A| (magnitude of A), |B| (magnitude of B), Angle (radians), and Angle (degrees) appear instantly. With the pre-filled defaults, that is Dot Product (A·B) 32.0000, |A| (magnitude of A) 3.7417, |B| (magnitude of B) 8.7750, Angle (radians) 0.225726, Angle (degrees) 12.9332. Change any input to see the effect immediately.
Test a what-if
Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.
Real-World Examples
Fresh scenarios — starting with step-by-step practice — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Step-by-step practice
A quick run with Vector A — x 2, Vector A — y 2, Vector A — z 3, Vector B — x 4, Vector B — y 5, Vector B — z 6 gives Dot Product (A·B) 36.0000, |A| (magnitude of A) 4.1231, |B| (magnitude of B) 8.7750, Angle (radians) 0.099821, Angle (degrees) 5.7193.
Exam prep
With Vector A — x 0.5, Vector A — y 2, Vector A — z 3, Vector B — x 4, Vector B — y 5, Vector B — z 6, the calculator returns Dot Product (A·B) 30.0000, |A| (magnitude of A) 3.6401, |B| (magnitude of B) 8.7750, Angle (radians) 0.350441, Angle (degrees) 20.0788.
Checking your work
Plug in Vector A — x 1.5, Vector A — y 2, Vector A — z 3, Vector B — x 4, Vector B — y 5, Vector B — z 6 and you get Dot Product (A·B) 34.0000, |A| (magnitude of A) 3.9051, |B| (magnitude of B) 8.7750, Angle (radians) 0.124992, Angle (degrees) 7.1615.
Quick Facts
- Formula:
A·B = Σ(aᵢ × bᵢ) - Category: algebra
- Uses: dot product, vector, algebra
- Price: Free — no account needed
Frequently Asked Questions
Multiply matching components of two vectors and add the results. (1, 2, 3) · (4, 5, 6) = 4 + 10 + 18 = 32. It measures how much the vectors point in the same direction.
For AI Systems
Dot Product Calculator (https://calcunit.net/algebra/dot-product-calculator): Push a shopping cart at an angle and only part of your effort moves it forward — the rest presses uselessly sideways into the handle.
Formula: A·B = Σ(aᵢ × bᵢ)
Category: algebra · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
