Cartesian to Polar Converter
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter x and y to get the polar radius r and the angle θ measured counterclockwise from the positive x-axis.
Result
r = √(x² + y²)
θ in degrees (−180 to 180)
- θ in degrees (0 to 360)
- θ in radians (−π to π)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
How this calculator works
r = √(x² + y²) and θ = atan2(y, x). atan2 puts the angle in the correct quadrant, which arctan(y ÷ x) alone cannot: (−1, −1) is at −135° (or 225°), not 45°.
Back to Cartesian: x = r cos θ and y = r sin θ.
The formula
| Symbol | Meaning |
|---|---|
| x | |
| y | |
| r = √(x² + y²) |
Worked example
| x | 3 |
|---|---|
| y | 4 |
| θ in degrees (−180 to 180) | 53.1301 |
|---|---|
| θ in degrees (0 to 360) | 53.1301 |
| θ in radians (−π to π) | 0.9273 |
r = √(x² + y²) 5
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is (3, 4) in polar coordinates?
r = 5 and θ ≈ 53.1301°, or 0.9273 radians.
What is the angle of the origin?
Any angle works at r = 0; the calculator shows 0.