How to use this calculator
The principal argument is the direction angle of a nonzero complex number 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 argument calculator works
The principal argument is the direction angle of a nonzero complex number in the complex plane.
Inputs and units
- Real part of first number: Real part x is the horizontal coordinate.
- Imaginary part of first number: Imaginary part y is the vertical coordinate multiplying i.
Formula and method
arg(x+yi)=atan2(y,x), reported in degrees and radians; the principal degree range is (−180°,180°].
Worked example
For 2+3i, atan2(3,2)=0.982794 rad≈56.31°.
Interpreting the result
The angle identifies direction from the positive real axis. Multiplying the complex number by a positive real scale leaves its argument unchanged.
Assumptions and limits
The zero complex number has no direction, so its argument is undefined. The angle convention wraps the negative real axis to +180°.
Frequently asked questions
Why use atan2 instead of arctan(y/x)?
atan2 uses both signs to choose the correct quadrant and handles x=0.
What is the argument of zero?
It is undefined because zero has no direction.
How do I use the Complex argument 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 argument?
For 2+3i, atan2(3,2)=0.982794 rad≈56.31°.
What does the Complex argument calculator calculate?
The principal argument is the direction angle of a nonzero complex number in the complex plane.