Polar to Rectangular Converter (and Rectangular to Polar)

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Convert polar to rectangular coordinates (r, θ to x, y) or rectangular to polar, in degrees or radians, with the formulas shown step by step.

Quadrant
0
Angle in degrees
0

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the polar to rectangular converter

  1. Choose the direction: polar to rectangular, or rectangular to polar.
  2. Choose degrees or radians for the angle.
  3. For polar to rectangular, enter the radius r and the angle θ.
  4. For rectangular to polar, enter the coordinates x and y.

The converter shows the result, the quadrant the point lies in, and the angle in degrees.

Polar and rectangular coordinates

There are two common ways to describe the position of a point on a plane.

  • Rectangular coordinates, also called Cartesian coordinates, give the horizontal distance x and the vertical distance y from the origin. The point (1, 1.732) is 1 unit right and 1.732 units up.
  • Polar coordinates give the distance r from the origin and the angle θ from the positive x-axis, measured anticlockwise. The same point is 2 units from the origin at an angle of 60°.

Both describe the same point, and each is more convenient for different problems. Rectangular coordinates suit grids, straight lines and most algebra. Polar coordinates suit circles, rotations, spirals, radar, navigation and anything that radiates from a centre.

Polar to rectangular formulas

To convert polar to rectangular, use basic trigonometry:

x = r cos θ

y = r sin θ

With the default values, r = 2 and θ = 60°, x = 2 × cos 60° = 2 × 0.5 = 1 and y = 2 × sin 60° ≈ 2 × 0.866 = 1.732. So the polar point (2, 60°) is the rectangular point (1, 1.732).

Rectangular to polar formulas

To go the other way:

r = √(x² + y²)

θ = atan2(y, x)

The atan2 function is important. The simple formula θ = arctan(y ÷ x) only gives angles between −90° and 90°, so it puts points in the second and third quadrants in the wrong place. For example, (−1, 1) and (1, −1) both have y ÷ x = −1, but they're in opposite directions. The atan2 function looks at the signs of both x and y and returns the correct angle, between −180° and 180°.

For (−1, 1), r = √2 ≈ 1.414 and θ = 135°. The polar to rectangular converter uses atan2 for every conversion.

Quadrants

The x and y axes divide the plane into four quadrants:

Quadrant x y Angle range
I positive positive 0° to 90°
II negative positive 90° to 180°
III negative negative 180° to 270° (or −180° to −90°)
IV positive negative 270° to 360° (or −90° to 0°)

The converter shows the quadrant so you can check the angle makes sense.

Degrees and radians

Angles can be measured in degrees or radians. A full turn is 360° or 2π radians, so 180° = π radians and 1 radian ≈ 57.2958°. Most calculus, physics and programming work uses radians; navigation, surveying and everyday use favour degrees. The polar to rectangular converter works in either. When converting rectangular to polar in radians, it also shows the angle in degrees.

A worked example

A point lies 10 units from the origin at an angle of 210°. Find its rectangular coordinates.

  1. x = 10 cos 210° = 10 × (−0.866) ≈ −8.660.
  2. y = 10 sin 210° = 10 × (−0.5) = −5.
  3. Result: (−8.660, −5), in the third quadrant.

Now convert (3, −4) to polar in radians:

  1. r = √(9 + 16) = 5.
  2. θ = atan2(−4, 3) ≈ −0.9273 radians, or about −53.13°.

That's in the fourth quadrant. If you prefer a positive angle, add 360° to get about 306.87°. Enter these values in the polar to rectangular converter to check both conversions.

Negative radius

Some textbooks allow a negative radius, which means going in the opposite direction from the angle. The polar point (−2, 60°) is the same as (2, 240°). The formulas x = r cos θ and y = r sin θ still work: they give (−1, −1.732). When converting from rectangular to polar, the converter always returns a non-negative radius.

Who uses a polar to rectangular converter

Students use it for trigonometry, precalculus and calculus problems. Electrical engineers use it to switch between polar and rectangular forms of phasors and impedances. Surveyors and navigators use it to turn bearings and distances into grid coordinates. Game developers and robotics engineers use it for rotations, aiming and movement. Physicists use it for circular motion and fields.

Need more customers from Google?

This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.

Polar form of complex numbers

The same conversion is used for complex numbers. The complex number x + yi corresponds to the point (x, y). Its modulus is r and its argument is θ, so x + yi = r(cos θ + i sin θ). Converting to polar form makes multiplying and dividing complex numbers easier, because you multiply the moduli and add the angles. In electrical engineering, a phasor like 10∠30° means a magnitude of 10 at 30°, which in rectangular form is about 8.660 + 5j. The complex number calculator does arithmetic in both forms.

Polar equations and curves

Many curves are much simpler in polar form. A circle of radius 3 centred at the origin is just r = 3, while in rectangular form it's x² + y² = 9. Spirals, roses and cardioids have neat polar equations, such as r = θ for an Archimedean spiral and r = 1 + cos θ for a cardioid. To plot one on a rectangular grid, convert each point with the polar to rectangular formulas.

Navigators and surveyors usually measure bearings clockwise from north, not anticlockwise from the x-axis. To use the converter with a bearing, convert it to a mathematical angle first: θ = 90° − bearing. A bearing of 30° (north-north-east) becomes 60°, so a distance of 2 km on that bearing is about 1 km east and 1.732 km north.

3D extensions

In three dimensions, polar coordinates extend in two ways. Cylindrical coordinates add a height z to r and θ, so x = r cos θ, y = r sin θ and z stays the same. Spherical coordinates use a distance and two angles, which is how latitude and longitude describe points on the Earth. The same trigonometry underlies all of them.

Common mistakes

  • Using arctan(y ÷ x) instead of atan2, which gives the wrong quadrant.
  • Mixing degrees and radians.
  • Measuring angles from north instead of from the x-axis.
  • Forgetting that angles repeat every 360°, so 30° and 390° are the same direction.

Common angle values

Some angles appear so often that it helps to know their sines and cosines. For a radius of 1, the polar point at each of these angles converts to these rectangular coordinates:

Angle x = cos θ y = sin θ
0° 1 0
30° 0.866 0.5
45° 0.707 0.707
60° 0.5 0.866
90° 0 1
180° −1 0
270° 0 −1

For any other radius, multiply both values by r. For angles in other quadrants, the same values appear with different signs, which is why checking the quadrant is a good habit.

Converting many points

If you need to convert a whole list of points, a spreadsheet is quicker. In Excel or Google Sheets, =A2COS(RADIANS(B2)) and =A2SIN(RADIANS(B2)) convert a radius in column A and an angle in degrees in column B to x and y. Going the other way, =SQRT(C2^2+D2^2) gives r and =DEGREES(ATAN2(C2,D2)) gives θ. Note that the spreadsheet ATAN2 function takes x first and y second, the opposite order from most programming languages, which write atan2(y, x). Use the polar to rectangular converter to spot-check a few rows.

Rotating a point

Polar coordinates make rotation simple: to rotate a point about the origin, keep r the same and add the rotation angle to θ, then convert back. To rotate (1, 1.732) by 30°, its polar form (2, 60°) becomes (2, 90°), which is (0, 2) in rectangular form. Graphics and robotics code often does this with a rotation matrix instead, but the result is the same.

Distance between two polar points

To find the distance between two points given in polar form, you can convert both to rectangular coordinates and use the distance formula, or use the law of cosines directly: d = √(r₁² + r₂² − 2r₁r₂ cos(θ₁ − θ₂)). For (2, 60°) and (2, 90°), d = √(4 + 4 − 8 cos 30°) ≈ 1.035.

Sources and further reading

Frequently asked questions

How do I convert polar to rectangular?

x = r cos θ and y = r sin θ.

How do I convert rectangular to polar?

r = √(x² + y²) and θ = atan2(y, x).

Why not just use arctan(y ÷ x)?

It gives the wrong angle for points in the second and third quadrants. Atan2 uses the signs of x and y to fix that.

Can I use radians?

Yes. Choose radians in the angle unit setting.

What quadrant is my point in?

The converter shows it: I when x and y are positive, II when x is negative and y positive, III when both are negative, IV when x is positive and y negative.

Is the polar to rectangular converter free?

Yes. It's free, needs no sign-up, and works in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep