Rotation Calculator
Rotation shows up in geometry homework, game development, robotics and computer graphics, and the two questions people actually ask are different: what angle do I end up at, and where does my point land. Most online tools answer only one of them. This calculator does both in one tabbed tool: rotate an angle clockwise or counterclockwise and get the final angle, the normalized 0–360° angle, the radian equivalent and the number of complete rotations, or rotate a 2D point (x, y) by any angle and get the new coordinates with the rotation matrix shown.
Rotation matrix applied: x′ = x·cos θ − y·sin θ, y′ = x·sin θ + y·cos θ.
Quick Answer
Start at 30° and rotate 400° clockwise: the final angle is −370.00°, which normalizes to 350.00° (6.1087 radians) after 1 complete rotation. Rotate the point (3, 4) by 90° counterclockwise and it lands on (−4.0000, 3.0000), still exactly 5 units from the origin. The calculator above is pre-filled with both examples.
Key takeaways
- Clockwise rotation subtracts the angle; counterclockwise adds it. Anything past 360° wraps around, which is what the normalized angle shows.
- The radian figure always comes from the normalized angle, so it sits between 0 and 2π (about 6.2832).
- Point rotation uses the rotation matrix: x′ = x·cos θ − y·sin θ, y′ = x·sin θ + y·cos θ, with θ in radians.
- A rotation never changes distances: the check line confirms the point is as far from the origin after the move as before. If it is not, something is wrong with the arithmetic, not the geometry.
How to use the rotation calculator
Pick the tab that matches your question. The angle tab rotates a direction; the point tab moves a coordinate. Results stay hidden until you calculate.
- Rotate an angle: enter the initial angle and the rotation angle in degrees, choose clockwise or counterclockwise, and click Calculate rotation. You get the final angle, the normalized 0–360° equivalent, the radian value and the count of complete rotations. The tab is pre-filled with 30° and 400° clockwise from the Quick Answer.
- Rotate a point: switch to the Rotate a point tab, enter the x and y coordinates, the rotation angle and the direction. The tool returns the new coordinates, the angle in radians that was applied, and the distance from the origin, which should match the original distance. Pre-filled with (3, 4) rotated 90° counterclockwise.
- Copy or share: each results panel has its own Copy my results and Share results buttons, so you can paste the numbers straight into homework, a report or code.
One honest boundary: the point tab rotates about the origin (0, 0). To rotate about another center, translate your point so the center sits at the origin, rotate, then translate back. That three-step move is exactly what the formula section below generalizes.
The rotation formulas
Angle rotation is signed addition. With θ as the rotation angle in degrees: final = initial − θ for clockwise, final = initial + θ for counterclockwise. Normalization wraps any result into the 0–360° range: normalized = final mod 360, adding 360 once if it comes out negative. Radians = normalized × π ÷ 180, and complete rotations = floor(|final| ÷ 360).
radians = normalized × π ÷ 180 | complete rotations = ⌊|final| ÷ 360⌋
x′ = x·cos θ − y·sin θ | y′ = x·sin θ + y·cos θ (point, θ in radians)
The point formulas are the 2D rotation matrix written out, as set out in the Mathwords rotation matrix reference: rotating by θ counterclockwise about the origin maps (x, y) to (x·cos θ − y·sin θ, x·sin θ + y·cos θ). Clockwise rotation is the same matrix with θ negated, which the tool handles when you pick the direction. The matrix is orthogonal with determinant 1, so it preserves every length and angle, which is why the distance check exists. For the full treatment of 2D and 3D rotation matrices, the rotations and rotation matrices textbook chapter walks through the same equations with proofs.
Worked examples, checked step by step
Example 1: angle rotation. Initial angle 30°, rotate 400° clockwise:
Example 2: point rotation. Rotate (3, 4) by 90° counterclockwise. cos 90° = 0, sin 90° = 1, so x′ = 3·0 − 4·1 = −4.0000 and y′ = 3·1 + 4·0 = 3.0000. Original distance: √(3² + 4²) = 5; new distance: √(16 + 9) = 5. Unchanged, exactly as the geometry promises.
The quarter-turn shortcuts worth memorizing
Four angles do almost all the work in practice, and each has a dead-simple rule about the origin. Check any of them against the point tab:
| Rotation | Rule (counterclockwise) | (3, 4) becomes |
|---|---|---|
| 90° | (x, y) → (−y, x) | (−4, 3) |
| 180° | (x, y) → (−x, −y) | (−3, −4) |
| 270° | (x, y) → (y, −x) | (4, −3) |
| 360° | (x, y) → (x, y) | (3, 4), back where it started |
For the angle side of things, the central angle calculator handles arc-and-radius work, and the reference angle calculator reduces any angle to its acute reference. When coordinates rather than angles are the problem, the polar coordinates calculator converts between (x, y) and radius-angle form, and the missing coordinate calculator solves for one coordinate from the other.
What competing rotation calculators miss
The tools for this keyword leave something on the table:
- Point-only tools skip angle arithmetic. The leading point-rotation pages rotate coordinates well, some with arbitrary centers and step-by-step working, but none of them normalize an angle, convert to radians or count complete rotations. The angle tab here covers exactly that half of the keyword.
- Exact trigonometry, not an approximation. A truncated Taylor series lands close for common angles and less exact for odd ones. This tool uses the real Math.cos and Math.sin, so (3, 4) at 45° gives exactly −0.7071 and 4.9497.
- No distance check. A rotation is an isometry: distances cannot change. The point tab shows the origin distance before and after, which must match, so a transcription error is visible at once.
- Older, simpler pages. Some pages are years-old tools with no direction choice and no validation. This page discloses its one real boundary, rotation about the origin, and tells you the translate-rotate-translate workaround instead of pretending the feature exists.
Frequently asked questions
Rotating an angle changes a direction: you start at one heading, turn by some degrees, and land on a new heading. Rotating a point moves a coordinate (x, y) to a new position around the origin. The two tabs above handle each job with the right math.
Apply the rotation formulas with the angle in radians: x′ = x·cos θ − y·sin θ and y′ = x·sin θ + y·cos θ. For clockwise rotation, negate the angle first. The Rotate a point tab does this in one click.
It wraps any angle into the 0 to 360 degree range by taking the remainder after dividing by 360, adding 360 once if the result is negative. So −370° becomes 350°, and 730° becomes 10°. Both point in the same direction as the original.
Yes. A negative initial angle is treated like any other value, and the normalization step wraps it into the 0–360° range. Negative rotation angles work too, though picking the direction dropdown is clearer.
Because rotation is an isometry: it moves every point around the center without stretching anything, so lengths and angles are preserved. The tool shows the distance before and after precisely so you can confirm nothing drifted.
Not directly; the point tab rotates about (0, 0). To rotate about another center, subtract the center from your point, rotate, then add the center back. That translate-rotate-translate sequence is the standard workaround.
No. This is a 2D tool: angles in the plane and points in the xy-plane. 3D rotations need separate matrices for each axis and a rotation order, which is a different calculator.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- Mathwords. Rotation Matrix (2D rotation matrix definition and formula). Accessed October 23, 2026.
- Mathwords. Rotation (rotation formulas about the origin and about an arbitrary point, with worked examples). Accessed October 23, 2026.
- Numerical Praxis textbook. Rotations and rotation matrices (2D and 3D rotation matrices with derivations). Accessed October 23, 2026.
- HiPhish. Understanding Rotation Matrices (rotation matrix derived from the angle-addition identities). Accessed October 23, 2026.
- LibreTexts Engineering. 9.2: Rotation of Reference Frames (rotation transformations and orthonormality). Accessed October 23, 2026.
