IMARGUMENT Function
Returns the angle (argument) of a complex number, in radians.
Category
Engineering
Available in
All versions, Microsoft 365
Returns
An angle in radians
Overview
IMARGUMENT returns the angle θ between the positive real axis and the line to the complex number, from −π to π. Together with IMABS, it gives the polar form.
Excel stores complex numbers as text such as "3+4i" (or "3+4j"). Use COMPLEX to build one from two numbers, and IMREAL / IMAGINARY to read the parts back as numbers.
Syntax
Arguments
| Argument | Required? | What it does |
|---|---|---|
| inumber | Yes | A complex number as text, like "3+4i" — or a plain number. |
Examples
Example 1 — Worked examples
Each row applies the function to the value in column A.
| A | B | |
|---|---|---|
| 1 | Complex | Angle (radians) |
| 2 | 3+4i | 0.9273 |
| 3 | 1+i | 0.7854 |
| 4 | -1 | 3.1416 |
| 5 | -2i | -1.5708 |
Example 2 — Phase angle and power factor
For an impedance of 40+30j Ω, show the angle in degrees and the power factor (cosine of the angle).
| A | B | C | |
|---|---|---|---|
| 1 | Impedance | Phase (°) | Power factor |
| 2 | 40+30j | 36.8699 | 0.8 |
Common mistakes
- #NUM! The text isn't a valid complex number — for example a space ("3 + 4i"), a capital I, or a letter other than i or j.
- #DIV/0! The input is 0, which has no angle.
Notes

Author
Kyle Stott
Certified Microsoft Excel Expert
Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.