Dot Product Calculator

Find the dot product of two vectors and the angle between them. Enter both vectors, components separated by commas.

Dot Product
Scalar result.

Usage Tip

Projection, work in physics, and similarity in machine learning all rest on the dot product.

THE MATH
A · B = sum of products of matching components
cos(angle) = (A · B) ÷ (|A| |B|)
The dot product combines two vectors into a single number, related to how aligned they are.
Zero means perpendicular; positive means a similar direction, negative the opposite.
Enter two vectors of equal length.
The angle between them and both magnitudes are shown.
The dot product is zero exactly when the vectors are perpendicular.
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.