IMABS Function
Returns the absolute value (modulus) of a complex number.
Category
Engineering
Available in
All versions, Microsoft 365
Returns
A number (0 or more)
Overview
IMABS returns the size of a complex number — its distance from zero, √(real² + imaginary²). For 3+4i that's 5.
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 | Modulus |
| 2 | 3+4i | 5 |
| 3 | 5-12i | 13 |
| 4 | -8i | 8 |
| 5 | 1+i | 1.414214 |
Example 2 — Current through an AC circuit
A 230 V supply across an impedance of 40+30j Ω. Current = voltage ÷ the size of the impedance.
IMABS gives 50 Ω, so the current is 4.6 A.
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.
Notes
- Related functions: IMARGUMENT, IMREAL, IMAGINARY, ABS.

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.