Category

Rotation Calculator — Rotate a Point Around the Origin or Any Pivot

Rotate a point in the coordinate plane around the origin or an arbitrary pivot by any angle. Enter the point, pivot, angle (degrees or radians) and direction (clockwise or counterclockwise) to get the rotated coordinates with a step-by-step solution and the rotation matrix. Supports metric (mm, cm, m, km) and US/Imperial (in, ft, yd, mi) units.

0 calculations

Rotation Parameters

Enter the parameters

Fill in the form to rotate a point around the origin or an arbitrary pivot.

What is a rotation in coordinate geometry?

A rotation in coordinate geometry is a simple operation that transforms the coordinates of a point by turning it around a fixed pivot. Usually the pivot is the origin (0, 0), but the equations generalize to any point.

There are two directions of rotation:

  • Counterclockwise rotation — assigned a positive angle;
  • Clockwise rotation — assigned a negative angle.

Rotations are isometric transformations: the relative distances between points are conserved, so a rotated shape is always congruent to the original one.

How to calculate the rotation of a point

Calculating the rotation of a point is an exercise in trigonometry. Once you set the coordinates of the point (x₋, y₋), you choose the angle of rotation θ in either degrees or radians, and the direction (positive for counterclockwise, negative for clockwise).

To rotate a point around the origin, start with the x-coordinate:

x′ = x₋·cos(θ) − y₋·sin(θ)

and then the vertical coordinate with a similar formula:

y′ = x₋·sin(θ) + y₋·cos(θ)

The point rotated around the origin now lies at (x′, y′).

For example, rotating (4, 3) by 90° counterclockwise about the origin gives x′ = 4·cos90° − 3·sin90° = −3 and y′ = 4·sin90° + 3·cos90° = 4, so the image is (−3, 4).

Calculate the rotation by an angle around an arbitrary point

When the pivot (a, b) is not the origin, you rotate in three steps:

  1. Translate the point so the pivot becomes the origin: x₋ − a, y₋ − b.
  2. Rotate the translated point around the origin with the formulas above.
  3. Translate back by adding the pivot coordinates again.

Putting it together gives the general rotation formulas about an arbitrary pivot (a, b):

x′ = a + (x₋ − a)·cos(θ) − (y₋ − b)·sin(θ)
y′ = b + (x₋ − a)·sin(θ) + (y₋ − b)·cos(θ)

Calculating a rotation in geometry with the matrix formalism

A rotation about the origin can be written compactly as a matrix–vector product. The rotation matrix is:

R(θ) = [ cosθ  −sinθ ; sinθ  cosθ ]

Multiplying it by the column vector of the point gives the rotated coordinates:

[ x′ ; y′ ] = R(θ) · [ x₋ ; y₋ ]

For a rotation about an arbitrary pivot, subtract the pivot from the point before the multiplication and add it back afterward.

Metric vs. US (Imperial) units

A rotation angle is dimensionless, and the rotated point keeps the same units as the input. The unit selector only affects how the coordinates are labelled:

  • Metric system: millimeters (mm), centimeters (cm), meters (m), kilometers (km).
  • US / Imperial system: inches (in), feet (ft), yards (yd), miles (mi).

How to use our angle rotation calculator

  1. Choose your unit system (metric or US) and the coordinate unit.
  2. Enter the point (x₋, y₋) you want to rotate.
  3. Enter the pivot (a, b) — leave it at (0, 0) to rotate around the origin.
  4. Type the rotation angle and pick degrees or radians.
  5. Select the direction: counterclockwise (positive) or clockwise (negative).
  6. Read off the rotated point (x′, y′), together with a step-by-step solution and the rotation matrix.

FAQs

Which direction is positive?
By convention, counterclockwise rotations use positive angles and clockwise rotations use negative angles. This calculator lets you pick the direction directly, so you can always enter a positive angle value.
How do I rotate a point 90° counterclockwise about the origin?
The mapping is (x, y) → (−y, x). For example, (4, 3) becomes (−3, 4).
How do I rotate 180°?
A 180° rotation about the origin sends (x, y) to (−x, −y), regardless of direction.
Can I rotate around a point other than the origin?
Yes. Enter the pivot coordinates (a, b). The calculator translates to the pivot, rotates, and translates back automatically.
Does a rotation change the shape or size of a figure?
No. A rotation is an isometry — it preserves distances and angles, so the rotated figure is congruent to the original.

Calculation History

Loading...