My Cart
Your Cart 0

    Your cart is empty.

  • Total (Amount) ₹0.00
Mathematics · Interactive tool

Quaternion Algebra and Rotations

Calculate Hamilton quaternion operations and active three-dimensional rotations.

Your inputs

Result

Calculated output

Enter inputs to calculate.

Quaternion q=w+xi+yj+zk; i²=j²=k²=ijk=−1. q*=(w,−x,−y,−z); |q|=sqrt(w²+x²+y²+z²); q⁻¹=q*/|q|².

Axis-angle: q=(cos(θ/2),u sin(θ/2)), where u is the normalized rotation axis. Active right-handed rotation is q(0,v)q⁻¹.

Euler convention: intrinsic ZYX (yaw, pitch, roll), q=qz(yaw)qy(pitch)qx(roll). Output pitch is in [−π/2,π/2]; at gimbal lock yaw and roll are not individually unique and roll is set to zero. Quaternion signs q and −q represent the same rotation.