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

Want to practice IMARGUMENT in a real spreadsheet? Open a blank sheet in our Practice Sandbox and try it with live data, with the AI Excel tutor beside you. No Excel needed — just a free account.Try it free in the Sandbox

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

=IMARGUMENT(inumber) Explain

Arguments

ArgumentRequired?What it does
inumberYesA 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.

B2fx=IMARGUMENT(A2)
AB
1ComplexAngle (radians)
23+4i0.9273
31+i0.7854
4-13.1416
5-2i-1.5708
=IMARGUMENT(A2) Explain

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).

B2fx=DEGREES(IMARGUMENT(A2))
ABC
1ImpedancePhase (°)Power factor
240+30j36.86990.8
=DEGREES(IMARGUMENT(A2)) Explain

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

Kyle Stott

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.