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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Modulus r: enter a number.
- Angle θ: enter a number.
- Angle unit: choose Degrees or Radians.
- 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
| Symbol | Meaning |
|---|---|
| Modulus r | |
| Angle θ | |
| Angle unit (1: Degrees; 2: Radians) | |
| Real 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 r | 2 |
|---|---|
| Angle θ | 30 |
| Angle unit | Degrees |
| Imaginary part b = r sin θ | 1 |
|---|
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.