Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Cartesian to Polar Converter

x: enter a number. Prefilled example: 3.

y: enter a number. Prefilled example: 4.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. x: enter a number.
  2. y: enter a number.
  3. Read the result: r = √(x² + y²); the panel also shows θ in degrees (−180 to 180), θ in degrees (0 to 360) and θ in radians (−π to π).

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

  1. R=x2+y2
Symbols used in the formula
SymbolMeaning
xx
yy
Rr = √(x² + y²)

Worked example

x3
y4
θ in degrees (−180 to 180)53.1301
θ in degrees (0 to 360)53.1301
θ in radians (−π to π)0.9273
  1. R=32+42=5

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.

Questions answered

Related calculators