Dot Product Calculator

Scalar product of two vectors, plus the angle between them.

Math Calculators Free, no sign-up Runs in your browser

Dot Product Calculator tool

Leave at 0 for a 2D vector.

—
Dot product
—
|a|
—
|b|
—
Angle between
—
Relationship
MeasureValue

About the Dot Product Calculator

Dot Product Calculator multiplies two vectors componentwise and adds the results, giving a single number rather than a vector — which is why it is also called the scalar product. Leave the z components at zero and it works for two-dimensional vectors unchanged.

The sign of the answer is the useful part. A positive dot product means the vectors point broadly the same way, negative means broadly opposite, and exactly zero means they are perpendicular. That last fact is the standard test for a right angle in coordinate geometry and in computer graphics, and it needs no trigonometry at all.

The angle itself follows from a · b = |a||b| cos θ, which the page rearranges and shows. The magnitudes are given alongside because they are what turn the dot product into an angle, and because a zero-length vector has no direction, so no angle exists.

The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.

Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.

More tools: FreeToolsHub.org

How to use the Dot Product Calculator

  1. Enter vector a — x, vector a — y and vector a — zDecimals are fine, and thousands separators are accepted and ignored.
  2. Read the dot product, |a| and |b|The figures update as you type. The Calculate button is there if you would rather press something, but nothing waits for it.
  3. Copy or check the resultCopy the summary with the copy button, or open the table to check it row by row and read the formula with your own numbers in it.

What the Dot Product Calculator does

  • Shows dot product, |a|, |b|, angle between and relationship together, so you are not running it twice
  • A results table you can read across
  • Prints the formula with your own figures substituted in
  • Updates as you type, with no button to press and no page reload
  • Copy the result in one click
  • Free, no sign-up, and it runs entirely in your browser

Who uses the Dot Product Calculator

The Dot Product Calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:

  • Finding the angle between two vectors
  • Testing whether two vectors are perpendicular
  • Working out the component of one vector along another
  • Checking a vector algebra answer

Common questions about the Dot Product Calculator

What is the dot product?

The sum of the products of matching components: a₁b₁ + a₂b₂ + a₃b₃. The result is a single number, not a vector.

What does a dot product of zero mean?

The vectors are perpendicular, provided neither has zero length. It is the quickest test for a right angle between two directions.

How do I get the angle from it?

Rearrange a · b = |a||b| cos θ to cos θ = (a · b) / (|a||b|), then take the inverse cosine. The page shows that step.

Can I use it for 2D vectors?

Yes. Leave both z components at zero and everything — the product, the magnitudes and the angle — comes out correctly for two dimensions.

If the Dot Product Calculator is not quite what you need, these other free tools solve closely related problems, and there are 35 more in math calculators.

Slope Calculator

Slope between two points, with angle and line equation.

Geometry Calculators Use tool

Midpoint Calculator

Midpoint, missing endpoint and any division ratio.

Geometry Calculators Use tool

Square Root Calculator

Square root, simplified radical form, square and cube root.

Math Calculators Use tool

Checked and rebuilt on 2026-10-18. The method this calculator uses is described in the section above, and corrections go through the contact page.