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
- 1Write your complex number in the form a + bi so the real and imaginary parts are easy to separate.
- 2Enter the real part in the a (Real Part) field, keeping its sign.
- 3Enter the imaginary part in the b (Imaginary Part) field; for a number like 6 - 8i, type -8, not 8.
- 4Read the a^2 + b^2 line first; it is the shared starting value for the other results.
- 5Read the Modulus |z| line for the number's distance from the origin, the square root of that sum.
- 6Read the Argument (Degrees) line for the angle from the positive real axis, between -180 and 180 degrees.
- 7Read the Argument (Radians) line if your work is in radians; it is the same angle in the other unit.
- 8Sanity-check the quadrant: a negative a with a positive b should give an angle between 90 and 180 degrees.
Formula
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
| Scenario | Calculation | Result |
|---|---|---|
| Page default | a = 3, b = 4: a^2 + b^2 = 25, modulus sqrt(25) = 5, argument atan2(4, 3) = 0.9273 radians = 53.1301 degrees | Modulus 5, Argument 53.1301 degrees, Argument 0.9273 radians, a^2 + b^2 = 25 |
| On the diagonal | a = 1, b = 1: a^2 + b^2 = 2, modulus sqrt(2) = 1.4142, argument atan2(1, 1) = 0.7854 radians = 45 degrees | Modulus 1.4142, Argument 45 degrees, Argument 0.7854 radians, a^2 + b^2 = 2 |
| Second quadrant | a = -4, b = 2: a^2 + b^2 = 20, modulus sqrt(20) = 4.4721, argument atan2(2, -4) = 2.6779 radians = 153.4349 degrees | Modulus 4.4721, Argument 153.4349 degrees, Argument 2.6779 radians, a^2 + b^2 = 20 |
| Below the axis | a = 6, b = -8: a^2 + b^2 = 100, modulus sqrt(100) = 10, argument atan2(-8, 6) = -0.9273 radians = -53.1301 degrees | Modulus 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.8 | 4.0792 | 78.6901 | 1.3734 | 16.6400 |
| 2 | 4.4721 | 63.4349 | 1.1071 | 20.0000 |
| 3 | 5.0000 | 53.1301 | 0.9273 | 25.0000 |
| 4 | 5.6569 | 45.0000 | 0.7854 | 32.0000 |
| 5 | 6.4031 | 38.6598 | 0.6747 | 41.0000 |
| 6 | 7.2111 | 33.6901 | 0.5880 | 52.0000 |
| 8 | 8.9443 | 26.5651 | 0.4636 | 80.0000 |
| 9 | 9.8489 | 23.9625 | 0.4182 | 97.0000 |
| 10 | 10.7703 | 21.8014 | 0.3805 | 116.0000 |
Practice Problems
Check your understanding of the Complex Modulus Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
1 + i: Given a (Real Part) 1, b (Imaginary Part) 1, what does it come out to?
Show AnswerHide Answer
-5i: You enter a (Real Part) 0, b (Imaginary Part) -5 — what does the calculator return?
Show AnswerHide Answer
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.
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.
Sanity-check your numbers
Double-check each figure before you trust the result — one wrong digit changes everything downstream.
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.
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.
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.
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.
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.
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
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>
