How to use this calculator
Compute the Euclidean distance of a complex number from the origin in the complex plane.
- Enter Real part of first number, Imaginary part of first number. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How Complex magnitude calculator works
Compute the Euclidean distance of a complex number from the origin in the complex plane.
Inputs and units
- Real part of first number: Real part a is the horizontal coordinate.
- Imaginary part of first number: Imaginary part b is the vertical coordinate.
Formula and method
|a+bi|=√(a²+b²), the hypotenuse of the right triangle with legs a and b.
Worked example
For 2+3i, |z|=√(2²+3²)=√13≈3.60555.
Interpreting the result
Magnitude is nonnegative and ignores direction; the argument records direction separately.
Assumptions and limits
All components must be finite. Scaling can overflow for extremely large inputs even when the mathematical magnitude exists.
Sources and method
- Complex arithmetic uses rectangular components; conjugation reverses the imaginary component and modulus is Euclidean length. OpenStax: complex numbers
Frequently asked questions
Can magnitude be negative?
No. It is a distance from the origin.
What is the magnitude of zero?
It is zero. The argument of zero, unlike its magnitude, is undefined.
How do I use the Complex magnitude calculator?
For z = a + bi, enter a in Real part and b in Imaginary part. For example, z = 2 + 3i uses 2 and 3.
What is a worked example of Complex magnitude?
For 2+3i, |z|=√(2²+3²)=√13≈3.60555.
What does the Complex magnitude calculator calculate?
Compute the Euclidean distance of a complex number from the origin in the complex plane.