Skip to content
CalcTide logo
Education & Math

Cartesian to Polar Calculator

The point (3, 4) converts to polar form r = 5 at an angle of 53.13 degrees. This Cartesian to polar calculator moves a point between the rectangular (x, y) system and the polar (r, theta) system in either direction. Enter an x and y pair to get the radius, the angle in both degrees and radians, and the quadrant the point sits in, or switch the direction and enter a radius and angle to recover the original x and y values. Every result is rounded for readability while the angle keeps enough precision to convert cleanly back to the point you started with.

Education & MathBy

Quick answer

The radius r is the straight-line distance from the origin to the point, found with r = sqrt(x squared + y squared).

What this tells you

  • The radius r is the straight-line distance from the origin to the point, found with r = sqrt(x squared + y squared).
  • The angle theta is measured from the positive x-axis, found with the atan2 function so the correct quadrant is always used.
  • Degrees are normalized to a 0 to 360 range, so a point below the x-axis reports an angle like 315 rather than a negative value.
  • Radians are reported as the raw atan2 result between negative pi and pi, which is the form most calculus and physics work expects.
  • Switching to polar to Cartesian mode reverses the process with x = r times cos(theta) and y = r times sin(theta).
  • The radius must be zero or greater, matching the standard convention that a polar radius is never negative.

How to Use

  1. 11. Choose the conversion direction. Leave it on Cartesian to polar to turn an (x, y) point into r and theta, or switch to Polar to Cartesian to go the other way.
  2. 22. In Cartesian to polar mode, enter the x value and the y value of your point. Both can be positive, negative, or zero.
  3. 33. In Polar to Cartesian mode, enter the radius r and the angle theta in degrees. The radius must be zero or greater.
  4. 44. Read the primary result, then check the secondary values for the angle in radians and the quadrant so you can confirm the point landed where you expect.
  5. 55. To verify a round trip, convert a point to polar, then paste the radius and degree angle back in Polar to Cartesian mode and confirm you recover the original coordinates.

How It Works

Formula

r = sqrt(x^2 + y^2), theta = atan2(y, x). x = r cos(theta), y = r sin(theta)

Converting a rectangular point to polar form uses the Pythagorean distance for the radius and the atan2 function for the angle. The atan2 function takes both x and y as separate arguments, which lets it place the angle in the correct quadrant instead of losing sign information the way a plain arctangent of y divided by x would. The calculator reports the degree angle on a 0 to 360 scale by adding 360 to any negative raw angle, while the radian value stays in the natural negative pi to pi range. Going the other direction is direct trigonometry, where x is the radius times the cosine of the angle and y is the radius times the sine of the angle, with the angle converted from degrees to radians internally.

Calculation note: values are processed in the order shown above, using the current input units.

Worked Examples

A 3-4-5 point in quadrant I

ModetoPolar
X3
Y4
Resultr = 5, theta = 53.13 degrees

The radius is the square root of 3 squared plus 4 squared, which is the square root of 25, or exactly 5. The angle atan2(4, 3) is about 0.9273 radians, which is 53.13 degrees, placing the point in the first quadrant.

A point in quadrant III with a normalized angle

ModetoPolar
X-3
Y-4
Resultr = 5, theta = 233.13 degrees

The radius is still 5 because squaring removes the signs. The raw atan2 angle is negative, so the tool adds 360 and reports 233.13 degrees, which correctly points into the third quadrant instead of showing a confusing negative value.

A point on the negative y-axis

ModetoPolar
X0
Y-6
Resultr = 6, theta = 270 degrees

With x equal to 0 and y negative, the point sits straight down from the origin. The radius equals the absolute value of y, which is 6, and the angle is 270 degrees. The quadrant label reads Negative y-axis rather than a numbered quadrant.

Polar back to Cartesian

ModetoCartesian
R5
Theta Deg53.1301
Result(3, 4)

Feeding the radius 5 and angle 53.1301 degrees back into the reverse mode returns x equal to 5 times cos(53.1301 degrees), about 3, and y equal to 5 times sin(53.1301 degrees), about 4, recovering the point the first example started from.

Common Cartesian to Polar Conversions

Sample points and their polar coordinates using a 0 to 360 degree angle range.

Point (x, y)Radius rAngle (degrees)Quadrant
(1, 0)10Positive x-axis
(1, 1)1.414245Quadrant I
(0, 1)190Positive y-axis
(-1, 1)1.4142135Quadrant II
(-1, -1)1.4142225Quadrant III
(1, -1)1.4142315Quadrant IV

Radius values are rounded to four decimals. A point at the origin has a radius of 0 and no defined angle.

Why atan2 beats a plain arctangent

The angle of a polar coordinate is easy to get wrong if you compute it as the arctangent of y divided by x. That formula throws away the individual signs of x and y and only keeps the sign of their ratio, so the points (3, 4) and (-3, -4) produce the same arctangent even though they sit on opposite sides of the plane. You would then have to remember to add or subtract 180 degrees by hand based on which quadrant the point belongs to.

The atan2 function solves this by taking x and y as two separate inputs. Because it can see both signs, it returns the angle in the correct quadrant on its own, across the full negative pi to pi range. This calculator uses atan2 and then shifts any negative result up by 360 degrees so the reported angle always reads as a positive value between 0 and 360, which is the range most homework problems and reference charts expect.

Keeping the radian value in its raw negative pi to pi form is deliberate. Calculus, physics, and programming work usually expect radians in that range, so the tool shows both the tidy 0 to 360 degree value for reading and the raw radian value for further math.

Find the distance between two points

Common mistakes

  • Using arctangent of y over x instead of atan2, which loses quadrant information and can put the angle 180 degrees away from the true direction.
  • Mixing degrees and radians. This tool takes and returns the degree angle on a 0 to 360 scale and also shows radians, so confirm which unit your assignment or downstream formula expects.
  • Entering a negative radius in Polar to Cartesian mode. A polar radius is zero or greater by convention, so the tool rejects negative values rather than guessing your intent.
  • Assuming the origin has an angle. When both x and y are 0 the radius is 0 and the angle is undefined, so the tool labels the point as the origin instead of reporting a false angle.
  • Forgetting that the angle is measured from the positive x-axis counterclockwise, not from the positive y-axis or clockwise, which flips or rotates the result.

Embed this calculator on your site

Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.

<script src="https://calctide.com/embed.js" data-tool="cartesian-to-polar-calculator" async></script>

Preview the embed at /embed/cartesian-to-polar-calculator/.

Frequently Asked Questions

Convert Cartesian coordinates to polar by finding the radius as r = sqrt(x squared + y squared) and the angle as theta = atan2(y, x). For example, the point (3, 4) gives a radius of 5 and an angle of about 53.13 degrees. This calculator does both steps and also reports the quadrant.
The polar form of (3, 4) is r = 5 at an angle of about 53.13 degrees, or roughly 0.9273 radians. The radius is 5 because 3 squared plus 4 squared is 25, and the square root of 25 is 5.
The angle comes out negative when the point sits below the x-axis, because the raw atan2 function returns values between negative pi and pi. This tool adds 360 degrees to any negative result so the reported angle stays on a 0 to 360 degree scale that is easier to read.
Yes. Switch the conversion direction to Polar to Cartesian, enter the radius and the angle in degrees, and the tool returns the x and y values using x = r times cos(theta) and y = r times sin(theta).
Enter the angle in degrees. The tool takes degrees as input in Polar to Cartesian mode and, when converting the other way, shows the angle in both degrees on a 0 to 360 scale and radians in the raw negative pi to pi range so you can use whichever your work needs.
At the origin the radius is 0 and the angle is undefined, since there is no direction from a point to itself. The tool reports a radius of 0 and labels the location as the origin rather than showing a misleading angle.
It estimates cartesian to polar calculator outputs using the visible inputs and formula assumptions on this page.

Explore More in Education & Math