Polar Coordinates Desmos: Convert Rectangular to Polar on a Polar Grid
Plot polar coordinates in Desmos and convert rectangular to polar with a polar grid, sliders for x and y, and the two argument arctan function. Watch r and theta update live, and graph polar curves.
To use polar coordinates in Desmos, switch the graph to a polar grid, then enter the point as and read r and theta from the graph. To convert rectangular to polar coordinates in Desmos and calculate theta from x and y, use the two argument form of arctan: arctan(y, x). Desmos has no separate atan2 function. Its arctan takes an optional second argument, and arctan(y, x) gives the angle in the correct quadrant, just like atan2 does in Python and Excel. You can check any answer instantly with our interactive rectangular to polar converter or learn the math behind it in our rectangular to polar formula guide.
Step 1: Switch Desmos to a polar grid
Open the Desmos graphing calculator and click the wrench icon in the top right to open the graph settings.
- Set the angle setting to degrees if you want theta in degrees, or radians if you want theta in radians. Desmos uses radians by default, so change this first if your class works in degrees.
- Under grid options, choose polar grid. The grid changes from squares to circles and rays, so you can read r as the distance from the origin and theta as the angle from the positive x axis.
- Turn on the polar grid lines if they are not already on. The circles are lines of constant r, and the rays are lines of constant theta.
On a polar grid, a point is read by its distance from the origin and its angle, which is exactly the polar form you are trying to find.
Step 2: Enter the point and read r and theta
The conversion uses the same two formulas you use by hand, written in Desmos form.
In Desmos, type these expressions in the expression list on the left.
| Value | Desmos expression |
|---|---|
| Radius r | r = sqrt(x^2 + y^2) |
| Angle theta | theta = arctan(y, x) |
The two argument arctan(y, x) is the key detail. The one argument arctan(y / x) only returns angles between -90 and 90 degrees, so it gives the wrong quadrant when x is negative, and it fails when x is zero. The two argument form keeps both signs, so it gives the right quadrant every time. For the quadrant rules behind this, read understanding quadrants and atan2 in coordinate conversion.
To plot the point itself on the polar grid, enter it in polar form:
(r*cos(theta), r*sin(theta))
Desmos plots the point at the right place, and you can click it to see its coordinates. This is the fastest way to check a conversion: if the plotted point sits on the same grid intersection as your original (x, y) point, the conversion is right.
Worked Examples, Checked in Desmos
Every answer below was checked with the formulas above, so the radius and the angle agree with each other. All three examples use a radius of 5, so they are easy to check on the grid.
Example 1: (3, 4), First Quadrant
| Expression | Result |
|---|---|
r = sqrt(3^2 + 4^2) | 5 |
theta = arctan(4, 3) | 53.13 degrees |
| Polar form |
- Radius:
- Angle: degrees
- On the polar grid, the point sits on the circle r equal to 5, on the ray at 53.13 degrees
This is the classic 3, 4, 5 triangle, and it is a good first test for any Desmos graph you build.
Example 2: (-4, 3), Second Quadrant
| Expression | Result |
|---|---|
r = sqrt((-4)^2 + 3^2) | 5 |
theta = arctan(3, -4) | 126.87 degrees |
| Polar form |
- Radius:
- Angle: degrees
- On the polar grid, the point sits on the circle r equal to 5, on the ray at 126.87 degrees
Note that the one argument arctan(3 / -4) gives -36.87 degrees, which is wrong by 180 degrees. The two argument arctan(3, -4) fixes this by using the negative x value.
Example 3: (-3, -4), Third Quadrant
| Expression | Result |
|---|---|
r = sqrt((-3)^2 + (-4)^2) | 5 |
theta = arctan(-4, -3) | -126.87 degrees |
| Polar form | in the 0 to 360 range |
- Radius:
- Angle: degrees, which is the same direction as degrees
- On the polar grid, the point sits on the circle r equal to 5, on the ray at 233.13 degrees
Desmos gives -126.87 degrees, because its angle range is -180 to 180 degrees. Add 360 to a negative angle to get the 0 to 360 form, which is what most textbooks use.
Step 3: Use sliders to watch r and theta update live
Sliders are the best reason to do this conversion in Desmos instead of on paper. They turn a static answer into a live picture.
- In the expression list, type
x = 3andy = 4. Desmos asks if you want a slider for each one. Click yes for both. - Set the slider range for x and y to -10 to 10, with a step of 0.5.
- Add the expressions
r = sqrt(x^2 + y^2)andtheta = arctan(y, x). - Plot the point with
(r*cos(theta), r*sin(theta)). - Drag the x and y sliders. The point moves around the grid, and r and theta update live in the expression list.
Drag the point into Quadrant II and watch theta jump past 90 degrees. Drag it into Quadrant III and watch theta go negative, then past -90 degrees. Drag it to the origin and watch r become 0, with theta losing its meaning, because a point with no distance from the origin has no direction.
Negative radius: the same point, two polar forms
A point in Desmos can also be written with a negative radius. A negative radius means the point is plotted in the opposite direction from the angle, which is the same as adding 180 degrees to theta.
For the point (-3, -4), the usual polar form is . The same point is also , because a radius of -5 at 53.13 degrees points backwards, to 233.13 degrees. Type both forms into Desmos and they plot on top of each other. This is the fact students find most confusing about polar coordinates, and seeing the two points land in the same place on the grid makes it click.
Plotting polar curves from rectangular equations
Desmos can also graph a polar curve directly. In the expression list, type a polar equation such as:
r = 2*cos(theta)
This is a circle of diameter 2, centred at (1, 0) in rectangular coordinates. Its rectangular equation is , which you can check by substituting and . Try these curves too, and watch how each one looks on the polar grid.
| Polar equation | Shape |
|---|---|
| Circle, diameter 2, centred at (1, 0) | |
| Circle, radius 3, centred at the origin | |
| Circle, diameter 2, centred at (0, 1) | |
| Cardioid, a heart shaped curve | |
| Four petal rose |
For the general polar graphing patterns behind these curves, read our polar graphing guide.
Common Mistakes
Using one argument arctan instead of two
arctan(y / x) gives an angle between -90 and 90 degrees only. It puts a second quadrant point in the fourth quadrant and a third quadrant point in the first quadrant. Always use the two argument form arctan(y, x) in Desmos.
Looking for an atan2 button in Desmos
Desmos has no built in atan2 function, and no atan2 button. The two argument arctan(y, x) is the Desmos way to get the same result. If you type atan2 into Desmos, it will not work. Use arctan with two arguments instead.
Mixing degrees and radians
Desmos uses radians by default. If your class works in degrees, change the angle setting in the wrench menu before you read theta, or your angles will be in radians and look wrong. The radius is the same either way, only the angle changes.
Forgetting the origin
At (0, 0), the radius is 0 and the angle has no meaning. Desmos returns 0 for theta at the origin, but that 0 is a convention, not a real direction. Do not use it as a direction in any further calculation.
Plotting (r, theta) as if it were (x, y)
A polar point (5, 53.13 degrees) is not the rectangular point (5, 53.13). To plot it in Desmos, enter (r*cos(theta), r*sin(theta)), not (r, theta). The second form plots a different point entirely.
Where It Is Used
Rectangular to polar conversion in Desmos shows up in precalculus classes more than anywhere else, because Desmos is the free graphing tool most students already use. The polar grid makes the conversion visible: r is a circle, theta is a ray, and the point is where they meet. The same skill carries into physics, where a velocity is often given in x and y but used as a speed and a direction, and into engineering, where a signal is given as real and imaginary parts but used as magnitude and phase.
For the same conversion in other tools, see our guides on how to convert rectangular to polar in Python, how to convert rectangular to polar in Excel, how to convert rectangular to polar in MATLAB, and how to convert rectangular to polar in a TI-84.
Frequently Asked Questions (FAQ)
How do I use polar coordinates in Desmos?
Switch to a polar grid, then use r = sqrt(x^2 + y^2) for the radius and theta = arctan(y, x) for the angle. For (3, 4), this returns r equal to 5 and theta equal to 53.13 degrees. Plot the point with (r*cos(theta), r*sin(theta)) to check it on the grid.
Does Desmos have an atan2 function?
No. Desmos has no built in atan2 function. Use the two argument form of arctan instead: arctan(y, x). It gives the angle in the correct quadrant, just like atan2 does in Python and Excel.
How do I switch Desmos to a polar grid?
Click the wrench icon in the top right, open the graph settings, and choose polar grid under grid options. The circles are lines of constant r, and the rays are lines of constant theta. Set the angle setting to degrees first if your class works in degrees, because Desmos uses radians by default.
How do I use sliders for x and y in Desmos?
Type x = 3 and y = 4 in the expression list, and accept the slider for each one. Set the range to -10 to 10. Then add r = sqrt(x^2 + y^2) and theta = arctan(y, x), and drag the sliders to watch r and theta update live.
What does Desmos return for the point (0, 0)?
Desmos returns r equal to 0 and theta equal to 0. Mathematically, the angle at the origin is undefined, because a point with no distance has no direction. Treat 0 as a convention and check for the origin in your work when direction matters.
How do I plot a polar curve in Desmos?
Type the polar equation in the expression list, for example r = 2*cos(theta) for a circle of diameter 2. Desmos graphs it on the polar grid. Try r = 1 + cos(theta) for a cardioid, or r = 2*cos(2*theta) for a four petal rose.