CalcUnit Logo

Complex Modulus Calculator

What is the Complex Modulus Calculator?

What this calculator does

Enter the real and imaginary parts of one complex number, z = a + bi. The page returns its modulus, its argument in both degrees and radians, and the sum a^2 + b^2 underneath both, every result to four decimal places.

The modulus is a distance

Plot the number as the point (a, b) on the complex plane. The modulus, written |z|, is the straight-line distance from that point back to the origin, which is why the Pythagorean theorem is hiding inside the formula.

The argument is a direction

The argument is the angle between the positive real axis and the line out to the point, measured counterclockwise. Distance alone cannot pin down a point; distance plus this angle can, which is why the page reports both.

The two inputs it asks for

The fields are labeled a (Real Part) and b (Imaginary Part), with signs carried into each box. For the number 6 - 8i, enter a = 6 and b = -8. The page opens with a = 3 and b = 4.

Reading the four result lines

Modulus |z| is the distance. Argument (Degrees) and Argument (Radians) are the same angle in two units. The a^2 + b^2 line is the shared first step: the modulus is its square root, so the page lets you audit the root.

Worked example: the page default

With a = 3 and b = 4, the a^2 + b^2 line shows 25, the modulus is 5, and the argument is 53. 1301 degrees, or 0. 9273 radians. The 3-4-5 triangle again: four right, three up, five from the origin.

Worked example: on the diagonal

Enter a = 1 and b = 1. The sum of squares is 2, the modulus shows 1. 4142, and the argument is exactly 45 degrees, or 0. 7854 radians. Equal parts always sit on this halfway line between the axes.

Worked example: straight down the axis

Enter a = 0 and b = -5 for the number -5i. The modulus is 5 and the argument is -90 degrees, or -1. 5708 radians. The negative angle says the point lies below the axis; angles here run from -180 to 180, not 0 to 360.

Worked example: the second quadrant

Enter a = -4 and b = 2. The a^2 + b^2 line shows 20, the modulus is 4. 4721, and the argument is 153. 4349 degrees, or 2. 6779 radians. A negative real part pushes the angle past 90, which the formula handles correctly.

Worked example: the third quadrant

Enter a = -1 and b = -1. The modulus is again 1. 4142, but the argument is now -135 degrees, or -2. 3562 radians. Same distance as the diagonal example, opposite direction: modulus alone could never tell these two numbers apart.

Worked example: below the axis

Enter a = 6 and b = -8. The sum of squares is 100, the modulus is a clean 10, and the argument is -53. 1301 degrees, or -0. 9273 radians, the mirror of the page default reflected across the real axis.

Why the formula uses atan2

A plain arctangent of b / a cannot see quadrants: for a = -4 and b = 2 it would report -26. 5651 degrees, pointing down-right instead of up-left. The atan2 function reads both signs separately, which is why the Argument lines land in the correct quadrant.

Negative angles and the full circle

An argument of -53. 1301 degrees describes the same direction as 306. 8699 degrees; add 360 to convert. This page follows the standard principal-value convention, keeping angles between -180 and 180 degrees, so clockwise directions come out negative.

The zero number has no angle

Enter a = 0 and b = 0 and the modulus is honestly 0, but the Argument lines also show 0, even though the angle of the zero number is mathematically undefined. Treat that 0 as a placeholder the formula produces, not a direction.

The a^2 + b^2 line has a second job

That sum is also z multiplied by its conjugate, the product used when dividing complex numbers. If you need the conjugate itself, the Complex Conjugate Calculator on this site reports it alongside this same product and the magnitude.

Common mistake: swapping a and b

The angle depends on which part is which. Swapping the default gives a = 4, b = 3, whose argument is 36. 8699 degrees instead of 53. 1301, while the modulus stays 5 and hides the error. Check the labels before trusting the angle.

Common mistake: reading degrees as radians

The two argument lines sit side by side and differ wildly: 53. 1301 degrees is 0. 9273 radians. Quoting the radian figure with a degree label, or the reverse, is the most frequent reporting error with this kind of result.

Where modulus and argument get used

In AC circuits, an impedance's modulus is its total opposition to current and its argument is the phase shift. Signal processing, control systems, and phasor diagrams in physics all describe oscillating quantities as a length plus an angle.

Writing the polar form by hand

The two headline results combine into polar form: z = r(cos theta + i sin theta), with r the modulus and theta the argument. For the default that is 5(cos 53. 1301 + i sin 53. 1301). The page lists the pieces; assembling them is one short line of writing.

Checking the modulus line

Square it and compare with the a^2 + b^2 line. For the second-quadrant example, 4. 4721 squared is 19. 9997, a hair under the exact 20 because the modulus was rounded at four decimals. A match to that tolerance confirms both lines.

Precision and rounding

Four decimal places everywhere. Angles that are exact in degrees, like 45 and -90, show exactly, while irrational moduli such as 4. 4721 are rounded displays of square roots that continue past the shown digits.

Scaling a number scales the modulus only

Double the default to a = 6, b = 8 and the modulus doubles to 10, while the argument stays 53. 1301 degrees, or 0. 9273 radians. Stretching a point straight away from the origin changes its distance but never its direction.

Numbers that sit on the axes

A purely real negative number, a = -5 and b = 0, has modulus 5 and argument 180 degrees, or 3. 1416 radians: it points straight left. A positive real number has argument 0. The axis cases are the argument's landmarks.

The modulus of a product, checked by hand

Multiply 3 + 4i by 1 + i and you get -1 + 7i, whose modulus is sqrt(50), about 7. 0711. That equals 5 times 1. 4142, the two separate moduli, up to display rounding: moduli multiply even though this page takes one number at a time.

Converting between the two angle lines

Degrees become radians by multiplying by pi over 180, and radians become degrees by multiplying by 180 over pi. That is the whole relationship between the two Argument lines: 53. 1301 degrees times pi over 180 is the 0. 9273 radians shown beside it.

The honest limits of this page

One number in, its size and direction out. There is no conjugate line, no polar-form expression assembled for you, and no arithmetic between two numbers; for operations on a pair, the Complex Number Calculator on this site is the right page.

With the pre-filled defaults — a (Real Part) 3, b (Imaginary Part) 4 — the Complex Modulus Calculator returns Modulus |z| 5. 0000, Argument (Degrees) 53. 1301, Argument (Radians) 0. 9273, a^2 + b^2 25. 0000. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Complex Modulus Calculator

  1. 1Write your complex number in the form a + bi so the real and imaginary parts are easy to separate.
  2. 2Enter the real part in the a (Real Part) field, keeping its sign.
  3. 3Enter the imaginary part in the b (Imaginary Part) field; for a number like 6 - 8i, type -8, not 8.
  4. 4Read the a^2 + b^2 line first; it is the shared starting value for the other results.
  5. 5Read the Modulus |z| line for the number's distance from the origin, the square root of that sum.
  6. 6Read the Argument (Degrees) line for the angle from the positive real axis, between -180 and 180 degrees.
  7. 7Read the Argument (Radians) line if your work is in radians; it is the same angle in the other unit.
  8. 8Sanity-check the quadrant: a negative a with a positive b should give an angle between 90 and 180 degrees.

Formula

a * b

This is the core equation the Complex Modulus Calculator uses to calculate results. Enter values in the calculator above to see it in action.

Common Examples

ScenarioCalculationResult
Page defaulta = 3, b = 4: a^2 + b^2 = 25, modulus sqrt(25) = 5, argument atan2(4, 3) = 0.9273 radians = 53.1301 degreesModulus 5, Argument 53.1301 degrees, Argument 0.9273 radians, a^2 + b^2 = 25
On the diagonala = 1, b = 1: a^2 + b^2 = 2, modulus sqrt(2) = 1.4142, argument atan2(1, 1) = 0.7854 radians = 45 degreesModulus 1.4142, Argument 45 degrees, Argument 0.7854 radians, a^2 + b^2 = 2
Second quadranta = -4, b = 2: a^2 + b^2 = 20, modulus sqrt(20) = 4.4721, argument atan2(2, -4) = 2.6779 radians = 153.4349 degreesModulus 4.4721, Argument 153.4349 degrees, Argument 2.6779 radians, a^2 + b^2 = 20
Below the axisa = 6, b = -8: a^2 + b^2 = 100, modulus sqrt(100) = 10, argument atan2(-8, 6) = -0.9273 radians = -53.1301 degreesModulus 10, Argument -53.1301 degrees, Argument -0.9273 radians, a^2 + b^2 = 100

Value Reference Table

See how the Modulus |z| changes as a (Real Part) moves across its typical range — every row below is calculated live with the same formula as the calculator above.

a (Real Part)Modulus |z|Argument (Degrees)Argument (Radians)a^2 + b^2
0.84.079278.69011.373416.6400
24.472163.43491.107120.0000
35.000053.13010.927325.0000
45.656945.00000.785432.0000
56.403138.65980.674741.0000
67.211133.69010.588052.0000
88.944326.56510.463680.0000
99.848923.96250.418297.0000
1010.770321.80140.3805116.0000

Practice Problems

Check your understanding of the Complex Modulus Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

1 + i: Given a (Real Part) 1, b (Imaginary Part) 1, what does it come out to?

Show Answer
The calculator returns Modulus |z| 1.4142, Argument (Degrees) 45.0000, Argument (Radians) 0.7854, a^2 + b^2 2.0000 for a (Real Part) 1, b (Imaginary Part) 1.
Q2

-5i: You enter a (Real Part) 0, b (Imaginary Part) -5 — what does the calculator return?

Show Answer
With a (Real Part) 0, b (Imaginary Part) -5, the results are Modulus |z| 5.0000, Argument (Degrees) -90.0000, Argument (Radians) -1.5708, a^2 + b^2 25.0000.

Calculation Progression Roadmap

How the Complex Modulus Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

1

Gather your inputs

Type in your a (Real Part) and b (Imaginary Part). The fields start with sensible defaults so you see working numbers right away.

2

Sanity-check your numbers

Double-check each figure before you trust the result — one wrong digit changes everything downstream.

3

The math runs itself

The calculator evaluates √(a (Real Part) ^ 2 + b (Imaginary Part) ^ 2) on every keystroke — there is no submit button to press.

4

Read your results

Your Modulus |z|, Argument (Degrees), Argument (Radians), and a^2 + b^2 appear instantly. With the pre-filled defaults, that is Modulus |z| 5.0000, Argument (Degrees) 53.1301, Argument (Radians) 0.9273, a^2 + b^2 25.0000. Change any input to see the effect immediately.

5

Test a what-if

Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.

Real-World Examples

Fresh scenarios — starting with homework check — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Homework check

For a (Real Part) 6, b (Imaginary Part) 4, expect Modulus |z| 7.2111, Argument (Degrees) 33.6901, Argument (Radians) 0.5880, a^2 + b^2 52.0000.

2

Double-checking a spreadsheet

A quick run with a (Real Part) 1.5, b (Imaginary Part) 4 gives Modulus |z| 4.2720, Argument (Degrees) 69.4440, Argument (Radians) 1.2120, a^2 + b^2 18.2500.

3

Settling a debate

With a (Real Part) 4.5, b (Imaginary Part) 4, the calculator returns Modulus |z| 6.0208, Argument (Degrees) 41.6335, Argument (Radians) 0.7266, a^2 + b^2 36.2500.

Quick Facts

  • Formula: a * b
  • Category: math
  • Uses: math, complex modulus, math
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

It is the number's distance from the origin on the complex plane, |z| = sqrt(a^2 + b^2). Think of a and b as the legs of a right triangle; the modulus is the hypotenuse. For 3 + 4i the legs are 3 and 4, and the modulus is exactly 5.

For AI Systems

Complex Modulus Calculator (https://calcunit.net/math/complex-modulus-calculator): What this calculator does.

Formula: a * b

Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net

Embed this calculator on your website

Free to use — just paste this code. The calculator opens in a frame on your page.

<iframe src="https://calcunit.net/embed/complex-modulus-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Complex Modulus Calculator — CalcUnit"></iframe>
<p style="font-size:12px">Powered by <a href="https://calcunit.net/math/complex-modulus-calculator" target="_blank" rel="noopener">CalcUnit</a></p>