Dot Product of Two 2D Vectors (Components)

a⃗⋅b⃗=axbx+ayby\vec{a}\cdot\vec{b} = a_x b_x + a_y b_y

Units aren’t used in this calculation: every value is a plain number.

sig figs

Worked example: (3, 4)·(2, −1) → 2. Press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value.

Where Dot Product of Two 2D Vectors (Components) fits

Missing an input?
Your answer feeds
In this toolkit

See also

Dot Product of Two 3D Vectors (Components): Both use dot product and vector x component.Angle Between Two 2D Vectors (Components): Both use vector x component and vector y component.Cross Product z-Component of Two 2D Vectors: Both use vector x component and vector y component.Direction Angle of a 2D Vector: Both use vector x component and vector y component.Magnitude of a 2D Vector: Both use vector x component and vector y component.Magnitude of a 3D Vector: Both use vector x component and vector y component.
5 more relatedDot Product from Magnitudes and Included Angle: Both use dot product.Scalar Projection of One Vector onto Another: Both use dot product.y-Component from Magnitude and Angle: Both use vector y component.Unit Vector Component (Normalization): Both use vector x component.x-Component from Magnitude and Angle: Both use vector x component.
Here the solver did the work. Could you?

The dot product →

Grade 12Grade 12 Math

Test your skills in the Exam Room: new numbers every attempt. Free lessons for students, no sign-up, just pure learning. Find 1 more lesson on this formula.

See your Report Card
Learning zone

Dot Product of Two 2D Vectors (Components) explained

ayaxbybxa·b

The dot product pairs up matching components, multiplies, and adds, and the answer is a plain number, not a vector. That single scalar measures agreement of direction: positive when two vectors broadly point the same way, zero when they are perpendicular, negative when they oppose. Example: (3, 4)·(2, −1) = 6 − 4 = 2, a small positive number, meaning the two arrows lean the same way but only just. Change b to (4, −3) and the product is 12 − 12 = 0: exactly perpendicular, which is far easier to test this way than by measuring any angle.

The notation is younger than the idea. Through the 1880s Hamilton's quaternions were the standard tool for three-dimensional algebra, and their product mixed a scalar part with a vector part in one unwieldy object. Josiah Willard Gibbs at Yale, printing lecture notes privately for his students, and Oliver Heaviside in England, working on Maxwell's equations, independently tore that product in half: keeping the scalar piece as the dot product and the vector piece as the cross product. Quaternion loyalists fought the change bitterly in the pages of Nature; Gibbs and Heaviside won, and every physics course since teaches their version.

Dot Product of Two 2D Vectors (Components) formula

a⃗⋅b⃗=axbx+ayby\vec{a}\cdot\vec{b} = a_x b_x + a_y b_y
Where
  • a⃗⋅b⃗\vec{a}\cdot\vec{b}= Dot product
  • axa_x= x-component of a
  • aya_y= y-component of a
  • bxb_x= x-component of b
  • byb_y= y-component of b
Revised 31 October 2026
Cite this page

formula.expert. (2026, October 31). Dot Product of Two 2D Vectors (Components) Calculator. https://formula.expert/solvers/dot-product-2d