Complex Number Calculator
Complex arithmetic, powers and roots with steps, in rectangular, polar and exponential form.
This polar to rectangular calculator converts polar coordinates to rectangular (Cartesian) form or with and .
Rectangular form of (2, 60°)
≈ 1 + 1.732050808i
Walking 2 units from the origin in the direction 60° lands on the point (1, 1.732050808), which is the complex number 1 + 1.732050808i.
Find the real part x
cos 60° is the exact value 1/2.
Find the imaginary part y
sin 60° is the exact value √3/2.
Write the rectangular form
It also converts rectangular to polar with and , in degrees or radians, with every step and exact values.
3pi/4 or pi/6.-2+2i (engineers can write -2+2j) or a point such as (-2, 2).Polar to rectangular
Plain-text formula: x = r cos θ, y = r sin θ, z = r(cos θ + i sin θ) = re^(iθ)
Multiply the modulus by the cosine and sine of the angle. For multiples of 30° and 45° the values are exact, such as and , so is exactly .
Rectangular to polar
Plain-text formula: r = √(x^2 + y^2), θ = atan2(y, x)
atan2 starts from the reference angle α = arctan|y/x| and corrects it for the quadrant: θ = α in quadrant I, 180° − α in quadrant II, −(180° − α) in quadrant III and −α in quadrant IV. A plain arctan(y/x) gets quadrants II and III wrong.
In polar form, r is the distance from the origin and θ is the direction, measured counterclockwise from the positive x-axis (the real axis). In rectangular form, x is how far the point is across and y how far up. Both describe the same point, so converting back gives the numbers you started with.
Angles that differ by 360° (or 2π) point the same way, so the converter reports the principal angle in (−180°, 180°] and also the equivalent angle in [0°, 360°). The most common mistake is to compute θ = arctan(y/x) without checking the quadrant. For (−3, −4), arctan(4/3) ≈ 53.13°, but the point is in quadrant III, so θ ≈ −126.87° (or 233.13°).
Rectangular form and Cartesian form are two names for the same thing: a point written as , or a complex number written as . Polar coordinates describe the same point by its distance from the origin and its direction. Drawn for a complex number, the plane is called the complex plane or an Argand diagram, with the real part across and the imaginary part up.
Electrical engineers write polar form as a phasor, , and use for the imaginary unit. A voltage of V has and , so it is V in rectangular form. Choose the Phasor 120∠30° example at the top of the calculator to see each step.
Find , then the reference angle , then use the signs of x and y to place θ in the right quadrant. For : , , and x < 0, y > 0 puts it in quadrant II, so . The table gives the rule for every quadrant.
| Quadrant | Signs | θ in (−180°, 180°] | θ in [0°, 360°) | Example |
|---|---|---|---|---|
| I | x > 0, y > 0 | α | α | (3, 4): r = 5, θ ≈ 53.13° |
| II | x < 0, y > 0 | 180° − α | 180° − α | (−2, 2): r = 2√2, θ = 135° |
| III | x < 0, y < 0 | −(180° − α) | 180° + α | (−3, −4): r = 5, θ ≈ −126.87° or 233.13° |
| IV | x > 0, y < 0 | −α | 360° − α | (3, −4): r = 5, θ ≈ −53.13° or 306.87° |
| On an axis | x = 0 or y = 0 | 0°, 90°, 180° or −90° | 0°, 90°, 180° or 270° | (0, 2): r = 2, θ = 90° |
Set the calculator to degree or radian mode first; the angle you get back follows that mode.
Casio fx-991ES PLUS and fx-570ES PLUS: Pol is SHIFT then +, and Rec is SHIFT then −. In degree mode, Pol(√2, √2) returns r = 2 and θ = 45, and Rec(√2, 45) returns X = 1 and Y = 1; θ comes back between −180° and 180°. In CMPLX mode the ∠ sign is SHIFT then (−), so typing 2∠45 gives √2 + √2i.
TI-84 Plus: press 2nd then APPS for the ANGLE menu. Options 5 and 6, R►Pr( and R►Pθ(, give r and θ from x and y; options 7 and 8, P►Rx( and P►Ry(, give x and y from r and θ, one value per command.
TI-30X Pro MathPrint: press 2nd and the key marked R▸P to open the R▸P menu. 1:P▸Rx( and 2:P▸Ry( give x and y from r and θ; 3:R▸Pr( and 4:R▸Pθ( give r and θ from x and y, so R▸Pr(3, 4) is 5 and R▸Pθ(3, 4) is about 53.13 in degree mode.
TI-36X Pro: use the complex menu. For polar to rectangular, type r, press 2nd then complex, choose 1: ∠, type θ and press enter: 5∠30 gives about 4.33 + 2.5i in degree mode. For rectangular to polar, type x + yi, press 2nd then complex and choose 4: r∠θ.
A handheld calculator gives the answer but not the working. This page also shows each step, including the quadrant check, and gives exact values such as and alongside the decimals.
Find x, y and the complex number x + yi for r = 6 and θ = 150°.
Answer: , so .
Use and . For : and , so the rectangular form is , or the point .
Find , then . For : and , because the point is in quadrant I. In quadrant II use , in quadrant III and in quadrant IV , where .
Because arctan only returns angles between −90° and 90°, which covers quadrants I and IV. Points with negative x need 180° added or subtracted. atan2(y, x) does this automatically and also handles x = 0.
is the point , on the positive imaginary axis. Its modulus is 2 and its angle is 90°, or , so .
It is the angle θ in the range (−180°, 180°], or (−π, π] in radians. Every nonzero complex number has exactly one principal argument, even though infinitely many angles describe the same direction.
The modulus is 0 and the angle is undefined, because every direction from the origin leads back to the origin. Many books write 0∠0° by convention.
Usually r is taken as nonnegative. If you enter a negative r, the point lies in the opposite direction: (−3, 30°) is the same point as (3, 210°), which is (3, −150°) in principal form.
No, it converts points and complex numbers. To convert an equation, substitute , and . Multiplying by r gives , so : a circle of radius 1 centered at (0, 1). The graphing calculator plots polar curves such as r = 2sin(θ), so you can check the shape.
Multiply the moduli and add the angles: . The complex number calculator does this and shows the arithmetic in both forms.
Complex arithmetic, powers and roots with steps, in rectangular, polar and exponential form.
All six trig functions of an angle, or the angle from a ratio, with exact values, quadrant and steps.
Missing side, angles and area of a right triangle, with steps, triples and feet-and-inches input.
Plot functions, equations, inequalities, parametric and polar curves; find roots and intersections.
Type or tap expressions with exact fractions, memory, variables, constants and complex mode.
DMS to decimal degrees and back for latitude and longitude, with N/S/E/W, DDM, radians and every step.
Learn more: Polar form makes multiplying and dividing easy: see how to divide complex numbers, and complex mode in the scientific calculator for polar input.
Results are calculated in your browser with methods checked by automated tests, and are intended for learning and general use. For engineering, medical, financial, legal or safety-critical decisions, verify important values independently and follow the rounding rules your work requires. How accurate are these results?