To convert polar coordinates (r, θ) to rectangular (Cartesian) coordinates (x, y), use two formulas: x = r × cos θ and y = r × sin θ. That is the whole method. The only preparation is making sure your calculator is in the same angle mode as your θ value — degrees or radians — because that single setting causes almost all wrong answers. Plug in r and θ, take the cosine for x, the sine for y, and you are done.
Polar coordinates describe a point by how far it is from the origin and at what angle. Rectangular coordinates describe the same point by how far right/left and how far up/down it is. The formulas simply project the radius onto the two axes, which is why a right triangle with hypotenuse r and angle θ gives x on the adjacent side and y on the opposite side.
What You'll Need
- Your polar coordinates in the form (r, θ), with r being the distance from the origin and θ the angle measured counterclockwise from the positive x-axis (unless your source defines it differently — check).
- A scientific calculator with sin and cos functions, or a spreadsheet with SIN() and COS() formulas, or a programming language's math library.
- Knowledge of whether θ is given in degrees or radians. This is not optional.
- Paper or a scratch cell for intermediate values, so you can sanity-check signs.
Step-by-Step
- Write down the polar pair. Note r and θ exactly as given, including whether r is positive or negative and whether θ is in degrees or radians. If the value looks like 1.57, 3.14 or 0.785, it is probably radians; if it looks like 30, 45, 90 or 180, it is probably degrees. When in doubt, ask or check the source.
- Set your calculator to the right angle mode. On most scientific calculators this is a MODE or DRG key; on a spreadsheet there is no mode at all, so you must convert yourself (degrees × π/180 = radians). Getting this wrong scales your answers by a factor of about 57, which is the classic tell.
- Compute x = r × cos θ. Enter r, multiply by the cosine of θ. For example, r = 5, θ = 53.13° gives cos 53.13° ≈ 0.6000, so x ≈ 3.000.
- Compute y = r × sin θ. Same r, sine of θ. sin 53.13° ≈ 0.8000, so y ≈ 4.000. The point (5, 53.13°) is (3, 4) in rectangular form.
- Check the quadrant against the signs. Cosine is positive in quadrants I and IV (right of the y-axis) and negative in II and III. Sine is positive in I and II (above the x-axis) and negative in III and IV. If your θ is in the second quadrant but x came out positive, you have an angle-mode or sign error.
- Handle negative r correctly. A negative radius means the point lies in the opposite direction: r = −5 at θ = 30° is the same point as r = 5 at θ = 210°. The formulas still work if you keep the minus sign — x = −5 cos 30° ≈ −4.33, y = −5 sin 30° = −2.5 — which lands where it should.
- Round sensibly and state units. Keep more decimal places during calculation than you report. If r was given to two significant figures, do not report x and y to six. Both x and y carry the same unit as r.
- Verify by converting back. Rectangular to polar is r = √(x² + y²) and θ = atan2(y, x); with r = 3, y = 4 you get √25 = 5, and atan2(4, 3) ≈ 53.13°. If the round trip returns your original pair (allowing for the angle wrapping by 360° or 2π), your conversion is correct.
Common Mistakes
- Angle mode mismatch. The single most common error. cos(30) in radian mode is about 0.154, not 0.866. Always confirm the mode before trusting a result.
- Swapping sine and cosine. x pairs with cosine, y with sine. If your point comes out rotated 90°, you swapped them.
- Forgetting the radius multiplier. Computing cos θ alone gives a point on the unit circle, not your point. Multiply by r.
- Using the reference angle instead of the actual angle. If θ = 150°, use 150°, not 30°. The reference angle only tells you the magnitude of the trigonometric ratios.
- Ignoring negative r. Dropping the minus sign reflects the point through the origin and gives the diametrically opposite location.
- Rounding intermediate values too early, which compounds error, especially for near-axis angles.
- Using atan(y/x) instead of atan2(y, x) on the way back, which loses the quadrant and puts points in the wrong half of the plane.
Tips
- Memorise the unit-circle values (0°, 30°, 45°, 60°, 90°) so you can spot mistakes instantly: at 45°, x and y should be equal; at 90°, x should be exactly 0.
- For a quick mental estimate, cos θ and sin θ are at most 1 and at least −1, so x and y can never have a magnitude greater than |r|. Any result outside that range is wrong.
- In a spreadsheet, use
=r*COS(RADIANS(theta))and=r*SIN(RADIANS(theta))to avoid manual conversion. In Python,math.cosandmath.sinexpect radians; usemath.radians(deg)first. - If you are converting many points, keep a column for r, a column for θ, and two formula columns for x and y. Drag the formulas down rather than retyping.
- Worked sanity check: (2, 120°) gives x = 2 × (−0.5) = −1 and y = 2 × 0.866 ≈ 1.732, a point up and to the left — consistent with a 120° angle.
- Remember that angles are equivalent modulo 360° (or 2π), so θ = −30° and θ = 330° give identical rectangular coordinates.
Troubleshooting
If your x and y are wildly too small or too large, suspect the angle mode. Recompute in the other mode and compare against a known value such as cos 60° = 0.5. In a spreadsheet, check whether RADIANS() or DEGREES() was applied twice.
If both signs are flipped, you probably dropped a negative radius or added 180° to the angle. Redo the conversion keeping the original signs.
If only one sign is wrong, check the quadrant rules above. A negative cosine in quadrant II or III is expected, not an error.
If the round trip does not return your angle, the angle likely wrapped — for instance, −30° comes back as 330°. That is normal, not a bug. Also make sure the inverse used was atan2, which preserves the quadrant.
If a program returns NaN or an odd tangent result, you may be computing an inverse tangent at x = 0; atan2 handles this correctly, plain atan does not.
If results look right but seem slightly off, check for premature rounding and re-run with full precision. Small discrepancies under about 0.1% are almost always rounding.
Frequently Asked Questions
What is the polar to rectangular conversion formula?
x = r cos θ and y = r sin θ, where r is the distance and θ is the angle from the positive x-axis.
Do I need to convert degrees to radians first?
Only if your tool expects radians. Spreadsheets and graphing calculators usually default to degrees or have a mode switch; most programming languages use radians, so convert with θ × π/180.
What does a negative r mean?
It means the point is in the opposite direction from the angle given. Keep the minus sign in the formulas and the result is correct; equivalently, add 180° to θ and use |r|.
Why do x and y never exceed r in magnitude?
Because sine and cosine never exceed 1 in absolute value. That makes a useful check: if |x| or |y| is greater than |r|, something went wrong.
How do I convert back to polar?
Use r = √(x² + y²) and θ = atan2(y, x). The angle usually comes back between −180° and 180°, which is the same set of directions as 0° to 360°.
Can I use this for 3D coordinates?
Not directly. Cylindrical coordinates add a z value unchanged; spherical coordinates use two angles and need a longer set of formulas.