Advertisement

Polar coordinates calculator

Choose a direction of conversion. Use consistent coordinate units; angle selectors accept degrees, radians and turns.

Calculator

Cartesian x
3.00000000
Cartesian y
4.00000000
Radial distance r
5.00000000
Azimuth theta
53.1301
Angle convention
Azimuth in [0, 360) degrees

Advertisement

How this calculator works

Cartesian coordinates measure perpendicular offsets. The radial coordinate measures distance from the origin in the xy plane. Azimuth turns anticlockwise from positive x when viewed from positive z. A nonnegative radius is required. On the axis, azimuth is omitted because no direction is singled out.

Formula

x = r cos(theta), y = r sin(theta); r = hypot(x, y), theta = atan2(y, x) reduced to [0, 2pi).

Worked example

The point (3, 4) has radius 5 and azimuth about 53.130102 degrees. Radius 2 at 90 degrees converts to (0, 2), apart from floating-point roundoff.

Advertisement

Frequently asked questions

Why use atan2 instead of arctangent?

atan2 uses both coordinate signs to place the angle in the correct quadrant and handles vertical directions.

What happens at the origin?

The radius is zero. Azimuth is undefined and is omitted.

Are these latitude and longitude?

No. These are geometric coordinates. Convert geographic locations before applying this flat coordinate system.

Sources

Advertisement