Complex Number Polar Phasor & De Moivre Power Calculator

Compute |z| = √(a²+b²), phase angle arg(z), and polar power r^n·e^(inθ).

Complex Modulus |z| 5
Phase Argument θ 53.13 deg
De Moivre Real Part Re(z^2) -7
De Moivre Imaginary Part Im(z^2) 24
Inputs
Try:
Real part Re(z) = a.
Imaginary part Im(z) = b.
De Moivre exponent n.
Results & Graph
Complex Modulus |z|
5
Phase Argument θ
53.13 deg
De Moivre Real Part Re(z^2)
-7
De Moivre Imaginary Part Im(z^2)
24
Reciprocal 1/z, Real Part
0.12
Reciprocal 1/z, Imaginary Part
-0.16

Complex Modulus |z|

Graph 1 • How the inputs feed Complex Numbers
Complex Number Polar Phasor & De Moivre Power Calculator • Custom Domain Schematic (Algebra & Equations) realAimagBComplex Numbers Real A: 3 • Imag B: 4 COMPLEX MODULUS |Z| 5 • Phase Argument θ: 53.13 deg • De Moivre Real Part Re: -7 Eq: |z| = √(a² + b²); θ = atan2(b, a
Graph 2 • Complex Modulus |z| as Real A changes (40% to 160% of current)
0 3.44 6.87 4.18 1.20 4.39 1.80 4.67 2.40 5 3 5.38 3.60 5.80 4.20 6.25 4.80
Graph 3 • Real A and Imag B together Compares Complex Modulus |z| when Imag B is shifted +25% (solid) vs. −25% (dashed).
0 3.49 6.98 --- Imag B @ 75% 5.42 -30% 5.61 -15% 5.83 +0% 6.08 +15% 6.34 +30%
Summary: z = 3 + 4i has polar modulus r = 5, phase angle θ = 53.13°, and z^2 = -7 + 24i. Conjugate: 3 − 4i.
Summary: z = 3 + 4i has polar modulus r = 5, phase angle θ = 53.13°, and z^2 = -7 + 24i. Conjugate: 3 − 4i.
Interactive chart & math engine powered by CalculatorGraph

Formula: Complex Numbers Mathematical Identity

|z| = a² + b²
θ = atan2(b, a)
zn = rn(cos(nθ) + i·sin(nθ))
|z| = √(a² + b²); θ = atan2(b, a); z^n = r^n(cos(nθ) + i·sin(nθ))
  • realA: Real A (numeric parameter)
  • imagB: Imag B (numeric parameter)
  • powerN: Power N (numeric parameter)

Frequently Asked Questions

Should I give the angle in degrees or radians in my answer?

The tool always shows degrees. Most pure mathematics courses expect radians, so divide the degree value by 57.2958 (the number of degrees in one radian) when converting. For the default, 53.13 degrees is about 0.9273 radians. Engineering work on phasors is often written in degrees, so check what your course or report uses before copying the figure across.

Why does -3 - 4i give the same square as 3 + 4i?

The two numbers are negatives of each other, and squaring cancels a sign: (-z) squared equals z squared. In polar terms their angles differ by half a turn, and doubling that difference gives a full turn, which brings the results to the same point. Entering either one with a power of 2 returns -7 + 24i.

How do I get the other square root that the tool does not show?

For square roots the second one is simply the negative of the first. Set the power to 0.5, read the principal root, and flip both signs. For 3 + 4i the tool gives 2 + i, so the other root is -2 - i. For higher roots, rotate the principal root by a full turn divided by n, repeatedly.

What is the exponential form of the default number?

Exponential form writes z as r times e to the i theta, with theta in radians. For 3 + 4i that is 5 times e to the 0.9273i. Euler's formula, e to the i theta equals cos theta plus i sin theta, links it to the polar form, and the power rule then becomes 5 to the n times e to the 0.9273ni.

Can I enter an angle and modulus instead of a and b?

No, the inputs are rectangular only. To go from polar to rectangular yourself, multiply the modulus by the cosine of the angle for a, and by the sine of the angle for b. A modulus of 5 at 53.13 degrees gives back 3 and 4. Enter those and the tool will run the power for you, and the modulus and angle it reports back are a handy check on your conversion.

Why does the real part sometimes show as -0?

The cosine or sine in the calculation lands a tiny amount below zero because of floating point rounding, and the result line rounds that tiny value to 0 while keeping the sign. The 6th power of 1 + i shows a real part of -0 for this reason. Read it as plain zero; the summary sentence already writes it as 0 − 8i.

How many decimal places can I trust in the result?

The result lines round to three decimal places for most values and two for the angle. That is fine for coursework, but rounded parts lose accuracy if you feed them back in for a further power. Raise z to the full power in one step rather than squaring a rounded square, and keep more digits for chained calculations.

Is the modulus the same as the absolute value?

Yes. For complex numbers the modulus, absolute value and magnitude all mean the distance from the origin, the square root of a squared plus b squared. For a real number with b = 0 it reduces to the ordinary absolute value, so -3 + 0i has modulus 3, as the tool shows. The bars notation |z| is used for both.

Why does the cube root of -8 come out as 1 + 1.732i?

The tool takes the principal angle of -8, which is half a turn, and divides it by 3 to get 60 degrees. A modulus of 2 at 60 degrees is 1 + 1.732i. The real cube root -2 is also a valid answer, at an angle of half a turn. Find it by adding two thirds of a turn to the principal angle.

Does a power of 0.5 always give the root with a positive real part?

Almost always. The principal angle lies between minus and plus half a turn, so half of it lies between minus and plus a quarter turn, which is the right half of the plane. The exception is a negative real number, where the root lands exactly on the imaginary axis: the square root of -1 is returned as i.

Checking the default: 3 + 4i, modulus 5, square -7 + 24i

With the inputs left alone, the tool takes z = 3 + 4i and a power of 2. It reports a modulus of 5, a phase angle of 53.13 degrees, and z squared equal to -7 + 24i.

Each of those can be checked on paper. The modulus is the square root of 3 squared plus 4 squared, which is the square root of 25. The angle is the one whose tangent is 4 over 3, and on a calculator that is 53.13 degrees, or about 0.9273 radians.

For the square, expand the bracket the ordinary way: (3 + 4i)(3 + 4i) is 9 + 12i + 12i + 16i squared. Since i squared is -1, the last term is -16, and the total is -7 + 24i. The polar route gives the same answer. Square the modulus to get 25 and double the angle. The cosine of twice 53.13 degrees is -0.28 and the sine is 0.96, and 25 times those gives -7 and 24.

That agreement is De Moivre's theorem at work: raising z to the power n raises the modulus to the power n and multiplies the angle by n. For a power of 2 the bracket is quicker. For a power of 10 the polar form wins easily, which is why the tool exists.

How the argument picks the right quadrant

The tool uses atan2(b, a), not the plain arctangent of b over a. The difference matters as soon as the real part is negative.

Try -3 - 4i. The ratio b over a is 4 over 3, exactly as for 3 + 4i, so a plain arctangent would return 53.13 degrees and put the point in the wrong quadrant. The tool instead returns a negative angle in the third quadrant: minus the quantity (half a turn minus 53.13 degrees). Its square is still -7 + 24i, because doubling that angle lands in the same place as doubling 53.13 degrees once you go round a full turn.

The reported angle always lies between minus half a turn and plus half a turn. A point below the real axis gets a negative angle: 3 - 4i shows -53.13 degrees, and -2i shows -90 degrees. A negative real number, such as -3 + 0i, sits on the boundary and gets exactly half a turn, which the tool displays in degrees.

Some textbooks prefer angles from 0 up to a full turn. If yours does, add a full turn to any negative angle the tool gives you. The point on the plane is the same; only the label changes.

Conjugate and reciprocal of 3 + 4i

Alongside the power, the result gives the reciprocal 1/z as two lines, a real part and an imaginary part, and the summary sentence names the conjugate. For the default both are easy to confirm from the polar result.

The conjugate flips the sign of the imaginary part. For 3 + 4i the sentence reads "Conjugate: 3 − 4i". In polar terms it has the same modulus, 5, and the negated angle, -53.13 degrees. You can confirm the angle by entering a = 3 and b = -4.

The reciprocal is the conjugate divided by the modulus squared: (3 - 4i) over 25, which is 0.12 - 0.16i. The two reciprocal lines show exactly 0.12 and -0.16. In polar terms, the modulus becomes 1 over 5 and the angle is negated. Setting the power to -1 gives the same pair again in the De Moivre lines, a handy cross check that the power rule and the direct reciprocal agree.

A power of -2 gives 1 over z squared. The tool reports -0.011 and -0.038 for the two parts, and the sentence writes it as -0.011 − 0.038i, which is -7 - 24i divided by 25 squared. Negative powers simply shrink the modulus and turn the angle backwards.

Finding all n of the nth roots by hand

The engine computes a single value of z to the power n. Roots are where that needs care, because a nonzero complex number has n different nth roots and the tool shows one of them, the principal value. For a fractional power the sentence says so and reminds you that the other roots are spaced evenly around the circle.

The rule is this. Take the nth root of the modulus. Divide the angle by n, then add a full turn divided by n, again and again, to get n equally spaced angles. Each angle, paired with the same root modulus, is one root. The roots sit on a circle, evenly spaced like spokes.

Square roots of 3 + 4i: the root modulus is the square root of 5, and the angles are 26.57 degrees and that plus half a turn. Setting the power to 0.5 makes the tool return 2 + i, the first root. The second is its negative, -2 - i. Check by squaring: (2 + i) squared is 4 + 4i - 1, which is 3 + 4i.

Cube roots of 8: the root modulus is 2 and the angles are 0, a third of a turn and two thirds of a turn. That gives 2, then -1 + 1.732i, then -1 - 1.732i. Entering a = 8, b = 0 and a power of 0.3333333333 shows only the first, 2. For -8 the tool returns 1 + 1.732i, not -2. That is correct for the principal complex root, but -2 is one of the three cube roots and is the one most people expect. If you need every root, use the tool for the principal one and add the turns yourself.

Using the modulus and angle as a phasor

In AC circuit work a phasor stores a sinusoid's amplitude as the modulus and its phase as the angle. The real part is the in-phase component and the imaginary part is the quadrature component.

Take a series circuit with 3 ohms of resistance and 4 ohms of inductive reactance. Its impedance is Z = 3 + 4i ohms. The tool gives a magnitude of 5 ohms and a phase of 53.13 degrees, which means the current lags the voltage by 53.13 degrees. A 10 volt source drives 2 amps through it.

The admittance is the reciprocal, which the two 1/z lines give as 0.12 and -0.16, so 0.12 - 0.16i siemens. The 0.12 is the conductance and the -0.16 is the susceptance, with the minus sign marking an inductive load.

Multiplying phasors multiplies magnitudes and adds angles, and dividing does the reverse. Adding phasors, however, has to be done in rectangular form: add the real parts, add the imaginary parts, then convert back. The tool handles one number at a time, so for sums do the addition first and enter the totals as a and b. Use the same amplitude convention, peak or RMS, for every quantity in one calculation.

Integer powers on the unit circle and the i cycle

Numbers with modulus 1 keep modulus 1 under any power, so only the angle moves. Enter 0.6 + 0.8i, which has modulus 1 and the same 53.13 degree angle as the default. A power of 5 gives -0.076 - 0.997i, still a point on the unit circle, now just short of straight down.

The simplest case is i itself, a = 0 and b = 1, with an angle of 90 degrees. Powers of i go round in a cycle of four: i, -1, -i, 1. A power of 4 returns 1 + 0i, as expected.

For a modulus above 1 the powers spiral outward. 1 + i has modulus 1.4142 and an angle of 45 degrees. Its 6th power is -8i and its 8th power is exactly 16, because eight lots of 45 degrees is a full turn and 1.4142 to the 8th is 16.

Floating point arithmetic leaves small traces. In the result lines, the 6th power of 1 + i shows a real part of -0, and the square of -2i shows an imaginary part of -0. Both are zero; the sign comes from rounding a tiny negative value. The summary sentence cleans this up and writes 0 − 8i and -4 + 0i.

Fractional powers and the principal branch

The power box accepts any real number, not just integers. For a non-integer power the tool uses the principal value: it takes the angle it reported, between minus and plus half a turn, and multiplies that by n.

This is why the square root of -1 comes out as i rather than -i, and why the cube root of -8 is 1 + 1.732i. Both are legitimate roots; they are simply the ones attached to the principal angle.

The negative real axis is where this convention bites. Points just above it have angles close to plus half a turn; points just below have angles close to minus half a turn. So the square root of -3 + 4i is 1 + 2i and the square root of -3 - 4i is 1 - 2i, two results on the same side of the plane even though the inputs are mirror images. If your formula needs a root that changes smoothly across that axis, you may need to pick a different root by hand.

Irrational or decimal powers such as 0.7 have infinitely many values in principle. The tool gives the principal one, which is usually what a textbook or software library means by z to the power 0.7.

When z is zero

Zero has modulus 0 and no meaningful angle. The tool reports the angle as 0 degrees because that is what atan2(0, 0) returns, but the number is not really pointing anywhere. The reciprocal lines are left off for zero, since 1 over 0 has no value.

Positive powers of zero are zero, and the tool's answer is right: a = 0, b = 0 and a power of 2 returns 0 + 0i.

Zero raised to the power 0, or to any negative power, produces an error rather than a number. Negative powers would mean dividing by zero. Zero to the zero is left undefined here too, even though some textbooks and programming languages treat it as 1 by convention. If your formula relies on that convention, write the 1 in by hand.