How Polar-to-Rectangular Conversion Works
A complex number can be written in two equivalent forms: rectangular form a + bi (a real part and an imaginary part) or polar form r∠θ (a modulus/magnitude r and an angle θ measured from the positive real axis). This calculator converts polar form into rectangular form using basic trigonometry.
The formula
Given a modulus r and an angle θ, the rectangular components are:
- Real part: a = r × cos θ
- Imaginary part: b = r × sin θ
- Rectangular form: z = a + bi
This follows directly from the definition of sine and cosine on the unit circle, scaled by the distance r from the origin: the point (a, b) sits at distance r from the origin at angle θ. If θ is given in degrees, it is first converted to radians (θrad = θ × π / 180) before applying the trigonometric functions, since the sine and cosine functions used here expect radians.
Worked example
For r = 5 and θ = 36.87°: a = 5 × cos(36.87°) ≈ 5 × 0.8 = 4, and b = 5 × sin(36.87°) ≈ 5 × 0.6 = 3. So the rectangular form is 4 + 3i — the classic 3-4-5 right triangle expressed as a complex number, where 5 is the hypotenuse (modulus) and 36.87° is the angle it makes with the positive real axis.
Common sources of error
- Degrees vs. radians: entering an angle in degrees while radians was intended (or vice versa) produces a completely different point — always confirm which unit you selected.
- Sign of the imaginary part: a negative b simply means the point sits below the real axis, not that the calculation failed.
- Rounding too early: round only the final a and b values, not θ or the intermediate trigonometric ratios.
Reading the result
The real part places the point left or right of the origin; the imaginary part places it up or down. Together they determine which quadrant of the complex plane the number falls in — shown alongside the rectangular form below — which is useful for sketching the number or checking a hand calculation at a glance.