Quaternion Calculator

Quaternion Calculator

Add, subtract, multiply, or normalize quaternions with a layout that keeps the live result visible beside the inputs.

Last updated: June 2026 | By Patchworkr Team

Quaternion 1
Quaternion 2
Calculation steps
w = 1 + 0 = 1
x = 2 + 1 = 3
y = 3 + 0 = 3
z = 4 + 0 = 4
Sum
1 + 3i + 3j + 4k
Operation
Quaternion addition adds each component separately.

What Are Quaternions?

A quaternion is a four-part number written as w + xi + yj + zk. Quaternions are used in 3D rotation, computer graphics, robotics, and other applications that need stable orientation math.

This calculator supports the common component-wise operations as well as normalization, which scales a quaternion to unit length.

How To Use The Quaternion Calculator

  1. Enter the four components for Quaternion 1.
  2. Enter the four components for Quaternion 2 when using add, subtract, or multiply.
  3. Choose the operation you want to calculate.
  4. Read the live result panel and the component breakdown.

Worked Example

If Quaternion 1 is 1 + 2i + 3j + 4k and Quaternion 2 is 0 + 1i + 0j + 0k, then addition gives 1 + 3i + 3j + 4k.

w = 1 + 0 = 1
x = 2 + 1 = 3
y = 3 + 0 = 3
z = 4 + 0 = 4

Frequently Asked Questions

Is quaternion multiplication commutative?

No. The order of multiplication matters.

What does normalization do?

It scales the quaternion so its magnitude becomes 1.

Can I use negative values?

Yes. Any finite real value is accepted in each component.

Does the calculator support decimal inputs?

Yes. Decimal values are allowed for all quaternion components.

Related Tools