
Return the real part of a complex number in Excel. Useful when you need only the non-imaginary side of a complex value.
IMREAL returns the real part of a complex number. If a cell contains a value like 3+4i, IMREAL gives you just the real side, which is 3.
This is useful when a worksheet stores values as full complex numbers, but a later step only needs the real component. Instead of parsing the text yourself, you can let Excel pull that part out directly.
Returns only the real side of a complex value.
Returns a numeric real value you can use in formulas right away.
=IMREAL(inumber)
inumber is the complex value you want to read.
The input can be a complex number typed directly, a cell reference, or a result created by COMPLEX(). IMREAL reads that value and returns only the real coefficient as a normal number.
inumber should be a valid Excel complex number such as 6-9i or 6-9j. A purely imaginary input is also valid, and in that case the result is 0 because there is no real part. Using a cell or COMPLEX() result is usually easier than typing the text by hand every time.
IMREAL is for reading one part of a complex value, not building or combining one:
| Function | What it does | Typical use | Result |
|---|---|---|---|
IMREAL |
Returns the real part | Read the non-imaginary side | Number |
IMAGINARY |
Returns the imaginary part | Read the imaginary side | Number |
COMPLEX |
Builds a complex value | Create a valid complex number | Complex text |
IMSUM |
Adds complex values | Calculate with complex numbers | Complex text |
The main use is simple. If a cell holds a complex value but your next formula only needs the real side, IMREAL saves you from splitting or cleaning the text manually. That makes the worksheet easier to read and much safer to maintain.
IMREAL keeps the sign of the real part, so a value like -10+5i returns -10. If the number has no real part at all, such as 5i, the result is 0.
Excel supports complex values written with either i or j, but the suffix should stay lowercase. That keeps the input valid for the complex-number functions.
This is the direct use case for IMREAL. The complex input contains both a real and an imaginary component, but the formula returns only the real coefficient. That is helpful when a later calculation needs the physical or numeric magnitude on the real axis without manually parsing the complex text.
=IMREAL("3+4i") // Returns 3
Extract the real part of "3+4i". Formula: =IMREAL("3+4i").
This example shows that IMREAL is not tied to i-notation. The input uses j, which is common in engineering notation, and Excel still returns the real coefficient correctly. That makes the function practical in sheets that model impedance or other electrical quantities.
=IMREAL("50+30j") // Returns 50
Extract Resistance (R) from impedance "50+30j". Formula: =IMREAL("50+30j").
The sign of the real part remains part of the result. Here the formula returns -10, not 10, because IMREAL extracts the real coefficient exactly as it appears in the complex value. That detail matters when the sign carries meaning, such as direction, polarity, or signed model output.
=IMREAL("-10+5i") // Returns -10
Extract real part of "-10+5i". Formula: =IMREAL("-10+5i").
A value like 5i has no real component, so IMREAL returns 0. This is a useful reminder that the function does not estimate or infer a real part. It simply reports what is present on the real axis of the complex number.
=IMREAL("5i") // Returns 0
Extract real part of a purely imaginary "5i". Formula: =IMREAL("5i").
Tell your friends about this post