Polar to Cartesian Coordinate Conversion (Complex Number)

Polar to Cartesian Coordinate Conversion (Complex Number)

Emerging AI Skill PRO

Enter Calculation

Formula

z=x+yi=rcos⁡θ+rsin⁡θiz = x + yi = \text{r}\cos{\theta} + \text{r}\sin{\theta}\,i
Usage stats

Advertisement

Results

Cartesian coordinates: x + yi
1 + 1.732050808i
Real part (x) 1
Imaginary part (y) 1.7320508076

Report an error on this page

What this calculator does

This tool converts a complex number written in polar form — a magnitude r (also called the modulus) and an angle θ (the argument) — into its rectangular or Cartesian form \(x + yi\). Polar form is often written as \(r\cdot e^{\theta i}\) or \(r\angle\theta\), and many engineering, physics and signal-processing problems require switching back to the familiar \(x + yi\) representation.

How to use it

Enter the magnitude r and the angle θ. Choose whether θ is given in radians (the default) or degrees. The calculator internally converts degrees to radians by multiplying by \(\pi/180\), then computes the real and imaginary components and assembles the full \(x + yi\) string.

The formula explained

A point on the complex plane at distance r from the origin and angle θ from the positive real axis has coordinates:

$$x = r\cdot\cos\theta \quad \text{and} \quad y = r\cdot\sin\theta$$

The complex number is then \(z = x + y\cdot i\). The inverse relations (for reference only) are \(r = \sqrt{x^2 + y^2}\) and \(\theta = \arctan(y / x)\), but this tool performs only the forward polar → Cartesian direction.

Advertisement
Complex plane showing magnitude r, angle theta, and rectangular components x and y of a point
Polar form (r, theta) maps to Cartesian coordinates x and y on the complex plane.

Worked example

Take \(r = 2\) and \(\theta = \pi/3\) in radians. Then $$x = 2\cdot\cos(\pi/3) = 2\cdot 0.5 = 1$$ and $$y = 2\cdot\sin(\pi/3) = 2\cdot 0.8660254 = 1.7320508.$$ The result is \(1 + 1.7320508076\,i\).

In degrees: \(r = 5\), \(\theta = 30^\circ\). Convert: \(30\cdot\pi/180 = 0.5235988\) rad. Then \(x = 5\cdot\cos = 4.330127019\) and \(y = 5\cdot\sin = 2.5\), giving \(4.330127019 + 2.5\,i\).

Right triangle relating hypotenuse r, angle theta, horizontal leg x and vertical leg y
The conversion uses the right triangle: x = r·cos θ and y = r·sin θ.

Common Angles: Polar to Cartesian Reference Values

For a unit magnitude (r = 1), the conversion is x = cos θ and y = sin θ. For any other magnitude, multiply both x and y by r. Decimals are rounded to 4 places.

Degrees Radians cos θ (exact) cos θ (decimal) sin θ (exact) sin θ (decimal) x + yi (r = 1)
0° 0 1 1 0 0 1 + 0i
30° π/6 √3/2 0.8660 1/2 0.5 0.8660 + 0.5i
45° π/4 √2/2 0.7071 √2/2 0.7071 0.7071 + 0.7071i
60° π/3 1/2 0.5 √3/2 0.8660 0.5 + 0.8660i
90° π/2 0 0 1 1 0 + 1i
120° 2π/3 −1/2 −0.5 √3/2 0.8660 −0.5 + 0.8660i
135° 3π/4 −√2/2 −0.7071 √2/2 0.7071 −0.7071 + 0.7071i
150° 5π/6 −√3/2 −0.8660 1/2 0.5 −0.8660 + 0.5i
180° π −1 −1 0 0 −1 + 0i
270° 3π/2 0 0 −1 −1 0 − 1i
360° 2π 1 1 0 0 1 + 0i

Example of scaling: for r = 2 at 60° (π/3), multiply the r = 1 row by 2 to get x = 2 × 0.5 = 1 and y = 2 × 0.8660 = 1.7321 (exactly √3), so z ≈ 1 + 1.7321i.

Advertisement

Interpreting the Result on the Complex Plane

The calculator returns z = x + yi, where \(x = r\cos\theta\) is the real part (horizontal axis) and \(y = r\sin\theta\) is the imaginary part (vertical axis).

Quadrant from the angle (for r > 0)

Angle θ Sign of x Sign of y Location
0° to 90° (0 to π/2) + + Quadrant I
90° to 180° (π/2 to π) − + Quadrant II
180° to 270° (π to 3π/2) − − Quadrant III
270° to 360° (3π/2 to 2π) + − Quadrant IV

Angles exactly at 0°, 90°, 180° and 270° land on an axis (one of x or y is zero), so they belong to no quadrant.

Useful facts

  • Periodicity: angles that differ by 2π (360°) give the same complex number, because cosine and sine repeat. For example, 30°, 390° and −330° all give the same x + yi.
  • Negative r: a negative magnitude is equivalent to adding π (180°) to the angle, so \((-r, \theta)\) is the same point as \((r, \theta + \pi)\). It reflects the point through the origin: x and y both change sign.
  • Magnitude is preserved: \(|z| = \sqrt{x^2 + y^2} = r\) (for r ≥ 0), so the point always lies on a circle of radius r around the origin.
  • Floating-point noise: values that should be exactly zero, such as cos(π/2) or sin(π), may show as tiny numbers around 1e-16 (for example 6.1e-17). This is a rounding artifact of computing with an approximate π, not a real nonzero part; treat it as 0.
  • Units: make sure the angle unit matches your input. Entering 90 as radians gives a very different result from 90 degrees.

FAQ

What happens if r = 0? The result is 0 (the origin) regardless of the angle, since both x and y become zero.

Can r be negative? Yes. A negative r is valid and simply reflects the point through the origin, equivalent to adding \(\pi\) to the angle.

Why must I pick radians or degrees? The trig functions operate in radians. Selecting "Degrees" multiplies your angle by \(\pi/180\) first so the answer is correct.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators