Quaternion Length Calculation

Calculator to calculate the length of a quaternion

Quaternion Length Calculator

The function on this page calculates the magnitude (length) of a quaternion. It can calculate the length or the square of the length.

To perform the calculation select the math function that are to be calculated and enter the quaternion values. Then click the Calculate button.

Empty fields are counted as 0.

Quaternion Length Calculator

 Input
Quaternion Result
X Vector =
Y Vector
Z Vector
W Rotation
Calculation
Decimal places

Description


The quaternion represents a vector used to encode three-dimensional physical rotations. It is used to efficiently rotate an object about the (x,y,z) vector by angle theta, where:

w = cos(theta/2)

Array

W - The rotation component of the quaternion.
X - The X value of the vector component of the quaternion.
Y - The Y value of the vector component of the quaternion.
Z - The Z value of the vector component of the quaternion.


Description of the functions

Length (Magnitude)

Calculates the length of the quaternion.

Squared length

Calculates the squared length of the quaternion.

Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?