A point rotation calculator answers a question that appears everywhere from GCSE coordinate geometry to game engines: where does a point end up after being turned by a given angle about a given centre? The arithmetic is two lines long and the sign errors are relentless, which is why a tool that shows the working is more useful than one that just prints an answer.
This page rotates one point as its headline result and any number of additional points at the same time, which is how you rotate an entire polygon in one step. It reports the radius from the centre before and after as a built-in check, prints the rotation matrix it used, and states the direction convention explicitly rather than leaving you to guess. Arb Digital built it after watching the same two mistakes — rotating about the origin when the problem said otherwise, and reversing the direction — account for nearly every wrong answer.
What This Point Rotation Calculator Does
Enter a point, a centre of rotation, an angle and a direction. The tool returns the image of the point, the radius from the centre, the bearing of the point before and after the rotation, and the net rotation reduced into the range from −180° to 180° so you can see at a glance what a 750° turn actually did.
The optional list underneath rotates as many extra points as you paste into it, one per line, which covers the common case of turning a whole shape. The detail panel shows the 2×2 rotation matrix for your angle, the translate–rotate–translate decomposition when the centre is not the origin, and a verification line confirming that the distance from the centre is unchanged.
Angles can be given in degrees, radians or turns. Quarter turns are exact: a 90° rotation of (3, 1) about the origin gives exactly (−1, 3), with no floating-point residue in the zeros, because the tool substitutes exact values for the sine and cosine at multiples of 90° instead of relying on the trigonometric functions to return exactly zero.
How to Use It
- Enter the point you want to rotate as an x and a y coordinate.
- Enter the centre. Leaving it at (0, 0) rotates about the origin, which is what most textbook problems assume unless they say otherwise.
- Enter the angle and pick a unit. Degrees are the default; radians and turns are there for physics and animation work respectively.
- Choose the direction. Anticlockwise is the positive mathematical convention and is selected by default.
- Paste extra points into the list, one
x,ypair per line, to rotate a full shape and read the whole transformed vertex list at once.
The Formula: How It Is Calculated
Rotating a point (x, y) anticlockwise by an angle θ about the origin gives:
x′ = x·cos θ − y·sin θ and y′ = x·sin θ + y·cos θ.
Written as a matrix, that is the standard 2D rotation matrix [cos θ, −sin θ; sin θ, cos θ] multiplying the column vector (x, y). Its determinant is cos²θ + sin²θ = 1, which is the algebraic statement that rotation preserves area and orientation, and its inverse is its transpose, which is the statement that rotating back by −θ undoes it exactly.
Rotating about a centre other than the origin uses the same matrix wrapped in a translation. Subtract the centre from the point, apply the rotation, then add the centre back: P′ = C + R(P − C). That sequence — translate to the origin, rotate, translate back — is the single most useful idea in the whole topic, because it reduces every rotation to the one case you already know how to do.
The Quarter-Turn Shortcuts Worth Memorising
Four rotations about the origin come up so often that they are worth knowing without computation. A 90° anticlockwise turn sends (x, y) to (−y, x). A 180° turn sends it to (−x, −y). A 270° anticlockwise turn — equivalently 90° clockwise — sends it to (y, −x). And 360° returns the point to itself.
Checking those against the general formula is a good way to confirm you have the signs right. At θ = 90°, cos θ = 0 and sin θ = 1, so x′ = −y and y′ = x, which matches. If your working gives (y, −x) for a 90° anticlockwise turn, you have applied the clockwise matrix, which is the same matrix with the sign of the sine terms flipped.
These shortcuts also explain why exam questions favour multiples of 90°: the answers stay in exact integer coordinates. Any other angle produces irrational coordinates for integer inputs, which is fine for a calculator and awkward for a mark scheme.
Why Direction Conventions Cause So Much Trouble
In mathematics, positive angles run anticlockwise, because that is the direction in which the standard unit circle is traversed and the direction in which sine and cosine are defined. In screen graphics the y-axis conventionally points downward rather than upward, which mirrors the plane and makes the same positive angle appear to turn clockwise on screen.
Nothing is wrong in either system; they are consistent internally and inconsistent with each other. The practical consequence is that code ported from a maths reference into a canvas or SVG context turns the wrong way, and the fix is either to negate the angle or to flip the y-axis, never both. If your rotation looks mirrored rather than merely reversed, you have done both.
Compass bearings add a third convention: they measure clockwise from north rather than anticlockwise from east. Converting between a bearing and a standard mathematical angle means both a rotation of the zero point and a reversal of direction, which our angle converter and coterminal angle calculator help with when the numbers need normalising into a standard range.
Rotating a Shape Rather Than a Point
A polygon is rotated by rotating each of its vertices about the same centre by the same angle. Nothing else is required, because rotation is a linear transformation composed with a translation, so straight edges stay straight and the connectivity is unchanged. The extra-points box on this page exists for exactly that: paste the vertex list, read the rotated list back.
The choice of centre changes the result completely even though the shape's own size and form do not change. Rotating a rectangle about its own centroid spins it in place; rotating the same rectangle about one of its corners swings it through an arc. Both are 90° rotations of an identical shape, and they end up in entirely different positions. When a problem says "rotate about the point (2, 3)", that centre is not decoration.
Composing two rotations about the same centre simply adds the angles. Composing two rotations about different centres does not — the result is a rotation by the sum of the angles about a third centre entirely, unless the angles cancel to a multiple of 360°, in which case the composition is a pure translation. That last fact surprises most people the first time they meet it and is worth testing here with two runs of the tool.
What Rotation Preserves, and What It Does Not
Rotation is a rigid motion — MathWorld classes it as an orientation-preserving orthogonal transformation about a fixed point. It preserves distances between points, angles between lines, areas, and orientation, so a clockwise-wound triangle stays clockwise-wound. That is why the radius from the centre appears in the results grid: it is a free correctness check that costs nothing and catches most arithmetic errors immediately.
What rotation does not preserve is alignment with the axes. A rectangle with sides parallel to the axes stops being axis-aligned the moment you rotate it by anything other than a multiple of 90°, and its axis-aligned bounding box grows. Anyone doing collision detection or layout work hits this quickly: the bounding box of a rotated shape is not the rotation of its bounding box, and treating them as interchangeable produces gaps and overlaps that are hard to trace.
For the related transformations, our polar coordinates converter expresses the same point as a radius and an angle, which makes a rotation nothing more than adding to the angle. The coordinates converter handles the broader set of coordinate systems, and the vector calculator covers the vector operations that underlie all of it.
Arb Digital builds browser tools, configurators and interactive graphics that run without heavy libraries. If your site needs geometry that works on a phone, we can build it.
Web Design Services Talk to Arb DigitalCommon Mistakes to Avoid
- Rotating about the origin when the problem gave a centre — the shape ends up in a completely different place, even though its size and form are right.
- Reversing the direction — (−y, x) is a 90° anticlockwise turn and (y, −x) is clockwise, and swapping them is the commonest single error in the topic.
- Forgetting to translate back — the sequence is subtract the centre, rotate, add the centre, and stopping after step two leaves the shape at the origin.
- Mixing degrees and radians — most programming languages take radians, most homework is in degrees, and the mismatch produces a plausible-looking but wrong answer.
- Assuming a rotated bounding box is the bounding box of the rotation — it is not, and the difference matters in layout and collision work.
Related Free Tools From Arb Digital
Work alongside this with the polar coordinates converter, where a rotation is just an addition to the angle, the coordinates converter for moving between systems, the angle converter for degrees, radians, gradians and turns, the coterminal angle calculator for reducing large angles into a standard range, the vector calculator for the underlying vector arithmetic, and the matrix calculator if you want to multiply the rotation matrix yourself. The full list is in the free online tools hub.
Frequently Asked Questions
An anticlockwise 90° rotation sends (x, y) to (−y, x). So (3, 1) becomes (−1, 3). A clockwise 90° rotation sends (x, y) to (y, −x) instead, which for the same point gives (1, −3).
Subtract the centre from the point, apply the rotation matrix, then add the centre back: P′ = C + R(P − C). The rotation matrix itself only ever rotates about the origin, so the two translations are what move the pivot.
In standard mathematics a positive angle is anticlockwise, matching the direction the unit circle is traversed. Screen graphics often appear to reverse this because the y-axis points downward, so the same positive angle looks clockwise on screen.
No. Rotation is a rigid motion: it preserves all distances, all angles, areas and orientation. Only the position and the alignment with the coordinate axes change, which is why this tool reports the radius from the centre as a correctness check.
Rotate every vertex about the same centre by the same angle and reconnect them in the same order. Because rotation is linear, straight edges stay straight and nothing else needs recalculating. Paste your vertex list into the extra-points box to do it in one step.
Because sine and cosine of angles like 90° are computed in floating point and do not come out exactly zero. This tool substitutes exact values at multiples of 90° to avoid that, so quarter turns of integer coordinates return clean integers.
The point lands in the same place as the equivalent angle within one full turn, because rotations repeat every 360°. The tool reports the net rotation reduced into the range from −180° to 180° so you can see the effective turn immediately.
This page performs exact coordinate geometry on the values you enter. Results are computed in double-precision floating point, so coordinates from non-quarter-turn angles carry the usual small rounding at the far decimal places.