Algebra • Complex Analysis & Trigonometry

Complex Number Argument Calculator

Calculate the principal argument Arg(z) ∈ (−π, π], phase angle in radians and degrees, modulus |z| = √(a² + b²), polar form, and Euler representation with real-time Argand plane visualization.

|
Last Updated: September 2026
|
Complex Analysis & Trigonometric Proofs Verified
Interactive Argand Plane
Complex Number Coordinate (z = a + bi) Quadrant I
i
Principal Argument Arg(z) θ ∈ (−π, π]
0.7854 rad
Exact: π / 4 45.00°
Modulus / Magnitude |z| r = √(a² + b²)
1.4142
Exact: √2 Ref α: 45.00°
Alternative Angle Intervals & Forms
Positive Interval [0, 2π) / [0°, 360°) 0.7854 rad • 45.00°
Complex Conjugate &zmacr; = a − bi 1 − 1i (Arg: −45.00°)
Polar Form (r∠θ): 1.4142 ∠ 45.00°
Euler Exponential Form (reiθ): 1.4142 ei(0.7854)
Trigonometric Form: 1.4142(cos 45° + i sin 45°)
Argand Diagram (Complex Plane ℂ)
+Re −Re +Im −Im Q I Q II Q III Q IV θ z (1, 1)
Vector Length: 1.414 Angle: 45.00° Click anywhere to place z

1 Step-by-Step Analytical Derivation

Mathematical Proof
1. Coordinates & Quadrant

Real part a = 1 (> 0) and imaginary part b = 1 (> 0). Both coordinates are positive, placing z in Quadrant I.

Condition: a > 0, b > 0 ⇒ Q1
2. Reference Angle α

Compute acute reference angle α = arctan(|b| / |a|) = arctan(1/1) = 45.00° (0.7854 rad).

Formula: α = arctan(|1| / |1|) = 45.00°
3. Principal Argument θ

For Quadrant I, θ = α = 45.00° (0.7854 rad, or π/4).

Final: Arg(z) = 0.7854 rad (π/4)
Direct Answer & Overview
Verified Educational Guide

How to Calculate the Argument of a Complex Number

The argument of a complex number z = a + bi is the angle θ formed with the positive real axis on the complex Argand plane. While the basic ratio is given by b/a, the true geometric angle depends on the signs of a and b: in Quadrant I and IV, θ = arctan(b/a); in Quadrant II, θ = arctan(b/a) + π; in Quadrant III, θ = arctan(b/a) − π. The principal value Arg(z) is conventionally constrained to the interval (−π, π] radians or (−180°, 180°].

Primary Mathematical Formula Quadrant-Adjusted Principal Argument Branch: θ ∈ (−π, π]
Standard Equation
ƒ(x)
Q.E.D.
Arg⁡(a+bi)={arctan⁡(ba)if a>0arctan⁡(ba)+πif a<0,b≥0arctan⁡(ba)−πif a<0,b<0+π2if a=0,b>0−π2if a=0,b<0undefinedif a=0,b=0\operatorname{Arg}(a + bi) = \begin{cases} \arctan\left(\frac{b}{a}\right) & \text{if } a > 0 \\ \arctan\left(\frac{b}{a}\right) + \pi & \text{if } a < 0, b \ge 0 \\ \arctan\left(\frac{b}{a}\right) - \pi & \text{if } a < 0, b < 0 \\ +\frac{\pi}{2} & \text{if } a = 0, b > 0 \\ -\frac{\pi}{2} & \text{if } a = 0, b < 0 \\ \text{undefined} & \text{if } a = 0, b = 0 \end{cases}
In computer science and numerical libraries (Python, MATLAB, C++), this four-quadrant angle is directly calculated using the function atan2(b, a).
Exact Formula
Input Parameters
Required
1
Real Part a = Re(z): Cartesian coordinate along the horizontal real axis
2
Imaginary Part b = Im(z): Cartesian coordinate along the vertical imaginary axis
Expected Outputs
Calculated
Principal Argument Arg(z): Angle θ in radians (−π, π] and degrees (−180°, 180°]
Modulus |z| = r: Euclidean distance from origin, r = √(a² + b²)
Polar Form: r(cos θ + i sin θ) = r ∠ θ
Euler's Exponential Form: r · e^(iθ)
Worked Numerical Example
Instant Verification
Find the principal argument and modulus of z = −1 + √3i
→ a = −1 < 0, b = √3 > 0 (Quadrant II). Reference angle α = arctan(√3/1) = π/3 (60°). Arg(z) = π − π/3 = 2π/3 radians (120°). Modulus r = √((−1)² + (√3)²) = √4 = 2.
Arg(z) = 2π/3 rad (120°), |z| = 2, Exponential: 2e^(i · 2π/3)

What Is the Argument of a Complex Number?

In mathematics, any non-zero complex number can be expressed in two complementary ways: Cartesian rectangular coordinates z = a + bi, or polar coordinates defined by a distance and an orientation angle. The orientation angle between the positive real axis (the horizontal axis) and the vector connecting the origin to the point (a, b) on the complex Argand plane is defined as the argument of z, symbolized as arg(z) or θ.

While the Cartesian form highlights arithmetic operations such as addition and subtraction, the argument and modulus characterize rotational and wave dynamics. In alternating current (AC) electrical circuits, quantum wavefunctions, and Fourier analysis, the argument represents the fundamental phase of an oscillation.

Modulus r = |z|

The Euclidean length or magnitude of the vector: r = √(a² + b²). It is always a non-negative real number, representing geometric distance.

Argument θ = arg(z)

The counterclockwise angle made with the positive real axis. Measured in radians (rad) or degrees (°), defining spatial direction and rotational orientation.

Principal Value Arg(z) vs. General Argument arg(z)

Because rotating a vector by a full circle (2π radians or 360°) returns it to its original position, any complex number has infinitely many valid arguments. For example, the number z = 1 + i has valid direction angles of π/4, 9π/4, 17π/4, and −7π/4.

To eliminate ambiguity in calculus, complex functions, and computational systems, mathematicians define a unique single-valued branch known as the Principal Argument, capitalized as Arg(z).

Classification Mathematical Definition Range of Values
Principal Argument Arg(z) Canonical single-valued angle θ ∈ (−π, π] rad • (−180°, 180°]
General Argument arg(z) Arg(z) + 2kπ, for integer k −∞ < θ < ∞ (multi-valued)
Positive Interval Convention Alternative engineering branch θ ∈ [0, 2π) rad • [0°, 360°)

Quadrant Formulas & Sign Criteria

The single most common mistake in complex analysis is assuming that θ = arctan(b/a) works for all numbers. Because the real quotient b/a cannot distinguish between (+b)/(+a) (Quadrant I) and (-b)/(-a) (Quadrant III), the raw arctangent function is strictly insufficient.

To calculate Arg(z) accurately by hand, determine the acute reference angle α = arctan(|b| / |a|), then apply the quadrant adjustment rules:

Quadrant I (a > 0, b > 0) 0 < θ < π/2

Both components are positive. The vector points into the upper right. No adjustment is needed:

θ = arctan(b / a) = α
Quadrant II (a < 0, b > 0) π/2 < θ < π

Negative real and positive imaginary. The angle is obtuse counterclockwise:

θ = arctan(b / a) + π = π − α
Quadrant III (a < 0, b < 0) −π < θ < −π/2

Both components are negative. In the principal branch (−π, π], the angle is negative clockwise:

θ = arctan(b / a) − π = −(π − α)
Quadrant IV (a > 0, b < 0) −π/2 < θ < 0

Positive real and negative imaginary. Points into the lower right complex plane:

θ = arctan(b / a) = −α

Quadrant-by-Quadrant Comparison Table

Use this reference matrix to verify sign conditions, principal angle bounds, reference angle mappings, and sample test points across all sectors of the Argand plane:

Sector Signs (a, b) Principal Formula Range [rad] Example z Arg(z)
Quadrant I a > 0, b > 0 arctan(b/a) (0, π/2) 1 + √3i π/3 (60°)
Quadrant II a < 0, b > 0 arctan(b/a) + π (π/2, π) −√3 + i 5π/6 (150°)
Quadrant III a < 0, b < 0 arctan(b/a) − π (−π, −π/2) −1 − i −3π/4 (−135°)
Quadrant IV a > 0, b < 0 arctan(b/a) (−π/2, 0) 2 − 2i −π/4 (−45°)
+Re Axis a > 0, b = 0 0 [0] 7 + 0i 0 (0°)
−Re Axis a < 0, b = 0 π [π] −4 + 0i π (180°)
+Im Axis a = 0, b > 0 +π/2 [+π/2] 0 + 5i +π/2 (+90°)
−Im Axis a = 0, b < 0 −π/2 [−π/2] 0 − 3i −π/2 (−90°)
Origin a = 0, b = 0 Undefined ∅ 0 + 0i Undefined

Step-by-Step Worked Examples

Review these three standard textbook derivations covering multiple quadrants, boundary cases, and modulus-argument polar transformations:

Example 1: Quadrant II Point z = −3 + 3i
  1. Identify components: Real part a = -3, Imaginary part b = 3.
  2. Locate quadrant: Since a < 0 and b > 0, z lies in Quadrant II.
  3. Compute reference angle: α = arctan(|3| / |-3|) = arctan(1) = π/4 (45°).
  4. Apply Q2 formula: Arg(z) = π − α = π − π/4 = 3π/4 radians (135°).
  5. Calculate modulus: r = √((-3)² + 3²) = √18 = 3√2 ≈ 4.2426.
  6. Express in polar form: z = 3√2 (cos(3π/4) + i sin(3π/4)) = 3√2 ei(3π/4).
Example 2: Quadrant III Point z = −1 − √3i
  1. Identify components: Real part a = -1, Imaginary part b = -√3.
  2. Locate quadrant: Since both a < 0 and b < 0, z lies in Quadrant III.
  3. Compute reference angle: α = arctan(|-√3| / |-1|) = arctan(√3) = π/3 (60°).
  4. Apply Q3 formula: Arg(z) = -(π − α) = -(π − π/3) = -2π/3 radians (−120°).
  5. Calculate modulus: r = √((-1)² + (-√3)²) = √(1 + 3) = 2.
  6. Result: z = 2 e−i(2π/3) (or 2 ∠ 240° in positive interval).
Example 3: Boundary Axis Point z = 0 − 5i
  1. Identify components: Real part a = 0, Imaginary part b = -5.
  2. Locate position: Because the real component is zero and imaginary is negative, the point sits on the Negative Imaginary Axis.
  3. Determine angle directly: Points straight downward from origin at Arg(z) = -π/2 radians (−90°).
  4. Modulus: r = |b| = 5. Polar form: 5 ∠ −90° = 5 e−iπ/2.

Modulus-Argument (Polar) & Euler Form

The argument θ and modulus r form the backbone of polar representation. By applying Euler's formula eiθ = cos θ + i sin θ, every non-zero complex number can be written seamlessly in three equivalent representations:

1. Cartesian Form z = a + bi

Optimal for linear operations like vector addition and component subtraction.

2. Polar (Trig) Form r(cos θ + i sin θ)

Displays trigonometry explicitly, also written as r cis θ or r ∠ θ.

3. Euler Exponential z = r • eiθ

The most compact notation. Makes multiplication, exponentiation, and calculus trivial.

Algebraic Properties of Arguments

Because complex multiplication corresponds to multiplying magnitudes and adding rotation angles, the argument behaves identically to a logarithmic function:

Product of Complex Numbers: arg(z₁ • z₂) = arg(z₁) + arg(z₂) (mod 2π)

Multiplying two numbers adds their angle directions.

Quotient of Complex Numbers: arg(z₁ / z₂) = arg(z₁) − arg(z₂) (mod 2π)

Dividing two numbers subtracts the divisor's angle direction.

Powers (De Moivre's Theorem): arg(zⁿ) = n • arg(z) (mod 2π)

Raising to the nth power scales the angle by n.

Complex Conjugation: Arg(&zmacr;) = −Arg(z)

Reflecting across the real axis flips the direction sign.

Common Pitfalls & Mathematical Traps

Trap 1: Blindly Relying on arctan(b/a) Without Quadrant Adjustment

Evaluating z = -2 - 2i gives arctan(-2 / -2) = arctan(1) = 45°. But -2 - 2i is in Quadrant III, where both coordinates are negative! The true principal argument is 45° - 180° = -135° (−3π/4). In code, always use atan2(b, a).

Trap 2: The Negative Real Axis Branch Cut Boundary

For points along the negative real axis (e.g. z = -5), the principal argument convention uses the half-open interval (−π, π]. This means Arg(-5) = +π (+180°), not −π. The value −π is excluded from the principal domain.

Trap 3: Attempting to Take the Argument of Origin (0, 0)

The argument of zero is undefined. At the origin, r = 0, meaning the vector has zero length and no defined directional orientation. Any equation stating arg(0) = 0 is mathematically invalid.

Applications in AC Circuits & Signal Processing

The concept of complex argument is not merely an abstract algebraic tool—it is essential across modern electrical engineering, telecommunications, and quantum physics:

AC Electrical Circuits

Electrical impedance is modeled as Z = R + jX. The phase argument θ = arg(Z) describes the time delay between voltage and current waveforms, directly determining the power factor cos θ.

Digital Signal Processing

The Discrete Fourier Transform (DFT) decomposes audio and telecommunications signals into complex frequency components. The argument of each frequency bin indicates the phase delay of each individual harmonic frequency.

Quantum Mechanics

Quantum states are represented by complex probability amplitudes ψ(x) = |ψ| eiθ. While probability density depends on |ψ|², quantum interference and phase shifts depend entirely on the argument θ.

Fact-Checked & Verified • Computational Accuracy Standards
Updated September 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

What is the argument of a complex number?
The argument of a complex number z = a + bi, denoted arg(z), is the directed angle between the positive real axis and the line segment connecting the origin to z in the complex Argand plane. It specifies the geometric direction or phase of the complex number.
What is the difference between Arg(z) and arg(z)?
Arg(z) with a capital "A" refers specifically to the principal value of the argument, restricted to the standard interval (−π, π] radians (or −180° to +180°]. In contrast, arg(z) with a lowercase "a" is a multi-valued function differing by integer multiples of 2π: arg(z) = Arg(z) + 2kπ for any integer k.
Why does arctan(b/a) fail to find the correct argument in Quadrants II and III?
The standard single-variable inverse tangent function arctan(x) only produces outputs in the open interval (−π/2, π/2), which covers only Quadrants I and IV. When a < 0 (Quadrants II and III), the quotient b/a produces the same ratio as points in the opposite quadrant. To get the true geometric direction, you must add +π in Quadrant II and subtract −π in Quadrant III, exactly as modern computer functions like atan2(b, a) do.
What is the argument of zero, z = 0 + 0i?
The argument of zero is mathematically undefined. In the complex plane, 0 is situated precisely at the origin (modulus r = 0) and has no direction vector. While any angle θ satisfies 0 · e^(iθ) = 0, no unique argument can be assigned.
How do you calculate the argument of the product of two complex numbers?
When multiplying two complex numbers, their arguments add: arg(z₁ · z₂) = arg(z₁) + arg(z₂). For principal values, Arg(z₁ · z₂) = Arg(z₁) + Arg(z₂) modulo 2π, adjusted to lie within (−π, π].
What is the relationship between the argument of a complex number and its conjugate?
The complex conjugate z̄ = a − bi is the reflection of z = a + bi across the real axis. Consequently, its argument is the exact negative of the original argument: Arg(z̄) = −Arg(z) (for z not on the negative real axis, where both have argument π).