Skip to content
FiftyCalc Free calculators for all 50 states

Complex Number to Rectangular Form Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the modulus r and the angle θ of a complex number to get its real part a and imaginary part b.

Result

Sample figures

Real part a = r cos θ—

Imaginary part b = r sin θ —

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Complex Number to Rectangular Form Calculator

Modulus r: enter a number. Prefilled example: 2.

Angle θ: enter a number. Prefilled example: 30.

Angle unit

Angle unit: choose Degrees or Radians. Prefilled example: Degrees.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Modulus r: enter a number.
  2. Angle θ: enter a number.
  3. Angle unit: choose Degrees or Radians.
  4. Read the result: Real part a = r cos θ; the panel also shows Imaginary part b = r sin θ.

How this calculator works

From polar to rectangular form: a = r cos θ and b = r sin θ, so r(cos θ + i sin θ) = a + bi (Euler's formula, e^(iθ) = cos θ + i sin θ). Degrees are converted to radians by × π ÷ 180.

The results are rounded to 10 decimal places so that values such as cos 90° show as 0 instead of a tiny rounding remainder.

The formula

  1. A=round⁡(r×cos⁡({rad⁡(t)if u=1totherwise),10)+0
Symbols used in the formula
SymbolMeaning
rModulus r
tAngle θ
uAngle unit (1: Degrees; 2: Radians)
AReal part a = r cos θ
round(x, d)x rounded to d decimal places, or to a whole number without d.
rad(x)the angle x, converted from degrees to radians.

Worked example

Modulus r2
Angle θ30
Angle unitDegrees
Imaginary part b = r sin θ1
  1. A=round⁡(2×cos⁡(rad⁡(30)),10)+0=1.73205

Real part a = r cos θ 1.7321

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is 2∠30° in rectangular form?

a = 2 cos 30° ≈ 1.7321 and b = 2 sin 30° = 1, so 2∠30° = 1.7321 + i.

What is 4∠135°?

a = 4 cos 135° ≈ −2.8284 and b = 4 sin 135° ≈ 2.8284, so about −2.8284 + 2.8284i.

Related calculators