Dot Product Calculator

Find the dot product of two 2D vectors.

Dot product 10
Angle between (°) 26.565

Formula: A·B = aₓbₓ + a_yb_y

Step-by-step with your numbers:
1. Values used:
2. Vector A — x = 3
3. Vector A — y = 4
4. Vector B — x = 2
5. Vector B — y = 1
6.
7. Dot product = 10
8. Angle between = 26.565°
Did we solve your problem today?

The dot product measures how much two vectors point the same way.

How the Math Works

The dot product measures how much two vectors align with each other by multiplying their corresponding components and summing the results. For two-dimensional vectors A = (aₓ, aᵧ) and B = (bₓ, bᵧ), we calculate A·B = aₓbₓ + aᵧbᵧ, which gives us a single number representing their combined magnitude in the same direction. When the dot product is zero, the vectors are perpendicular; positive values indicate acute angles between them, while negative values show obtuse angles.

Practical Applications

In engineering and physics, the dot product calculates work done by forces, projections of one vector onto another, and determines angles between structural elements. Computer graphics uses it for lighting calculations, determining how much light hits a surface based on the angle between the light direction and surface normal. Machine learning algorithms employ dot products in similarity measures and neural network computations to quantify relationships between feature vectors.

Day-to-Day Use

You encounter dot products in everyday technology like GPS navigation, where your movement vector is compared against map routes to determine efficiency. Smartphone screens use dot product calculations in touch sensitivity and screen orientation. Even streaming services apply this concept when recommending content by measuring the 'alignment' between your viewing history vector and available movie vectors to predict your preferences.

Worked example

(3,4)·(2,1) = 10.

FAQ

Zero dot product?

The vectors are perpendicular (90°).