Engineering function

IMREAL function

Returns the real coefficient of a complex number, for example 6 from "6-9i". The result is an ordinary number.

Available in Excel 2007 and later (Excel 2003 needed the Analysis ToolPak add-in), Microsoft 365, Excel for the web, Excel for Mac

Excel 2007 and laterWorks in Google Sheets

Syntax

IMREAL(inumber)
ArgumentWhat it means
inumberRequiredA complex number as text such as "3+4i" or "5-2j", a cell containing one, or a plain number. Build it with COMPLEX to avoid typing errors.

Returns: A number: the real part x of x+yi.

How IMREAL works

IMREAL pulls the real part out of a complex number stored as text, so 6-9i gives 6. Combined with IMAGINARY, it converts IM-function output back into ordinary numbers you can round, chart and compare.

In AC circuits the real part of an impedance is its resistance and the real part of complex power is the real (active) power in watts, so IMREAL is often the last step of an engineering calculation.

Examples

1Real part of 6-9i

B2fx=IMREAL(A2)
AB
1Complex
26-9i6

Result: 6

The real coefficient is 6.

2Active power from complex power

C2fx=IMREAL(IMPRODUCT(A2, IMCONJUGATE(B2)))
ABC
1VoltageCurrent
22304-3i920

Result: 920

Complex power is S = V × conjugate(I) = 230 × (4+3i) = 920+690i. Its real part, 920 W, is the power actually consumed; 690 is reactive power.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 13 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!The text is not a valid complex number — for example it contains spaces (3 + 4i), a capital I, or a misplaced sign.Create the value with COMPLEX or remove spaces with SUBSTITUTE.

Tips

  • IMREAL of a pure imaginary number such as "5i" is 0.

Google Sheets

IMREAL also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

IMREAL in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DanishIMAGREELT
DutchC.REEEL.DEEL
FinnishKOMPLEKSI.REAALI
FrenchCOMPLEXE.REEL
GermanIMREALTEIL
HungarianKÉPZ.VALÓS
ItalianCOMP.PARTE.REALE
Norwegian (Bokmål)IMREELL
PolishCZ.RZECZ.LICZBY.ZESP
RussianМНИМ.ВЕЩ
SpanishIM.REAL
TurkishSANGERÇEK