Rotation Matrix 2D
Enter an angle and a point to get the 2D rotation matrix and the transformed coordinates.
Rotation Parameters
Rotation Matrix R(θ)
〈
—
—
—
—
〉
[ [cos θ, −sin θ], [sin θ, cos θ] ]
Rotated Point
x'
—
,
y'
—
Distance from origin:
—
Step-by-step
- Enter values and click Calculate.
Copied!
Summary
Enter an angle and a point to get the 2D rotation matrix and the transformed coordinates.
How it works
- Enter the rotation angle in degrees (or switch to radians).
- Enter the x and y coordinates of the point to rotate.
- The tool computes cos(θ) and sin(θ) to build the 2×2 rotation matrix.
- It multiplies the rotation matrix by the input vector [x, y].
- The rotated point and the full matrix are displayed instantly.
Use cases
- Verify hand-computed rotation matrix entries for a linear algebra problem.
- Rotate a vector or point as part of a computer graphics pipeline.
- Check rotated coordinates when implementing 2D game physics.
- Understand the relationship between angle, cosine, and sine in transformations.
- Convert between standard and rotated coordinate frames in robotics.
- Compose multiple rotations by chaining the resulting matrices.
Frequently Asked Questions
Last updated: 2026-07-24 ·
Reviewed by Nham Vu