Polar Coordinate Calculator

CNC SETUP
Radius
Angle
Radius = √(X² + Y²). Angle = atan2(Y, X), measured counterclockwise from +X axis.

Why converting to polar coordinates matters

Some CNC controls and programming tasks, like bolt circle patterns or radial features, are easier to think about and enter as a radius and angle rather than an X and Y position. Converting a known Cartesian point into polar form is also a quick way to check a hole position on a drawing against a bolt circle diameter and angle callout.

How the numbers are calculated

Radius equals the square root of X squared plus Y squared, the same Pythagorean relationship used to find the straight-line distance from the origin to the point. Angle equals the arctangent of Y divided by X, measured counterclockwise from the positive X axis, matching the convention most CNC controls and drawings use.

Practical tips

Watch the sign of X and Y carefully when a point falls outside the first quadrant, since a simple arctangent can return an angle in the wrong quadrant unless it accounts for the signs of both coordinates. Most calculators and spreadsheet functions offer a two-argument arctangent specifically to handle this correctly, so use that version rather than dividing Y by X directly when working this out elsewhere.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.