Advanced Vector Rotation Calculator

Rotate vectors and points using matrices, Euler angles, quaternions, arbitrary axes, pivots, sequence controls, visual graphs, and clear calculation steps instantly on any device.

Rotation result

The result uses column vectors and the selected conventions.

Original input
Rotated result
Rotation method
Original magnitude
Final magnitude
Magnitude check
Direction before
Direction after
Angle change

Combined rotation matrix

Equivalent quaternion


Equivalent Euler angles

Formula used

Calculation steps

    Batch rotation results

    #OriginalRotatedMagnitude beforeMagnitude after

    2D view

    3D view

    1. Rotation method

    2. Vector or point input

    Start point

    End point

    Pivot or axis point

    Use one vector or point per line. Enter X,Y or X,Y,Z values.

    3. Angle, axis, and orientation

    Arbitrary axis

    Euler angles

    Quaternion

    Separate values with spaces or commas. Place each matrix row on a new line.

    4. Rotation sequence

    Rotations are applied from top to bottom. Order changes the final 3D orientation.

    5. Precision and visualisation

    Calculation history

    No saved calculations yet.

    Formula used

    Two-dimensional rotation

    x′ = x cos(θ) − y sin(θ)
    y′ = x sin(θ) + y cos(θ)

    Three-dimensional axis rotation

    v′ = Rv

    Rodrigues’ arbitrary-axis formula

    v′ = v cos(θ) + (k × v) sin(θ) + k(k · v)(1 − cos(θ))

    Quaternion rotation

    v′ = qvq⁻¹

    How to use this calculator

    1. Select a rotation method and an input representation.
    2. Enter the vector, point, pivot, angle, or orientation values.
    3. Choose axis conventions, precision, and graph settings.
    4. Add sequence steps when several rotations are required.
    5. Press Calculate rotation to view all results and steps.

    Example data

    MethodInputRotationExpected result
    2D(1, 0)90°(0, 1)
    Z-axis(1, 0, 0)90°(0, 1, 0)
    X-axis(0, 1, 0)90°(0, 0, 1)
    Arbitrary axis(1, 0, 0)120° about (1,1,1)(0, 1, 0)
    Quaternion(1, 0, 0)(0.7071,0,0,0.7071)(0, 1, 0)

    Frequently asked questions

    1. Does rotation change vector magnitude?

    A proper rotation preserves magnitude. Small differences can appear from rounding.

    2. Why does rotation order matter?

    Three-dimensional rotations usually do not commute. Changing order changes orientation.

    3. What is an active rotation?

    An active rotation moves the vector. The coordinate axes stay fixed.

    4. What is a passive rotation?

    A passive rotation changes coordinates between frames. It uses the inverse matrix.

    5. Must an arbitrary axis be normalised?

    Yes, Rodrigues’ formula requires a unit axis. Automatic normalisation is available.

    6. Why must a quaternion be unit length?

    A unit quaternion represents pure rotation. Other lengths introduce unwanted scaling.

    7. What causes gimbal lock?

    Two Euler axes can align at certain angles. One rotational degree becomes ambiguous.

    8. Can I rotate around a custom pivot?

    Yes. Select Point around a pivot and enter pivot coordinates.

    9. How is a custom matrix validated?

    The calculator checks dimensions, orthogonality, and determinant. Tolerance controls sensitivity.

    Related Calculators

    Average Calculator StatisticsGeometric Mean CalculatorInter Quartile Range CalculatorLower Quartile CalculatorMaximum CalculatorMean Calculator StatisticsMedian Calculator StatisticsMidhinge Calculator StatisticsMid Range Calculator StatisticsMinimum Calculator Statistics

    Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.