Rotation Calculator

Enter points, an angle and a centre to find the rotated points.

Type points as (x, y), separated by commas. Three or more draw a shape.

How far to turn; negative turns clockwise.

The x-coordinate of the centre; 0 if left empty.

The y-coordinate of the centre; 0 if left empty.

Try

Result

You entered(1,2), (3,1), 90∘ about (0,0)\left(1, 2\right),\ \left(3, 1\right),\ 90^\circ \text{ about } \left(0, 0\right)

(−2,1), (−1,3)\displaystyle \left(-2, 1\right),\ \left(-1, 3\right)

Rule

(x,y)→(−y,x)\displaystyle \left(x, y\right) \to \left(-y, x\right)
Show the work
  1. Rotation about a point

    A rotation turns every point about the centre (h,k)=(0,0)(h, k) = \left(0, 0\right) through the angle θ=90∘\theta = 90^\circ, anticlockwise when it is positive, and keeps its distance from the centre. Subtract the centre, turn, then add the centre back. Here cos⁡θ=0\cos\theta = 0 and sin⁡θ=1\sin\theta = 1.

    Using x′=h+(x−h)cos⁡θ−(y−k)sin⁡θy′=k+(x−h)sin⁡θ+(y−k)cos⁡θx' = h + \left(x - h\right)\cos\theta - \left(y - k\right)\sin\theta \quad y' = k + \left(x - h\right)\sin\theta + \left(y - k\right)\cos\theta

  2. The rule on the first point

    Put the first point, (1,2)\left(1, 2\right), through the rule to see how it works before doing the rest.

    x′=0+(1−0)×0−(2−0)×1=−2y′=0+(1−0)×1+(2−0)×0=1\begin{gathered} x' = 0 + \left(1 - 0\right) \times 0 - \left(2 - 0\right) \times 1 = -2 \\ y' = 0 + \left(1 - 0\right) \times 1 + \left(2 - 0\right) \times 0 = 1 \end{gathered}
  3. Apply the rule to every point

    The same rule is applied to each of the 2 points. Each row shows a point and its image.

    (1,2)→(−2,1)(3,1)→(−1,3)\begin{array}{rcl} \left(1, 2\right) & \to & \left(-2, 1\right) \\ \left(3, 1\right) & \to & \left(-1, 3\right) \end{array}
  4. Result

    So the image after the rotation by 90° about (0, 0) is (−2,1), (−1,3)\left(-2, 1\right),\ \left(-1, 3\right).

Worked examples