Polar to Rectangular Converter: Convert Polar Coordinates to Rectangular Coordinates
Convert polar to rectangular coordinates with our free converter. Enter r and theta to get x and y instantly, with worked examples in every quadrant.
Use this page to convert polar coordinates to rectangular coordinates. Enter the radius and the angle in our rectangular to polar coordinates converter and it returns and at once. The worked examples below show the same calculation by hand, so you can check any answer the tool gives you.
Short answer: to convert polar to rectangular, use and . For example, and gives and , so the point is .
The full formulas, proofs, and engineering examples live in our polar to rectangular formulas guide, and the reverse direction is covered in our rectangular to polar and polar to rectangular guide. This page is the tool page: the fastest way to get an answer, with enough worked numbers to trust it.
How to Use the Polar to Rectangular Converter
- Enter the radius , the distance from the origin to the point.
- Enter the angle , measured counterclockwise from the positive x axis.
- Read and . The converter applies and for you.
That is the whole job. There is no quadrant correction to worry about in this direction, because cosine and sine already carry the correct sign for any angle. If you are going the other way, from back to , the angle needs care, and our quadrants and atan2 guide explains why plain arctan gives the wrong angle when is negative.
The Conversion Formulas
Here is the polar radius, always a distance from the origin, and is the polar angle. The formulas come from a right triangle with hypotenuse : the side next to is and the side opposite is .
In code, the same two lines do the work. Note that JavaScript trig functions expect radians, so degrees must be converted first:
const r = 12;
const thetaDeg = 45;
const theta = thetaDeg * Math.PI / 180;
const x = r * Math.cos(theta); // 8.4853
const y = r * Math.sin(theta); // 8.4853
Worked Example: Quadrant I
Convert , to rectangular form.
- and
Result: . Both coordinates are positive, as they must be in Quadrant I.
Worked Example: Quadrant II
Convert , to rectangular form.
- and
Result: . The coordinate is negative and the coordinate is positive, which is exactly the sign pattern of Quadrant II. This is the step where a calculator in the wrong mode, or a swapped sine and cosine, would silently give the wrong point.
Worked Example: Quadrant IV
Convert , to rectangular form.
- and
Result: . Check the distance back: , which matches the original radius.
Worked Example: Angle on an Axis
Convert , to rectangular form.
- and
Result: . The point sits on the positive y axis, so is zero and equals the radius.
Worked Example: Radians and a Round Trip Check
Convert , radians to rectangular form. First turn the angle into degrees: .
- and
Result: . Now check the round trip. Feed into the reverse conversion: , and . The point returns exactly to where it started.
One more round trip, using a point from our quadrants guide: , gives and , so the point is . That matches the Quadrant II example in the quadrants and atan2 guide, where converts forward to . Plain arctan would have said for that point, which is 180 degrees off, so the atan2 check is what keeps the round trip honest.
Degrees or Radians: Get the Mode Right
The single most common error in polar to rectangular conversion is a mode mismatch. Most calculators and all programming languages expect radians, while most textbook problems give degrees.
- Degrees to radians:
- Radians to degrees:
So is radians, is radians, and is radians. If your answer looks wrong by a large amount, check the mode before anything else. The same warning applies in spreadsheets: our rectangular to polar in Excel guide shows the RADIANS step, and our rectangular to polar in Desmos guide shows how to plot the converted point.
What If r Is Negative?
A negative radius is allowed in polar coordinates. It means: go the distance in the direction opposite to , which is the same as adding to the angle. For example, , gives and , so the point is . That is the same point as , . If your problem never uses negative radii, you can ignore this case entirely.
Frequently Asked Questions
What is the formula to convert polar to rectangular?
Use and , where is the distance from the origin and is the angle from the positive x axis. Put your values in, and the two equations give the rectangular point directly.
How do I convert polar to rectangular with an example?
Take and . Then and , so the point is . The worked examples above show the same steps for Quadrant II, Quadrant IV, an axis angle, and a radian angle.
How do I convert polar to rectangular on a calculator?
Make sure the calculator is in degree mode if your angle is in degrees, or radian mode if it is in radians. Then compute for and for . Many scientific calculators also have a Rec function that does both at once. Our Casio calculator guide covers the keystrokes.
Can the angle be larger than 360 degrees?
Yes. Polar angles repeat every , so behaves exactly like , and gives the same . If you prefer, subtract until the angle sits between and before converting.
What is polar to rectangular when theta is 180 degrees?
With , and , so and . For example, , gives , a point on the negative x axis.
How do I convert rectangular back to polar?
Use and . The atan2 function matters because plain arctan cannot tell Quadrants II and III apart. Follow the step by step conversion guide for the full reverse method with worked numbers.
Related Resources
• Rectangular to Polar Converter: Convert coordinates in both directions with steps.
• Polar to Rectangular Formulas: Proofs, derivations, and solved engineering examples.
• Rectangular to Polar and Polar to Rectangular: Two way conversion guide with round trip verification.
• Understanding Quadrants and atan2: Why plain arctan fails and how atan2 fixes the angle.
• Step by Step Conversion Guide: The reverse direction, rectangular to polar, worked step by step.
• Rectangular to Polar in Excel: Spreadsheet formulas for batch conversions.
• Rectangular to Polar in Desmos: Graph and convert coordinates in Desmos.