IMAGINARY Function in Excel: Imaginary Part

IMAGINARY Function in Excel: Imaginary Part 1
⏱ 1 min readUpdated 5 October 2026

Complex numbersLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. IMAGINARY in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions

IMAGINARY returns the imaginary coefficient b of a+bi. Complex numbers are text like 3+4i; build them with COMPLEX.

Advertisement

Syntax

=IMAGINARY(inumber)
Argument What it means
inumber Complex number as text, e.g. “3+4i”

Examples

Example 1

=IMAGINARY(A2)

Result: 4. See the worked example table below for more cases.

IMAGINARY in practice

Where you will use it

  • AC circuit calculations (impedance, phase)
  • Signal processing
  • Engineering coursework

Worked example

zFormulaResult
3+4i=IMAGINARY(A2)4
1-i=IMAGINARY(A3)-1
2i=IMAGINARY(A4)2

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Spaces inside the text"3 + 4i" gives #NUM!; write 3+4i
Result is textUse IMREAL/IMAGINARY to get numbers back

COMPLEX · IMABS · IMREAL

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

Advertisement
✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong