Home / Dot Product Calculator

Dot Product Calculator

The dot product combines corresponding components of two three-dimensional vectors. It is used in projections, angle calculations, work, and other vector relationships.

How to use this calculator

  1. Enter x, y and z components for each vector. The calculator shows the scalar product, both magnitudes and the angle when defined.
  2. Check the labels and units before applying the result to a real task.
  3. Change one input at a time when comparing scenarios.

Formula and method

A·B = aₓbₓ + aᵧbᵧ + a_zb_z = |A||B|cos(θ)

  • A·B = aₓbₓ + aᵧbᵧ + a_zb_z = |A||B|cos(θ)
  • Vector components must use compatible units and coordinate conventions. The angle is undefined if either vector has zero magnitude.

Worked examples

Worked example

For A = (1, 2, 3) and B = (4, 5, 6), calculate the scalar product.

A·B = 1×4 + 2×5 + 3×6 = 32.

A·B = 1×4 + 2×5 + 3×6 = 32.

Understanding the result

The dot product combines corresponding components of two three-dimensional vectors. It is used in projections, angle calculations, work, and other vector relationships.

Vector components must use compatible units and coordinate conventions. The angle is undefined if either vector has zero magnitude.

Important notes

Vector components must use compatible units and coordinate conventions. The angle is undefined if either vector has zero magnitude.

Displayed values are rounded for readability; retain appropriate precision when continuing a calculation.

Frequently asked questions

Is the dot product a vector?

No. The dot product returns a scalar number. The cross product, by contrast, returns a vector in three dimensions.

What does a zero dot product mean?

For non-zero vectors, a zero dot product means the vectors are perpendicular. A zero vector also makes the dot product zero, so check magnitudes.

Can vector units be mixed?

Components should be expressed consistently. If A and B represent physical quantities, the resulting units are the product of their component units.

Affiliate recommendations

Tools related to Dot Product Calculator

These tools are selected for the calculator topic. The Calc Studio may earn a commission from purchases made through affiliate links.

  • Growth Wise SAT & ACT prep Visit partner ↗

    SAT and ACT study tools, flashcards, and preparation resources for students.

See the Affiliate Disclosure for details.

Related calculators

  • Cross Product Calculator — Calculate the three-dimensional cross product vector and its magnitude using the right-hand-rule convention.
  • Vector Magnitude Calculator — Calculate the magnitude of a two- or three-dimensional vector from its components.
  • 2×2 Matrix Calculator — Add, subtract and multiply 2×2 matrices and calculate each determinant with transparent row and column inputs.
  • Arc Length Calculator — Calculate circular arc length and sector area from a radius and central angle in degrees.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.
  • Pythagorean Theorem Calculator — Find the hypotenuse of a right triangle from the two perpendicular sides.

Related explanations

Learn the method behind the number or compare the terminology before using the calculator.

  • Percentage Change vs Percentage Difference — Understand the difference between percentage change and percentage difference, including when each formula is appropriate.
  • How to Calculate Days Between Dates — Learn how date intervals work, including leap years and inclusive vs exclusive day counting.
  • Standard Deviation — Understand standard deviation as a measure of spread and the difference between population and sample standard deviation.

This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.

Explore more calculation resources

Keep exploring related tools, explanations, conversions, and topic pages in The Calc Studio. These links are selected around the subject of this page so you can move to the next useful calculation without returning to search.

Related calculators

  • Cross Product Calculator — Calculate the three-dimensional cross product vector and its magnitude using the right-hand-rule convention.
  • Vector Magnitude Calculator — Calculate the magnitude of a two- or three-dimensional vector from its components.
  • Arc Length Calculator — Calculate circular arc length and sector area from a radius and central angle in degrees.
  • 2×2 Matrix Calculator — Add, subtract and multiply 2×2 matrices and calculate each determinant with transparent row and column inputs.
  • Pythagorean Theorem Calculator — Find the hypotenuse of a right triangle from the two perpendicular sides.
  • Annulus Area Calculator — Calculate the area between two concentric circles from the outer and inner radii.
Browse by categoryMath CalculatorsBusiness CalculatorsDate & Time CalculatorsConstruction CalculatorsFinancial CalculatorsHealth & Fitness Calculators

Task collections

  • Math & Statistics Calculators — Free math and statistics calculators for Bayes theorem, set operations, matrices, complex numbers, vector products, normal distributions, averages, percentages, standard deviation, geometry, equations, and number systems.
  • Calculators for Students — Free student calculators for grades, percentages, fractions, probability, normal distributions, matrices, vectors, complex numbers, statistics, geometry, and scientific math.
  • Science & Electronics Calculators — Free science and electronics calculators for projectile motion, force, buoyancy, fluid pressure, Reynolds number, heat transfer, capacitors, RC time constants, resistance, and electrical relationships.
  • Time & Date Calculators — Free time and date calculators for age, date differences, date arithmetic, business days, time duration, time zones, and countdowns.

Related guides

  • How to Calculate Days Between Dates — Learn how date intervals work, including leap years and inclusive vs exclusive day counting.
  • Percentage Change vs Percentage Difference — Understand the difference between percentage change and percentage difference, including when each formula is appropriate.
  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.

Related terms

  • Slope — Learn what slope means and how to calculate the slope between two points.
  • Ohm's Law — Understand Ohm's law and the relationship between voltage, current, and resistance.
  • Standard Deviation — Understand standard deviation as a measure of spread and the difference between population and sample standard deviation.

Useful conversions

  • °C to °F — Convert Celsius to Fahrenheit with a free temperature converter, formula, examples, and common temperatures.
  • °F to °C — Convert Fahrenheit to Celsius with a free temperature converter, formula, examples, and common temperatures.
  • cm to feet — Convert centimeters to feet with a free cm to feet converter, formula, examples, and a quick reference table.

Browse all calculators · Read all guides · Open the glossary · See all converters · Browse collections

Want to keep learning? Move from a calculator to its formula guide, glossary definition, unit conversion, or task collection to compare related methods and tools.

Optional Premium: save calculation history across visits and remove promotional blocks. See Premium.