The standard Euclidean inner product — identical to the dot product in ℝⁿ, written in the more general notation linear algebra prefers. Switch to a weighted inner product, and read off the induced norm, distance, and angle, with every step shown.
Standard Euclidean inner product — identical to the dot product.
3 components · ⟨1, 2, 3⟩
3 components · ⟨4, −5, 6⟩
Norm, angle, and distance are all induced by the standard inner product.
An inner product takes two vectors and returns one number that measures how much they point in the same direction. On ordinary coordinate vectors it is exactly the dot product — but the name signals a more general idea: any rule that behaves like a dot product (symmetric, linear, positive) counts, including weighted sums and products of functions. That generality is what lets a single operation define length, distance, and angle in a vector space.
Three steps for the standard inner product — and one extra factor if you are weighting.
Write the vectors so each component of u sits above the matching component of v. They must have the same length.
Multiply the first components together, the second together, and so on. For a weighted inner product, also multiply each term by its positive weight wᵢ.
Sum those products. The single number you get is the inner product.
The same procedure scales from flat 2D vectors to the higher dimensions used in data — and bends to a weighted inner product when components should not count equally.
Two flat plane vectors.
An operation only earns the name “inner product” if it obeys these rules. Together they guarantee it induces a sensible length and angle.
A handful of clean consequences of the axioms make the inner product easy to work with.
More general than the dot product, the inner product is the engine behind geometry, statistics, and modern machine learning.
The two terms are often used interchangeably, and on ordinary coordinate vectors they compute the same number. The difference is one of scope.

The determinant of a matrix is a single number that tells you whether the matrix is invertible and how it scales area or volume. This guide shows the 2×2 and 3×3 formulas with worked examples and the rules that save time.

Learn the dot product formula for 2D, 3D, and n-dimensional vectors, what the sign means, how to find an angle, and where projections come from.

Learn what an inner product is, the axioms it must satisfy, and how dot products, weighted products, complex vectors, and functions fit the definition.