Polar Coordinates Calculator
- Radius r = sqrt(x^2 + y^2) = sqrt(3.00^2 + 4.00^2) = 5.00.
- Angle = atan2(y, x) = atan2(4.00, 3.00) = 53.13°, measured from the positive x-axis.
A polar coordinates converter translates points between rectangular (Cartesian) form and polar form. Polar coordinates locate a point by distance r from the origin and angle theta from the positive x-axis, using the formulas x = r cos(theta) and y = r sin(theta). Converting backwards, r = sqrt(x^2 + y^2) and theta = atan2(y, x). For example, the point (3, 4) converts to r = 5.00 at theta = 53.13 degrees (0.9273 radians), while r = 10.00 at 60.00 degrees converts back to x = 5.00, y = 8.66. The point (-5, 12) yields r = 13.00 at theta = 112.62 degrees, landing in the second quadrant, which is why atan2 (not plain arctan) is required.
This method is the accepted standard because polar form is the natural language of rotation: AC circuit phasors, radar, antenna patterns and complex numbers (r at angle theta is the modulus-argument form) all live here. Angles are not unique in polar form: adding 360 degrees, or negating r and adding 180 degrees, names the same point, a feature used deliberately in phasor and antenna work. This page shows the formula, step-by-step workings, worked examples and sources.
Worked examples
Point (3, 4) to polar
Primary result: r = 5.00, θ = 53.13° — the classic 3-4-5 triangle. (Rectangular to polar · 3 · 4 · 0 · 0 °)
| Coordinate conversion | r = 5.00, θ = 53.13° |
| Radius r | 5.00 |
| Angle θ | 53.13° |
| Angle in radians | 0.9273 |
r = 10, theta = 60 degrees to rectangular
Primary result: x = 5.00, y = 8.66 — cosine and sine split the radius. (Polar to rectangular · 0 · 0 · 10 · 60 °)
| Coordinate conversion | x = 5.00, y = 8.66 |
| x | 5.00 |
| y | 8.66 |
| Angle in radians | 1.0472 |
Point (-5, 12) to polar
Primary result: r = 13.00, θ = 112.62° — atan2 keeps the point in the second quadrant. (Rectangular to polar · -5 · 12 · 0 · 0 °)
| Coordinate conversion | r = 13.00, θ = 112.62° |
| Radius r | 13.00 |
| Angle θ | 112.62° |
| Angle in radians | 1.9656 |
The two coordinate systems
Cartesian coordinates describe a point using horizontal and vertical distances (x, y) from a fixed origin. Polar coordinates take a different approach: they locate the same point by its straight-line distance r from the origin and its angle theta measured from the positive x-axis. The two systems are fully interchangeable, which is exactly what a polar coordinates converter exploits to move between them.
Converting from polar to Cartesian is straightforward: x = r cos(theta) and y = r sin(theta). Going the other direction, from Cartesian back to polar, you compute r = sqrt(x^2 + y^2) and theta = atan2(y, x). The atan2 function matters here because a plain arctan only returns angles in the first and fourth quadrants. Consider the point (-5, 12): it sits in the second quadrant at r = 13.00 and theta = 112.62 degrees. A plain arctan would miss the correct quadrant entirely, but atan2(y, x) accounts for the signs of both coordinates and gets the angle right.
A few worked examples show the formulas in action. The point (3, 4) converts to r = 5.00 at theta = 53.13 degrees, which is 0.9273 radians. In the opposite direction, r = 10.00 at 60.00 degrees lands on the Cartesian point x = 5.00, y = 8.66. Picture a graph with the origin at the center: the Cartesian point marks a spot by stepping right (or left) and then up (or down), while the polar point marks the same spot by rotating a line of length r through angle theta from the positive x-axis. Both methods arrive at identical locations.
One quirk of polar form is that angles are not unique. Adding 360 degrees to theta names the same point, and so does negating r while adding 180 degrees. This is not a defect — engineers use it deliberately in phasor and antenna work, where rotating through full turns or flipping direction is part of the math. Polar form is the natural language of rotation in general: AC circuit phasors, radar systems, antenna patterns, and complex numbers all use the modulus-argument form, where r is the modulus and theta is the argument. Any tool that converts between these representations must handle the quadrant logic and the angle ambiguity correctly to be useful.
Worked examples
A polar coordinates converter applies the standard formulas to move between rectangular and polar form. To convert from rectangular (x, y) to polar, the converter computes r = sqrt(x^2 + y^2) and theta = atan2(y, x). To convert from polar back to rectangular, it uses x = r cos(theta) and y = r sin(theta). The following worked examples show exactly what happens in each direction.
Consider the point (3, 4). The distance from the origin is r = sqrt(3^2 + 4^2) = sqrt(25) = 5.00. The angle is theta = atan2(4, 3) = 53.13 degrees, which equals 0.9273 radians. So the polar form is r = 5.00 at 53.13 degrees. Going the other direction, take r = 10.00 at 60.00 degrees. Here x = 10.00 cos(60.00 degrees) = 5.00 and y = 10.00 sin(60.00 degrees) = 8.66, giving the rectangular point (5.00, 8.66).
A trickier case is the point (-5, 12), which lies in the second quadrant. The distance is r = sqrt((-5)^2 + 12^2) = sqrt(169) = 13.00. The angle is theta = atan2(12, -5) = 112.62 degrees. This is why a proper polar coordinates converter uses the atan2 function rather than plain arctan: plain arctan cannot distinguish quadrants, but atan2 reads the signs of both x and y and places the angle correctly. The table below summarizes all three conversions.
| Given | Converted form | Key detail |
|---|---|---|
| (3, 4) | r = 5.00 at 53.13 degrees (0.9273 radians) | First quadrant |
| r = 10.00 at 60.00 degrees | (5.00, 8.66) | x = r cos(theta), y = r sin(theta) |
| (-5, 12) | r = 13.00 at 112.62 degrees | Second quadrant; atan2 required |
Why atan2 matters
When a polar coordinates converter computes the angle theta from a point (x, y), it relies on a function called atan2(y, x). Polar coordinates locate a point by distance r from the origin and angle theta from the positive x-axis, where x = r cos(theta) and y = r sin(theta). Going backwards, r = sqrt(x^2 + y^2) and theta = atan2(y, x). The reason atan2 matters so much comes down to one problem: plain arctan cannot tell quadrants apart.
Plain arctan only takes a single ratio, y divided by x, and returns an angle between -90 degrees and 90 degrees. That range covers the first and fourth quadrants, but it leaves the second and third quadrants completely hidden. The point (3, 4) sits in the first quadrant and converts cleanly to r = 5.00 at theta = 53.13 degrees (0.9273 radians). A plain arctan calculation handles that without trouble. But consider the point (-5, 12), which lies in the second quadrant. Its distance from the origin is r = 13.00, and its angle is theta = 112.62 degrees. A plain arctan of y divided by x would return -67.38 degrees, pointing into the fourth quadrant instead of the second. The sign information from both x and y is lost when they are divided before the function sees them.
The atan2(y, x) function solves this by taking y and x as separate inputs rather than as a single ratio. It examines the signs of both values together and places theta correctly in all four quadrants. For the point (-5, 12), atan2 recognizes that x is negative and y is positive, so it returns 112.62 degrees, placing the angle in the second quadrant where it belongs. This is why any reliable polar coordinates converter uses atan2 rather than plain arctan. Without it, half the coordinate plane would be mapped to the wrong angles.
Getting the quadrant right matters in every field where polar form appears. Polar form is the natural language of rotation: AC circuit phasors, radar, antenna patterns, and complex numbers all live here, where r at angle theta is the modulus-argument form. In these applications an angle pointing the wrong direction is not a minor rounding error; it is a fundamentally different result. A radar return at 112.62 degrees is a completely different bearing from one at -67.38 degrees. An antenna pattern aimed in the wrong quadrant misses its target entirely. The atan2 function ensures the angle always reflects the actual location of the point, no matter which quadrant it occupies.
Non-unique angles and negative r
A single point in the plane can carry several valid polar names, and understanding why is essential when using a polar coordinates converter. The fundamental relationship is straightforward: x = r cos(theta) and y = r sin(theta), where r is the distance from the origin and theta is the angle measured from the positive x-axis. Going the other direction, r = sqrt(x^2 + y^2) and theta = atan2(y, x). Because angles wrap around a full circle, the same point can be described by infinitely many angle values. Adding 360 degrees to any angle leaves you at the same location, so r = 10.00 at 60.00 degrees is the same point as r = 10.00 at 420.00 degrees, which converts to x = 5.00, y = 8.66 either way.
A second, less obvious source of non-uniqueness involves negative r values. Negating r and adding 180 degrees to the angle names the same point as the original positive r. For example, r = 5.00 at 53.13 degrees (0.9273 radians), which is the Cartesian point (3, 4), is equivalent to r = -5.00 at 233.13 degrees. Both pairs of values land on the identical spot. This duality is not a flaw in the system but a deliberate feature that engineers exploit in fields where direction and rotation matter.
Polar form is the natural language of rotation, which is why these equivalent representations show up throughout engineering. AC circuit phasors, radar systems, antenna patterns, and complex numbers all rely on the modulus-argument form, where a complex number is expressed as r at angle theta. In phasor and antenna work, engineers sometimes choose a negative r with a shifted angle to keep a phase reference consistent or to align a measurement with a chosen directional convention. The ability to add or subtract 360 degrees freely also lets engineers keep angles within a preferred range, such as -180 to 180 degrees or 0 to 360 degrees, without changing the underlying physical quantity.
Getting the correct angle requires care when a point does not lie in the first quadrant. The point (-5, 12) has r = 13.00 at theta = 112.62 degrees, which places it in the second quadrant. A plain arctan calculation would return a first-quadrant angle and miss the sign information entirely, which is why atan2(y, x) is required. The atan2 function examines the signs of both coordinates and returns the true angle in the correct quadrant, ensuring the polar coordinates converter produces a result that matches the original Cartesian point.
FAQs
How do I convert Cartesian to polar coordinates?
Use r = sqrt(x^2 + y^2) and theta = atan2(y, x). For example, the point (3, 4) gives r = 5.00 and theta = 53.13 degrees. The radius comes from the Pythagorean theorem, while atan2 determines the correct angle by reading the signs of both x and y.
How do I convert polar to Cartesian coordinates?
Use x = r cos(theta) and y = r sin(theta). For example, r = 10.00 at 60.00 degrees gives x = 5.00 and y = 8.66. The radius scales the cosine and sine of the angle to recover the horizontal and vertical components of the point.
Why not just use arctan for theta?
Arctan alone returns angles only between -90 and 90 degrees, so (-5, 12) would come out wrong. The atan2 function reads the signs of both coordinates and gives 112.62 degrees, placing the point in the correct quadrant instead of mirroring it.
Can r be negative in polar coordinates?
Yes. A negative r means go the opposite direction of theta. For example, (-5.00, 30 degrees) is the same point as (5.00, 210 degrees). Adding 180 degrees to the angle and making r positive reaches the identical location.
What are polar coordinates used for?
Anything rotational: AC phasors, radar and antenna patterns, spirals and circles in calculus, and the modulus-argument form of complex numbers. Any problem involving rotation, radial distance, or angular direction is often simpler to express in polar form than in Cartesian coordinates.
How do degrees and radians convert here?
Multiply degrees by pi/180. For example, 53.13 degrees is 0.9273 radians, the same angle in the units calculus prefers. Radians arise naturally in derivatives and integrals, while degrees remain common in engineering and everyday measurements.