Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Point Rotation about a Center

Rotate a planar point counterclockwise around a chosen center.

Geometry workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaX = cx+(x-cx)*cos(angle*PI/180)-(y-cy)*sin(angle*PI/180); Y = cy+(x-cx)*sin(angle*PI/180)+(y-cy)*cos(angle*PI/180)
Sources and model references

Worked example

Inputs

X
3 number
Y
1 number
CX
1 number
CY
1 number
Counterclockwise rotation
90 degrees

Expected results

X
1 number
Y
3 number

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs using consistent units.
  2. Check the stated assumptions and calculate.
  3. Review each output and compare another input scenario.

Try this example

{
  "x": 3,
  "y": 1,
  "cx": 1,
  "cy": 1,
  "angle": 90
}

Accuracy and scope

Finite floating-point arithmetic; results can lose precision near singular or extreme inputs.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.