Polar Coordinates Calculator

Polar Coordinates Calculator

Growing AI Skill PRO

Enter Calculation

Formula

r=X2+Y2θ=atan2(Y,X)×180π\begin{gathered} r = \sqrt{\text{X}^{2} + \text{Y}^{2}} \\[1.5em] \theta = \operatorname{atan2}\!\left(\text{Y},\; \text{X}\right) \times \frac{180}{\pi} \end{gathered}
Usage stats

Advertisement

Results

Polar Coordinates
(2.2361, 63.4349°)
Input X Coordinate 1
Input Y Coordinate 2
Calculated r (radius) 2.2361
Calculated θ (theta) in radians 1.107149
Calculated θ (theta) in degrees 63.4349°

Report an error on this page

What This Calculator Does

The Polar Coordinates Calculator converts a point given in Cartesian form (x, y) into polar form (r, θ). You enter two values — the X Coordinate and the Y Coordinate — and the tool returns the radius r (the distance from the origin) and the angle θ (the direction). The angle is reported in both radians and degrees, so you get magnitude and direction in one step.

Point on a plane showing radius r, angle theta, and the x and y coordinate components
Polar coordinates: r is the distance from the origin and θ is the angle from the positive x-axis.

The Formula It Uses

Two standard equations drive the result:

  • Radius: \( r = \sqrt{x^{2} + y^{2}} \) — the straight-line distance from the origin to your point.
  • Angle: \( \theta = \operatorname{arctan2}(y, x) \) — the two-argument arctangent, which correctly accounts for the quadrant your point lies in.

Using arctan2 rather than a plain arctan(y/x) matters: plain arctan can't tell the difference between, say, the second and fourth quadrants. The calculator computes \(\theta\) in radians, then converts it to degrees using \( \theta° = \theta \times \frac{180}{\pi} \). Results range from −180° to +180° (or −π to π radians).

Advertisement
Right triangle with legs x and y and hypotenuse r illustrating the conversion formula
r comes from the Pythagorean relation and θ from the arctangent of y over x.

How to Use It

  • Type your horizontal value into X Coordinate.
  • Type your vertical value into Y Coordinate.
  • Read off r, θ in radians, and θ in degrees.

Negative values are fine and place the point in the correct quadrant automatically.

Worked Example

Suppose x = 3 and y = 4.

  • $$ r = \sqrt{3^{2} + 4^{2}} = \sqrt{9 + 16} = \sqrt{25} = \mathbf{5} $$
  • $$ \theta = \operatorname{arctan2}(4, 3) \approx 0.927 \text{ radians} $$
  • In degrees: $$ 0.927 \times \frac{180}{\pi} \approx \mathbf{53.13°} $$

So the point (3, 4) becomes (5, 53.13°) in polar coordinates.

Quadrant Rules and Common Angle Reference Values

The calculator uses \(r = \sqrt{x^2 + y^2}\) and \(\theta = \operatorname{atan2}(y, x)\) converted to degrees. Because atan2 looks at the signs of both x and y, it returns the correct quadrant. A plain \(\arctan(y/x)\) cannot do this. The atan2 result lies in the range (−180°, 180°], which is (−π, π] in radians. To get an angle between 0° and 360°, add 360° to any negative result.

Location Sign of x Sign of y atan2 range 0°–360° angle
Quadrant I + + 0° to 90° Same as atan2
Quadrant II − + 90° to 180° Same as atan2
Quadrant III − − −180° to −90° Add 360° (180° to 270°)
Quadrant IV + − −90° to 0° Add 360° (270° to 360°)
Positive x-axis + 0 0° 0°
Positive y-axis 0 + 90° 90°
Negative x-axis − 0 180° 180°
Negative y-axis 0 − −90° 270°
Origin 0 0 r = 0, angle undefined Angle conventionally taken as 0°

Common points

(x, y) r θ (degrees) θ (radians)
(1, 0) 1 0° 0
(0, 1) 1 90° π/2
(−1, 0) 1 180° π
(0, −1) 1 −90° −π/2
(1, 1) √2 ≈ 1.4142 45° π/4
(−1, 1) √2 ≈ 1.4142 135° 3π/4
(−1, −1) √2 ≈ 1.4142 −135° −3π/4
(1, −1) √2 ≈ 1.4142 −45° −π/4
Advertisement

Polar Coordinate Terms Explained

  • Cartesian coordinates: A point described by its horizontal and vertical distances (x, y) from the origin along perpendicular axes.
  • Pole (origin): The fixed reference point of the polar system, located at (0, 0).
  • Polar axis: The ray starting at the pole and pointing along the positive x-axis. Angles are measured from it.
  • Radius r: The straight-line distance from the pole to the point, \(r = \sqrt{x^2 + y^2}\). It is never negative in this calculator.
  • Polar angle θ: The angle from the polar axis to the line joining the pole and the point. Counterclockwise is positive and clockwise is negative.
  • Radian vs degree: Two units for measuring angles. A half turn is π radians = 180°, so degrees = radians × 180/π.
  • atan2(y, x): A two-argument arctangent function. It uses the signs of both y and x to return the angle in the correct quadrant.
  • Principal value range (−π, π]: The interval atan2 returns, equivalent to (−180°, 180°]. Add 2π (360°) to a negative value to express the same direction between 0 and 2π.

Frequently Asked Questions

Why is my angle negative? When y is negative (point below the x-axis), arctan2 returns a negative angle between 0° and −180°. To express it as a positive angle from 0° to 360°, just add 360°.

What happens if I enter x = 0 and y = 0? The radius is 0 and the angle is conventionally 0 — the point sits exactly at the origin, where direction is undefined.

Are the radians and degrees the same angle? Yes. They are two representations of the identical direction; the calculator simply converts radians to degrees for convenience.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators