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)

Want to practice IMABS 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

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

=IMABS(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=IMABS(A2)
AB
1ComplexModulus
23+4i5
35-12i13
4-8i8
51+i1.414214
=IMABS(A2) Explain

Example 2 — Current through an AC circuit

A 230 V supply across an impedance of 40+30j Ω. Current = voltage ÷ the size of the impedance.

=230/IMABS("40+30j") Explain

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

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.