Quaternion Calculator
Multiply two quaternions (Hamilton product).
Quaternions extend complex numbers to four dimensions and are used for 3D rotations in graphics and robotics.
The math behind it
The Hamilton product is non-commutative. It combines the scalar parts and the cross/dot products of the vector parts following i² = j² = k² = ijk = −1.
Worked example
(1 + 2i + 3j + 4k)(5 + 6i + 7j + 8k) = −60 + 12i + 30j + 24k.
FAQ
Is quaternion multiplication commutative?
No — q₁q₂ generally differs from q₂q₁.