Quick guide
How to use this calculator
- Give a and b the same dimension.
- Enter their components in matching order.
- Read the exact sum of component products.
Calculation method
Multiply matching components, then add
For a and b with n components, a · b = a₁b₁ + … + aₙbₙ. The result is a scalar.
Worked example
Dot product in three dimensions
For a = ⟨1,2,3⟩ and b = ⟨4,−1,2⟩, add the three component products.
a · b = 1×4 + 2×(−1) + 3×2 = 8
Supported inputs
Precision and limits
Vector size
General vectors may contain 2–8 components; three-dimensional products require exactly three.
Entry precision
Each signed decimal may contain up to 30 digits and 15 decimal places.
Square roots
Squared magnitudes remain exact. Irrational roots and normalized components are explicitly labelled approximations.
